libvpxdec.c File Reference

VP8 decoder support via libvpx. More...

#include <vpx/vpx_decoder.h>
#include <vpx/vp8dx.h>
#include "libavutil/imgutils.h"
#include "avcodec.h"

Go to the source code of this file.

Data Structures

struct  VP8DecoderContext

Macros

#define VPX_CODEC_DISABLE_COMPAT   1

Typedefs

typedef struct VP8DecoderContext VP8Context

Functions

static av_cold int vp8_init (AVCodecContext *avctx)
static int vp8_decode (AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt)
static av_cold int vp8_free (AVCodecContext *avctx)

Variables

AVCodec ff_libvpx_decoder

Detailed Description

VP8 decoder support via libvpx.

Definition in file libvpxdec.c.

Macro Definition Documentation

#define VPX_CODEC_DISABLE_COMPAT   1

Definition at line 26 of file libvpxdec.c.

Typedef Documentation

typedef struct VP8DecoderContext VP8Context

Function Documentation

static int vp8_decode ( AVCodecContext avctx,
void data,
int *  data_size,
AVPacket avpkt 
)
static

Definition at line 60 of file libvpxdec.c.

static av_cold int vp8_free ( AVCodecContext avctx)
static

Definition at line 107 of file libvpxdec.c.

static av_cold int vp8_init ( AVCodecContext avctx)
static

Definition at line 37 of file libvpxdec.c.

Variable Documentation

AVCodec ff_libvpx_decoder
Initial value:
{
.name = "libvpx",
.id = CODEC_ID_VP8,
.priv_data_size = sizeof(VP8Context),
.capabilities = CODEC_CAP_AUTO_THREADS,
.long_name = NULL_IF_CONFIG_SMALL("libvpx VP8"),
}

Definition at line 114 of file libvpxdec.c.