intrax8.h File Reference
#include "get_bits.h"
#include "mpegvideo.h"
#include "intrax8dsp.h"
Include dependency graph for intrax8.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  IntraX8Context
 

Typedefs

typedef struct IntraX8Context IntraX8Context
 

Functions

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

Typedef Documentation

Function Documentation

void ff_intrax8_common_end ( IntraX8Context w)

Destroy IntraX8 frame structure.

Parameters
wpointer to IntraX8Context

Definition at line 709 of file intrax8.c.

Referenced by ff_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
wpointer to IntraX8Context
spointer to MpegEncContext of the parent codec

Definition at line 691 of file intrax8.c.

Referenced by ff_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
wpointer to IntraX8Context
dquantdoubled quantizer, it would be odd in case of VC-1 halfpq==1.
quant_offsetoffset away from zero

Definition at line 726 of file intrax8.c.

Referenced by ff_vc1_decode_blocks(), and ff_wmv2_decode_secondary_picture_header().