libavcodec/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

Defines

#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.


Define 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.

Referenced by vp8_init().

static av_cold int vp8_init ( AVCodecContext avctx  )  [static]

Definition at line 37 of file libvpxdec.c.


Variable Documentation

Initial value:

 {
    .name           = "libvpx",
    .type           = AVMEDIA_TYPE_VIDEO,
    .id             = CODEC_ID_VP8,
    .priv_data_size = sizeof(VP8Context),
    .init           = vp8_init,
    .close          = vp8_free,
    .decode         = vp8_decode,
    .capabilities   = CODEC_CAP_AUTO_THREADS,
    .long_name      = NULL_IF_CONFIG_SMALL("libvpx VP8"),
}

Definition at line 114 of file libvpxdec.c.


Generated on Fri Oct 26 02:47:57 2012 for FFmpeg by  doxygen 1.5.8