39 pkt->
dts= pkt->
pos / packet_size;
47 #define OFFSET(x) offsetof(FFRawVideoDemuxerContext, x)
48 #define DEC AV_OPT_FLAG_DECODING_PARAM
70 .extensions =
"yuv,cif,qcif,rgb",
72 .priv_class = &rawvideo_demuxer_class,
enum PixelFormat pix_fmt
Pixel format, see PIX_FMT_xxx.
int64_t pos
byte position in stream, -1 if unknown
struct FFRawVideoDemuxerContext FFRawVideoDemuxerContext
static const AVOption rawvideo_options[]
static const AVClass rawvideo_demuxer_class
static int rawvideo_read_packet(AVFormatContext *s, AVPacket *pkt)
const char * class_name
The name of the class; usually it is the same name as the context structure type to which the AVClass...
static int read_header(FFV1Context *f)
int avpicture_get_size(enum PixelFormat pix_fmt, int width, int height)
Calculate the size in bytes that a picture of the given width and height would occupy if stored in th...
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
AVCodecContext * codec
codec context
int width
picture width / height.
AVInputFormat ff_rawvideo_demuxer
static int read_packet(AVFormatContext *ctx, AVPacket *pkt)
Describe the class of an AVClass context structure.
static int64_t video_size
int64_t dts
Decompression timestamp in AVStream->time_base units; the time at which the packet is decompressed...
int64_t pts
Presentation timestamp in AVStream->time_base units; the time at which the decompressed packet will b...