FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
vp8.h File Reference
#include "libavutil/buffer.h"
#include "h264pred.h"
#include "thread.h"
#include "vp56.h"
#include "vp8dsp.h"

Go to the source code of this file.

Data Structures

struct  VP8FilterStrength
 
struct  VP8Macroblock
 
struct  VP8ThreadData
 
struct  VP8Frame
 
struct  VP8Context
 

Macros

#define VP8_MAX_QUANT   127
 
#define MODE_I4x4   4
 
#define EDGE_EMU_LINESIZE   32
 
#define MAX_THREADS   8
 

Enumerations

enum  dct_token {
  DCT_0, DCT_1, DCT_2, DCT_3,
  DCT_4, DCT_CAT1, DCT_CAT2, DCT_CAT3,
  DCT_CAT4, DCT_CAT5, DCT_CAT6, DCT_EOB,
  NUM_DCT_TOKENS
}
 
enum  inter_mvmode { VP8_MVMODE_ZERO = MODE_I4x4 + 1, VP8_MVMODE_MV, VP8_MVMODE_SPLIT }
 
enum  inter_splitmvmode {
  VP8_SPLITMVMODE_16x8 = 0, VP8_SPLITMVMODE_8x16, VP8_SPLITMVMODE_8x8, VP8_SPLITMVMODE_4x4,
  VP8_SPLITMVMODE_NONE
}
 

Functions

int ff_vp8_decode_init (AVCodecContext *avctx)
 
int ff_vp8_decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
 
int ff_vp8_decode_free (AVCodecContext *avctx)
 

Macro Definition Documentation

#define VP8_MAX_QUANT   127

Definition at line 44 of file vp8.h.

#define MODE_I4x4   4
#define EDGE_EMU_LINESIZE   32

Definition at line 127 of file vp8.h.

Referenced by vp8_mc_chroma(), and vp8_mc_luma().

#define MAX_THREADS   8

Definition at line 137 of file vp8.h.

Enumeration Type Documentation

enum dct_token
Enumerator:
DCT_0 
DCT_1 
DCT_2 
DCT_3 
DCT_4 
DCT_CAT1 
DCT_CAT2 
DCT_CAT3 
DCT_CAT4 
DCT_CAT5 
DCT_CAT6 
DCT_EOB 
NUM_DCT_TOKENS 

Definition at line 46 of file vp8.h.

Enumerator:
VP8_MVMODE_ZERO 
VP8_MVMODE_MV 
VP8_MVMODE_SPLIT 

Definition at line 66 of file vp8.h.

Enumerator:
VP8_SPLITMVMODE_16x8 

2 16x8 blocks (vertical)

VP8_SPLITMVMODE_8x16 

2 8x16 blocks (horizontal)

VP8_SPLITMVMODE_8x8 

2x2 blocks of 8x8px each

VP8_SPLITMVMODE_4x4 

4x4 blocks of 4x4px each

VP8_SPLITMVMODE_NONE 

(only used in prediction) no split MVs

Definition at line 72 of file vp8.h.

Function Documentation

int ff_vp8_decode_init ( AVCodecContext avctx)

Definition at line 2746 of file vp8.c.

Referenced by vp8_lossy_decode_frame().

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

Definition at line 2665 of file vp8.c.

Referenced by vp8_lossy_decode_frame().

int ff_vp8_decode_free ( AVCodecContext avctx)

Definition at line 2679 of file vp8.c.

Referenced by vp78_decode_init(), and webp_decode_close().