libavcodec/libvpxdec.c File Reference

VP8 decoder support via libvpx. More...

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

Go to the source code of this file.

Data Structures

struct  VP8DecoderContext




typedef struct VP8DecoderContext VP8Context


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)


AVCodec ff_libvpx_decoder

Detailed Description

VP8 decoder support via libvpx.

Definition in file libvpxdec.c.

Define Documentation


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 61 of file libvpxdec.c.

static av_cold int vp8_free ( AVCodecContext avctx  )  [static]

Definition at line 108 of file libvpxdec.c.

Referenced by vp8_init().

static av_cold int vp8_init ( AVCodecContext avctx  )  [static]

Definition at line 38 of file libvpxdec.c.

Variable Documentation

Initial value:

    .name           = "libvpx",
    .type           = AVMEDIA_TYPE_VIDEO,
    .id             = AV_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 115 of file libvpxdec.c.

Generated on Fri Oct 26 02:50:06 2012 for FFmpeg by  doxygen 1.5.8