All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
libvpxdec.c File Reference

VP8/9 decoder support via libvpx. More...

#include <vpx/vpx_decoder.h>
#include <vpx/vp8dx.h>
#include "libavutil/common.h"
#include "libavutil/imgutils.h"
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#include "internal.h"
#include "libvpx.h"
#include "profiles.h"

Go to the source code of this file.

Data Structures

struct  VPxContext




static av_cold int vpx_init (AVCodecContext *avctx, const struct vpx_codec_iface *iface, int is_alpha_decoder)
static int set_pix_fmt (AVCodecContext *avctx, struct vpx_image *img, int has_alpha_channel)
static int decode_frame (AVCodecContext *avctx, vpx_codec_ctx_t *decoder, uint8_t *data, uint32_t data_sz)
static int vpx_decode (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
static av_cold int vpx_free (AVCodecContext *avctx)

Detailed Description

VP8/9 decoder support via libvpx.

Definition in file libvpxdec.c.

Macro Definition Documentation


Definition at line 26 of file libvpxdec.c.

Function Documentation

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

Definition at line 44 of file libvpxdec.c.

Referenced by vpx_decode().

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

Definition at line 70 of file libvpxdec.c.

Referenced by vpx_decode(), and vpx_init().

static int decode_frame ( AVCodecContext avctx,
vpx_codec_ctx_t *  decoder,
uint8_t data,
uint32_t  data_sz 

Definition at line 179 of file libvpxdec.c.

Referenced by vpx_decode().

static int vpx_decode ( AVCodecContext avctx,
void data,
int got_frame,
AVPacket avpkt 

Definition at line 196 of file libvpxdec.c.

static av_cold int vpx_free ( AVCodecContext avctx)

Definition at line 292 of file libvpxdec.c.