All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
libdavs2.c File Reference
#include "avcodec.h"
#include "davs2.h"

Go to the source code of this file.

Data Structures

struct  DAVS2Context


static av_cold int davs2_init (AVCodecContext *avctx)
static int davs2_dump_frames (AVCodecContext *avctx, davs2_picture_t *pic, davs2_seq_info_t *headerset, int ret_type, AVFrame *frame)
static av_cold int davs2_end (AVCodecContext *avctx)
static int davs2_decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)


AVCodec ff_libdavs2_decoder

Function Documentation

static av_cold int davs2_init ( AVCodecContext avctx)

Definition at line 42 of file libdavs2.c.

static int davs2_dump_frames ( AVCodecContext avctx,
davs2_picture_t *  pic,
davs2_seq_info_t *  headerset,
int  ret_type,
AVFrame frame 

Definition at line 60 of file libdavs2.c.

Referenced by davs2_decode_frame().

static av_cold int davs2_end ( AVCodecContext avctx)

Definition at line 109 of file libdavs2.c.

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

Definition at line 122 of file libdavs2.c.

Variable Documentation

AVCodec ff_libdavs2_decoder
Initial value:
= {
.name = "libdavs2",
.long_name = NULL_IF_CONFIG_SMALL("libdavs2 AVS2-P2/IEEE1857.4"),
.priv_data_size = sizeof(DAVS2Context),
.close = davs2_end,
.capabilities = AV_CODEC_CAP_DELAY,
.wrapper_name = "libdavs2",
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:42
Encoder or decoder requires flushing with NULL input at the end in order to give the complete and cor...
Definition: avcodec.h:993
static av_cold int davs2_end(AVCodecContext *avctx)
Definition: libdavs2.c:109
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
static av_cold int davs2_init(AVCodecContext *avctx)
Definition: libdavs2.c:42
static enum AVPixelFormat pix_fmts[]
Definition: libkvazaar.c:266
planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
Definition: pixfmt.h:66
static int davs2_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: libdavs2.c:122
Pixel format.
Definition: pixfmt.h:64

Definition at line 158 of file libdavs2.c.