All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
intrax8.h File Reference
#include "blockdsp.h"
#include "get_bits.h"
#include "idctdsp.h"
#include "intrax8dsp.h"
#include "wmv2dsp.h"
#include "mpegpicture.h"

Go to the source code of this file.

Data Structures

struct  IntraX8Context


int ff_intrax8_common_init (AVCodecContext *avctx, IntraX8Context *w, IDCTDSPContext *idsp, int16_t(*block)[64], int block_last_index[12], int mb_width, int mb_height)
 Initialize IntraX8 frame decoder. More...
void ff_intrax8_common_end (IntraX8Context *w)
 Destroy IntraX8 frame structure. More...
int ff_intrax8_decode_picture (IntraX8Context *w, Picture *pict, GetBitContext *gb, int *mb_x, int *mb_y, int quant, int halfpq, int loopfilter, int lowdelay)
 Decode single IntraX8 frame. More...

Function Documentation

int ff_intrax8_common_init ( AVCodecContext avctx,
IntraX8Context w,
IDCTDSPContext idsp,
int16_t(*)  block[64],
int  block_last_index[12],
int  mb_width,
int  mb_height 

Initialize IntraX8 frame decoder.

avctxpointer to AVCodecContext
wpointer to IntraX8Context
idsppointer to IDCTDSPContext
blockpointer to block array
block_last_indexpointer to index array
mb_widthmacroblock width
mb_heightmacroblock height
0 on success, a negative AVERROR value on error

Definition at line 728 of file intrax8.c.

Referenced by ff_vc1_decode_init_alloc_tables(), and wmv2_decode_init().

void ff_intrax8_common_end ( IntraX8Context w)

Destroy IntraX8 frame structure.

wpointer to IntraX8Context

Definition at line 768 of file intrax8.c.

Referenced by ff_vc1_decode_end(), and wmv2_decode_end().

int ff_intrax8_decode_picture ( IntraX8Context w,
Picture pict,
GetBitContext gb,
int *  mb_x,
int *  mb_y,
int  quant,
int  halfpq,
int  loopfilter,
int  lowdelay 

Decode single IntraX8 frame.

lowres decoding is theoretically impossible.

wpointer to IntraX8Context
pictthe output Picture containing an AVFrame
gbopen bitstream reader
mb_xpointer to the x coordinate of the current macroblock
mb_ypointer to the y coordinate of the current macroblock
dquantdoubled quantizer, it would be odd in case of VC-1 halfpq==1.
quant_offsetoffset away from zero
loopfilterenable filter after decoding a block

Definition at line 773 of file intrax8.c.

Referenced by ff_vc1_decode_blocks(), and ff_wmv2_decode_secondary_picture_header().