Data Structures | Functions | Variables
frwu.c File Reference
#include "avcodec.h"
#include "bytestream.h"
#include "internal.h"
#include "libavutil/opt.h"

Go to the source code of this file.

Data Structures

struct  FRWUContext


static av_cold int decode_init (AVCodecContext *avctx)
static int decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)


static const AVOption frwu_options []
static const AVClass frwu_class
AVCodec ff_frwu_decoder

Function Documentation

static av_cold int decode_init ( AVCodecContext avctx)

Definition at line 33 of file frwu.c.

static int decode_frame ( AVCodecContext avctx,
void data,
int got_frame,
AVPacket avpkt 

Definition at line 44 of file frwu.c.

Variable Documentation

const AVOption frwu_options[]
Initial value:
= {
{"change_field_order", "Change field order", 0x42, AV_OPT_TYPE_BOOL,
#define NULL
Definition: coverity.c:32
Definition: opt.h:279
a generic parameter which can be set by the user for demuxing or decoding
Definition: opt.h:277

Definition at line 105 of file frwu.c.

const AVClass frwu_class
Initial value:
= {
.class_name = "frwu Decoder",
.item_name = av_default_item_name,
.option = frwu_options,
Definition: version.h:85
const char * av_default_item_name(void *ptr)
Return the context name.
Definition: log.c:235
static const AVOption frwu_options[]
Definition: frwu.c:105

Definition at line 111 of file frwu.c.

AVCodec ff_frwu_decoder
Initial value:
= {
.name = "frwu",
.long_name = NULL_IF_CONFIG_SMALL("Forward Uncompressed"),
.priv_data_size = sizeof(FRWUContext),
.capabilities = AV_CODEC_CAP_DR1,
.priv_class = &frwu_class,
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:35
static void decode(AVCodecContext *dec_ctx, AVPacket *pkt, AVFrame *frame, FILE *outfile)
Definition: decode_audio.c:71
static const AVClass frwu_class
Definition: frwu.c:111
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
static av_cold int decode_init(AVCodecContext *avctx)
Definition: frwu.c:33
static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: frwu.c:44
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition: codec.h:50

Definition at line 118 of file frwu.c.