vp5.c File Reference

VP5 compatible video decoder. More...

#include <stdlib.h>
#include <string.h>
#include "avcodec.h"
#include "get_bits.h"
#include "vp56.h"
#include "vp56data.h"
#include "vp5data.h"
Include dependency graph for vp5.c:

Go to the source code of this file.

Functions

static int vp5_parse_header (VP56Context *s, const uint8_t *buf, int buf_size)
 
static void vp5_parse_vector_adjustment (VP56Context *s, VP56mv *vect)
 
static void vp5_parse_vector_models (VP56Context *s)
 
static int vp5_parse_coeff_models (VP56Context *s)
 
static void vp5_parse_coeff (VP56Context *s)
 
static void vp5_default_models_init (VP56Context *s)
 
static av_cold int vp5_decode_init (AVCodecContext *avctx)
 

Variables

AVCodec ff_vp5_decoder
 

Detailed Description

VP5 compatible video decoder.

Definition in file vp5.c.

Function Documentation

static av_cold int vp5_decode_init ( AVCodecContext avctx)
static

Definition at line 263 of file vp5.c.

static void vp5_default_models_init ( VP56Context s)
static

Definition at line 248 of file vp5.c.

Referenced by vp5_decode_init().

static void vp5_parse_coeff ( VP56Context s)
static

Definition at line 171 of file vp5.c.

Referenced by vp5_decode_init().

static int vp5_parse_coeff_models ( VP56Context s)
static

Definition at line 124 of file vp5.c.

Referenced by vp5_decode_init().

static int vp5_parse_header ( VP56Context s,
const uint8_t buf,
int  buf_size 
)
static

Definition at line 37 of file vp5.c.

Referenced by vp5_decode_init().

static void vp5_parse_vector_adjustment ( VP56Context s,
VP56mv vect 
)
static

Definition at line 77 of file vp5.c.

Referenced by vp5_decode_init().

static void vp5_parse_vector_models ( VP56Context s)
static

Definition at line 101 of file vp5.c.

Referenced by vp5_decode_init().

Variable Documentation

AVCodec ff_vp5_decoder
Initial value:
= {
.name = "vp5",
.priv_data_size = sizeof(VP56Context),
.capabilities = CODEC_CAP_DR1,
.long_name = NULL_IF_CONFIG_SMALL("On2 VP5"),
}
av_cold int ff_vp56_free(AVCodecContext *avctx)
Definition: vp56.c:737
static av_cold int vp5_decode_init(AVCodecContext *avctx)
Definition: vp5.c:263
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:35
struct vp56_context VP56Context
Definition: vp56.h:39
#define CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
int ff_vp56_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: vp56.c:496
static void close(AVCodecParserContext *s)
Definition: h264_parser.c:375
static int decode(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: crystalhd.c:868

Definition at line 281 of file vp5.c.