74 unsigned dist = ((gp >> 14) & 0xff00) | (gp & 0xff);
106 struct ogg *
ogg =
s->priv_data;
108 uint64_t iframe = gp >> 30;
109 uint64_t pframe = gp & 0x3fffffff;
114 return iframe + pframe;
122 .granule_is_start = 1,
131 .granule_is_start = 1,
Interface to Dirac Decoder/Encoder.
#define AV_PKT_FLAG_KEY
The packet contains a keyframe.
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.
int av_dirac_parse_sequence_header(AVDiracSeqHeader **pdsh, const uint8_t *buf, size_t buf_size, void *log_ctx)
Parse a Dirac sequence header.
const struct ogg_codec ff_old_dirac_codec
const struct ogg_codec ff_dirac_codec
Memory handling functions.
enum AVColorSpace color_space
int height
The height of the video frame in pixels.
int width
The width of the video frame in pixels.
enum AVMediaType codec_type
General type of the encoded data.
int profile
Codec-specific bitstream restrictions that the stream conforms to.
enum AVCodecID codec_id
Specific type of the encoded data (the codec used).
enum AVColorPrimaries color_primaries
enum AVColorTransferCharacteristic color_trc
enum AVColorRange color_range
Additional colorspace characteristics.
AVCodecParameters * codecpar
Codec parameters associated with this stream.
AVRational sample_aspect_ratio
sample aspect ratio (0 if unknown)
Copyright (C) 2005 Michael Ahlberg, Måns Rullgård.
struct ogg_stream * streams