FFmpeg
|
#include "avcodec.h"
#include "internal.h"
#include "v210dec.h"
#include "libavutil/bswap.h"
#include "libavutil/internal.h"
#include "libavutil/mem.h"
Include dependency graph for v210dec.c:
Go to the source code of this file.
Macros | |
#define | READ_PIXELS(a, b, c) |
#define | V210DEC_FLAGS AV_OPT_FLAG_DECODING_PARAM | AV_OPT_FLAG_VIDEO_PARAM |
Functions | |
static void | v210_planar_unpack_c (const uint32_t *src, uint16_t *y, uint16_t *u, uint16_t *v, int width) |
static av_cold int | decode_init (AVCodecContext *avctx) |
static int | decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) |
Variables | |
static const AVOption | v210dec_options [] |
static const AVClass | v210dec_class |
AVCodec | ff_v210_decoder |
Macro Definition Documentation
Value:
do { \
} while (0)
Definition at line 31 of file v210dec.c.
Referenced by decode_frame(), and v210_planar_unpack_c().
#define V210DEC_FLAGS AV_OPT_FLAG_DECODING_PARAM | AV_OPT_FLAG_VIDEO_PARAM |
Function Documentation
|
static |
|
static |
|
static |
Definition at line 39 of file v210dec.c.
Referenced by decode_init().
Variable Documentation
AVCodec ff_v210_decoder |
Initial value:
= {
.name = "v210",
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_V210,
.priv_data_size = sizeof(V210DecContext),
.init = decode_init,
.decode = decode_frame,
.capabilities = CODEC_CAP_DR1,
.long_name = NULL_IF_CONFIG_SMALL("Uncompressed 4:2:2 10-bit"),
.priv_class = &v210dec_class,
}
static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: v210dec.c:71
Definition: v210dec.h:26
#define CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition: libavcodec/avcodec.h:743
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: libavutil/internal.h:123
Definition: libavcodec/avcodec.h:230
Definition: avutil.h:143
static int decode(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: crystalhd.c:868
|
static |
Initial value:
= {
"V210 Decoder",
}
|
static |
Initial value:
= {
{.i64 = 0}, INT_MIN, INT_MAX, V210DEC_FLAGS},
{NULL}
}
Definition: v210dec.h:26
Definition: opt.h:237
Generated on Fri Dec 20 2024 06:56:16 for FFmpeg by 1.8.11