FFmpeg
|
frwu.c File Reference
Include dependency graph for frwu.c:
Go to the source code of this file.
Data Structures | |
struct | FRWUContext |
Functions | |
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 | frwu_options [] |
static const AVClass | frwu_class |
AVCodec | ff_frwu_decoder |
Function Documentation
|
static |
|
static |
Variable Documentation
AVCodec ff_frwu_decoder |
Initial value:
= {
.name = "frwu",
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_FRWU,
.priv_data_size = sizeof(FRWUContext),
.init = decode_init,
.decode = decode_frame,
.capabilities = CODEC_CAP_DR1,
.long_name = NULL_IF_CONFIG_SMALL("Forward Uncompressed"),
.priv_class = &frwu_class,
}
#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: frwu.c:28
static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: frwu.c:44
Definition: libavcodec/avcodec.h:233
Definition: avutil.h:143
static int decode(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: crystalhd.c:868
|
static |
Initial value:
= {
.class_name = "frwu Decoder",
.item_name = av_default_item_name,
.option = frwu_options,
.version = LIBAVUTIL_VERSION_INT,
}
|
static |
Initial value:
= {
{"change_field_order", "Change field order", offsetof(FRWUContext, change_field_order), FF_OPT_TYPE_INT,
{.i64 = 0}, 0, 1, AV_OPT_FLAG_DECODING_PARAM | AV_OPT_FLAG_VIDEO_PARAM},
{NULL}
}
Definition: opt.h:237
Definition: frwu.c:28
#define AV_OPT_FLAG_DECODING_PARAM
a generic parameter which can be set by the user for demuxing or decoding
Definition: opt.h:282
Generated on Mon Nov 18 2024 06:52:06 for FFmpeg by 1.8.11