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

Go to the source code of this file.

Data Structures

struct  IntraX8Context


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_init ( IntraX8Context w,
MpegEncContext *const  s 

Initialize IntraX8 frame decoder.

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

wpointer to IntraX8Context
spointer to MpegEncContext of the parent codec

Definition at line 692 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 714 of file intrax8.c.

Referenced by ff_vc1_decode_end(), and wmv2_decode_end().

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 ff_mpv_frame_start(), ff_er_frame_start() before calling this function. The parent codec must call ff_er_frame_end(), ff_mpv_frame_end() after calling this function. This function does not use ff_mpv_decode_mb(). lowres decoding is theoretically impossible.

wpointer to IntraX8Context
dquantdoubled quantizer, it would be odd in case of VC-1 halfpq==1.
quant_offsetoffset away from zero

Definition at line 730 of file intrax8.c.

Referenced by ff_vc1_decode_blocks(), and ff_wmv2_decode_secondary_picture_header().