libavcodec/intrax8.h File Reference

#include "get_bits.h"
#include "mpegvideo.h"

Go to the source code of this file.

Data Structures

struct  IntraX8Context

Functions

void ff_intrax8_common_init (IntraX8Context *w, MpegEncContext *const s)
 Initialize IntraX8 frame decoder.
void ff_intrax8_common_end (IntraX8Context *w)
 Destroy IntraX8 frame structure.
int ff_intrax8_decode_picture (IntraX8Context *w, int quant, int halfpq)
 Decode single IntraX8 frame.


Function Documentation

void ff_intrax8_common_end ( IntraX8Context w  ) 

Destroy IntraX8 frame structure.

Parameters:
w pointer to IntraX8Context

Definition at line 708 of file intrax8.c.

Referenced by vc1_decode_end(), and wmv2_decode_end().

void ff_intrax8_common_init ( IntraX8Context w,
MpegEncContext *const   s 
)

Initialize IntraX8 frame decoder.

Requires valid MpegEncContext with valid s->mb_width before calling.

Parameters:
w pointer to IntraX8Context
s pointer to MpegEncContext of the parent codec

Definition at line 692 of file intrax8.c.

Referenced by vc1_decode_init_alloc_tables(), and wmv2_decode_init().

int ff_intrax8_decode_picture ( IntraX8Context *const   w,
int  dquant,
int  quant_offset 
)

Decode single IntraX8 frame.

The parent codec must fill s->loopfilter and s->gb (bitstream). The parent codec must call MPV_frame_start(), ff_er_frame_start() before calling this function. The parent codec must call ff_er_frame_end(), MPV_frame_end() after calling this function. This function does not use MPV_decode_mb(). lowres decoding is theoretically impossible.

Parameters:
w pointer to IntraX8Context
dquant doubled quantizer, it would be odd in case of VC-1 halfpq==1.
quant_offset offset away from zero

Definition at line 725 of file intrax8.c.

Referenced by ff_wmv2_decode_secondary_picture_header(), and vc1_decode_blocks().


Generated on Fri Oct 26 02:46:08 2012 for FFmpeg by  doxygen 1.5.8