frwu.c File Reference
#include "avcodec.h"
#include "bytestream.h"
#include "internal.h"
#include "libavutil/opt.h"
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 int decode_frame ( AVCodecContext avctx,
void data,
int *  got_frame,
AVPacket avpkt 
)
static

Definition at line 44 of file frwu.c.

static av_cold int decode_init ( AVCodecContext avctx)
static

Definition at line 33 of file frwu.c.

Variable Documentation

AVCodec ff_frwu_decoder
Initial value:
= {
.name = "frwu",
.priv_data_size = sizeof(FRWUContext),
.capabilities = CODEC_CAP_DR1,
.long_name = NULL_IF_CONFIG_SMALL("Forward Uncompressed"),
.priv_class = &frwu_class,
}
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:35
#define CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
static const AVClass frwu_class
Definition: frwu.c:111
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
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
static int decode(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: crystalhd.c:868

Definition at line 118 of file frwu.c.

const AVClass frwu_class
static
Initial value:
= {
.class_name = "frwu Decoder",
.item_name = av_default_item_name,
.option = frwu_options,
}
av_default_item_name
static const AVOption frwu_options[]
Definition: frwu.c:105
LIBAVUTIL_VERSION_INT
Definition: eval.c:55

Definition at line 111 of file frwu.c.

const AVOption frwu_options[]
static
Initial value:
= {
{"change_field_order", "Change field order", offsetof(FRWUContext, change_field_order), FF_OPT_TYPE_INT,
{NULL}
}
NULL
Definition: eval.c:55
#define AV_OPT_FLAG_VIDEO_PARAM
Definition: opt.h:285
#define AV_OPT_FLAG_DECODING_PARAM
a generic parameter which can be set by the user for demuxing or decoding
Definition: opt.h:282

Definition at line 105 of file frwu.c.