73     unsigned dist  = ((gp >> 14) & 0xff00) | (gp & 0xff);
 
   74     int64_t  dts   = (gp >> 31);
 
   75     int64_t  
pts   = dts + ((gp >> 9) & 0x1fff);
 
  107     uint64_t iframe = gp >> 30;
 
  108     uint64_t pframe = gp & 0x3fffffff;
 
  113     return iframe + pframe;
 
  121     .granule_is_start = 1,
 
  130     .granule_is_start = 1,
 
Copyright (C) 2005 Michael Ahlberg, Måns Rullgård. 
 
static uint64_t dirac_gptopts(AVFormatContext *s, int idx, uint64_t granule, int64_t *dts_out)
 
enum AVColorRange color_range
MPEG vs JPEG YUV range. 
 
static uint64_t old_dirac_gptopts(AVFormatContext *s, int idx, uint64_t gp, int64_t *dts)
 
AVRational sample_aspect_ratio
sample aspect ratio (0 if unknown) 
 
enum AVPixelFormat pix_fmt
Pixel format, see AV_PIX_FMT_xxx. 
 
int av_dirac_parse_sequence_header(AVDiracSeqHeader **pdsh, const uint8_t *buf, size_t buf_size, void *log_ctx)
Parse a Dirac sequence header. 
 
static int old_dirac_header(AVFormatContext *s, int idx)
 
Interface to Dirac Decoder/Encoder. 
 
uint64_t_TMPL AV_WL64 unsigned int_TMPL AV_WL32 unsigned int_TMPL AV_WL24 unsigned int_TMPL AV_WL16 uint64_t_TMPL AV_WB64 unsigned int_TMPL AV_RB32
 
AVStream ** streams
A list of all streams in the file. 
 
int av_image_check_sar(unsigned int w, unsigned int h, AVRational sar)
Check if the given sample aspect ratio of an image is valid. 
 
#define AV_PKT_FLAG_KEY
The packet contains a keyframe. 
 
AVCodecContext * codec
Codec context associated with this stream. 
 
int width
picture width / height. 
 
const struct ogg_codec ff_dirac_codec
 
struct ogg_stream * streams
 
enum AVColorPrimaries color_primaries
Chromaticity coordinates of the source primaries. 
 
enum AVMediaType codec_type
 
enum AVColorSpace colorspace
YUV colorspace type. 
 
enum AVColorTransferCharacteristic color_trc
Color Transfer Characteristic. 
 
static int64_t pts
Global timestamp for the audio frames. 
 
static int dirac_header(AVFormatContext *s, int idx)
 
void * priv_data
Format private data. 
 
const struct ogg_codec ff_old_dirac_codec