#include "config_components.h"
#include <stdbool.h>
#include "libavutil/imgutils.h"
#include "libavutil/parseutils.h"
#include "libavutil/pixdesc.h"
#include "libavutil/opt.h"
#include "demux.h"
#include "internal.h"
#include "avformat.h"
Go to the source code of this file.
◆ GET_PACKET_SIZE
| #define GET_PACKET_SIZE |
( |
| w, |
|
|
| h ) |
◆ OFFSET
◆ DEC
◆ BITPACKED_OPTION_OFFSET
| #define BITPACKED_OPTION_OFFSET 1 |
◆ V210_OPTION_OFFSET
| #define V210_OPTION_OFFSET 2 |
◆ rawvideo_read_header()
◆ rawvideo_read_packet()
◆ rawvideo_options
Initial value:= {
#define BITPACKED_OPTION_OFFSET
#define V210_OPTION_OFFSET
}
static enum AVPixelFormat pix_fmt
@ AV_OPT_TYPE_IMAGE_SIZE
Underlying C type is two consecutive integers.
@ AV_OPT_TYPE_PIXEL_FMT
Underlying C type is enum AVPixelFormat.
@ AV_OPT_TYPE_FLAG_ARRAY
May be combined with another regular option type to declare an array option.
@ AV_OPT_TYPE_VIDEO_RATE
Underlying C type is AVRational.
@ AV_OPT_TYPE_INT
Underlying C type is int.
@ AV_PIX_FMT_YUV420P
planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
Definition at line 211 of file rawvideodec.c.
◆ rawvideo_demuxer_class
| const AVClass rawvideo_demuxer_class |
|
static |
Initial value:= {
.class_name = "rawvideo demuxer",
}
const char * av_default_item_name(void *ptr)
Return the context name.
#define LIBAVUTIL_VERSION_INT
Definition at line 223 of file rawvideodec.c.
◆ ff_rawvideo_demuxer
Initial value:= {
.p.name = "rawvideo",
.p.extensions = "yuv,cif,qcif,rgb",
}
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
static int read_header(FFV1Context *f, RangeCoder *c)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
static int rawvideo_read_header(AVFormatContext *ctx)
static int rawvideo_read_packet(AVFormatContext *ctx, AVPacket *pkt)
static const AVClass rawvideo_demuxer_class
Definition at line 230 of file rawvideodec.c.
◆ bitpacked_demuxer_class
| const AVClass bitpacked_demuxer_class |
|
static |
Initial value:= {
.class_name = "bitpacked demuxer",
}
#define BITPACKED_OPTION_OFFSET
Definition at line 242 of file rawvideodec.c.
◆ v210_demuxer_class
Initial value:= {
.class_name = "v210(x) demuxer",
}
#define V210_OPTION_OFFSET
Definition at line 263 of file rawvideodec.c.