FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
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"
#include "internal.h"
#include "libvpx.h"

Go to the source code of this file.

Data Structures

struct  VP8Context
 

Macros

#define VPX_CODEC_DISABLE_COMPAT   1
 

Functions

static av_cold int vpx_init (AVCodecContext *avctx, const struct vpx_codec_iface *iface)
 
static int set_pix_fmt (AVCodecContext *avctx, struct vpx_image *img)
 
static int vp8_decode (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
 
static av_cold int vp8_free (AVCodecContext *avctx)
 

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.

Function Documentation

static av_cold int vpx_init ( AVCodecContext avctx,
const struct vpx_codec_iface *  iface 
)
static

Definition at line 40 of file libvpxdec.c.

static int set_pix_fmt ( AVCodecContext avctx,
struct vpx_image *  img 
)
static

Definition at line 63 of file libvpxdec.c.

Referenced by vp8_decode().

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

Definition at line 115 of file libvpxdec.c.

static av_cold int vp8_free ( AVCodecContext avctx)
static

Definition at line 164 of file libvpxdec.c.