GPAC
Open Source Multimedia Framework. For more information, check out http://gpac.wp.mines-telecom.fr
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
S_decoder Struct Reference

#include <decoder.h>

+ Collaboration diagram for S_decoder:

Data Structures

struct  REVERSE_EVENT
 

Public Types

typedef int t_clip_val
 

Public Member Functions

 S_decoder (xvid_dec_create_t *create)
 
 ~S_decoder ()
 
void init_vlc_tables ()
 
int Decode (xvid_dec_frame_t *frame, xvid_dec_stats_t *stats)
 

Data Fields

xvid_dec_frame_t xvid_dec_frame
 
dword size_x
 
void * dec_handle
 
int time_inc_resolution
 
int fixed_time_inc
 
dword time_inc_bits
 
dword shape
 
dword quant_bits
 
dword quant_type
 
dwordmpeg_quant_matrices
 
int quarterpel
 
int complexity_estimation_disable
 
ESTIMATION estimation
 
dword top_field_first
 
dword alternate_vertical_scan
 
int aspect_ratio
 
int par_width
 
int par_height
 
int sprite_enable
 
int sprite_warping_points
 
int sprite_warping_accuracy
 
int sprite_brightness_change
 
bool interlacing
 
bool newpred_enable
 
bool reduced_resolution_enable
 
int bs_version
 
dword width
 
dword height
 
dword edged_width
 
dword edged_height
 
IMAGE cur
 
IMAGE refn [2]
 
IMAGE tmp
 
IMAGE qtmp
 
dword mb_width
 
dword mb_height
 
MACROBLOCKmbs
 
MACROBLOCKlast_mbs
 
int last_coding_type
 
int frames
 
VECTOR p_fmv
 
VECTOR p_bmv
 
int time
 
int time_base
 
int last_time_base
 
int last_non_b_time
 
dword time_pp
 
dword time_bp
 
bool fixed_dimensions
 
bool scalability
 
bool low_delay
 
bool low_delay_default
 
bool last_reduced_resolution
 
bool packed_mode
 
IMAGE gmc
 
GMC_DATA gmc_data
 
NEW_GMC_DATA new_gmc_data
 
REVERSE_EVENT DCT3D [2][4096]
 
VLC coeff_VLC [2][2][64][64]
 
t_clip_val iclip [1024]
 

Private Member Functions

int Resize ()
 
void SetEdges (IMAGE &img) const
 
void I_Frame (Bitstream *bs, bool reduced_resolution, int quant, int intra_dc_threshold)
 
void P_Frame (Bitstream *bs, int rounding, bool reduced_resolution, int quant, int fcode, int intra_dc_threshold, const WARPPOINTS *const gmc_warp)
 
void MBIntra (MACROBLOCK *pMB, dword x_pos, dword y_pos, dword acpred_flag, dword cbp, Bitstream *bs, dword quant, dword intra_dc_threshold, dword bound, bool reduced_resolution)
 
void mb_decode (const dword cbp, Bitstream *bs, byte *pY_Cur, byte *pU_Cur, byte *pV_Cur, bool reduced_resolution, const MACROBLOCK *pMB)
 
void DecodeInterMacroBlock (const MACROBLOCK *pMB, dword x_pos, dword y_pos, dword cbp, Bitstream *bs, bool rounding, bool reduced_resolution, int ref)
 
void mbgmc (MACROBLOCK *pMB, dword x_pos, dword y_pos, dword fcode, dword cbp, Bitstream *bs, bool rounding)
 
void BFrameInterpolateMBInter (const IMAGE &forward, const IMAGE &backward, const MACROBLOCK *pMB, dword x_pos, dword y_pos, Bitstream *bs, int direct)
 
void B_Frame (Bitstream *bs, int quant, int fcode_forward, int fcode_backward)
 
void GetMotionVector (Bitstream *bs, int x, int y, int k, VECTOR *ret_mv, int fcode, int bound)
 
int read_video_packet_header (Bitstream *bs, const int addbits, int *quant, int *fcode_forward, int *fcode_backward, int *intra_dc_threshold)
 
void read_vol_complexity_estimation_header (Bitstream *bs)
 
int BitstreamReadHeaders (Bitstream *bs, bool &rounding, bool *reduced_resolution, dword *quant, dword *fcode_forward, dword *fcode_backward, dword *intra_dc_threshold, WARPPOINTS *gmc_warp)
 
void read_vop_complexity_estimation_header (Bitstream *bs, int coding_type)
 
int get_coeff (Bitstream *bs, int *run, int *last, int intra, int short_video_header)
 
void get_intra_block (Bitstream *bs, int *block, int direction, int coeff)
 
void get_inter_block (Bitstream *bs, int *block, int direction)
 
void idct_int32_init ()
 
void InverseDiscreteCosineTransform (int *block) const
 
int Init (xvid_dec_create_t *create)
 

Friends

int decoder_create (xvid_dec_create_t *create)
 

Data Structure Documentation

struct S_decoder::REVERSE_EVENT
+ Collaboration diagram for S_decoder::REVERSE_EVENT:
Data Fields
byte len
EVENT event

Member Typedef Documentation

typedef int S_decoder::t_clip_val

Constructor & Destructor Documentation

S_decoder::S_decoder ( xvid_dec_create_t create)

+ Here is the call graph for this function:

S_decoder::~S_decoder ( )

+ Here is the call graph for this function:

Member Function Documentation

int S_decoder::Resize ( )
private

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void S_decoder::SetEdges ( IMAGE img) const
private

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void S_decoder::I_Frame ( Bitstream bs,
bool  reduced_resolution,
int  quant,
int  intra_dc_threshold 
)
private

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void S_decoder::P_Frame ( Bitstream bs,
int  rounding,
bool  reduced_resolution,
int  quant,
int  fcode,
int  intra_dc_threshold,
const WARPPOINTS *const  gmc_warp 
)
private

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void S_decoder::MBIntra ( MACROBLOCK pMB,
dword  x_pos,
dword  y_pos,
dword  acpred_flag,
dword  cbp,
Bitstream bs,
dword  quant,
dword  intra_dc_threshold,
dword  bound,
bool  reduced_resolution 
)
private

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void S_decoder::mb_decode ( const dword  cbp,
Bitstream bs,
byte pY_Cur,
byte pU_Cur,
byte pV_Cur,
bool  reduced_resolution,
const MACROBLOCK pMB 
)
private

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void S_decoder::DecodeInterMacroBlock ( const MACROBLOCK pMB,
dword  x_pos,
dword  y_pos,
dword  cbp,
Bitstream bs,
bool  rounding,
bool  reduced_resolution,
int  ref 
)
private

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void S_decoder::mbgmc ( MACROBLOCK pMB,
dword  x_pos,
dword  y_pos,
dword  fcode,
dword  cbp,
Bitstream bs,
bool  rounding 
)
private

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void S_decoder::BFrameInterpolateMBInter ( const IMAGE forward,
const IMAGE backward,
const MACROBLOCK pMB,
dword  x_pos,
dword  y_pos,
Bitstream bs,
int  direct 
)
private

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void S_decoder::B_Frame ( Bitstream bs,
int  quant,
int  fcode_forward,
int  fcode_backward 
)
private

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void S_decoder::GetMotionVector ( Bitstream bs,
int  x,
int  y,
int  k,
VECTOR ret_mv,
int  fcode,
int  bound 
)
private

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int S_decoder::read_video_packet_header ( Bitstream bs,
const int  addbits,
int *  quant,
int *  fcode_forward,
int *  fcode_backward,
int *  intra_dc_threshold 
)
private

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void S_decoder::read_vol_complexity_estimation_header ( Bitstream bs)
private

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int S_decoder::BitstreamReadHeaders ( Bitstream bs,
bool &  rounding,
bool *  reduced_resolution,
dword quant,
dword fcode_forward,
dword fcode_backward,
dword intra_dc_threshold,
WARPPOINTS gmc_warp 
)
private

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void S_decoder::read_vop_complexity_estimation_header ( Bitstream bs,
int  coding_type 
)
private

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int S_decoder::get_coeff ( Bitstream bs,
int *  run,
int *  last,
int  intra,
int  short_video_header 
)
private

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void S_decoder::get_intra_block ( Bitstream bs,
int *  block,
int  direction,
int  coeff 
)
private

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void S_decoder::get_inter_block ( Bitstream bs,
int *  block,
int  direction 
)
private

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void S_decoder::idct_int32_init ( )
private

+ Here is the caller graph for this function:

void S_decoder::InverseDiscreteCosineTransform ( int *  block) const
private

+ Here is the caller graph for this function:

int S_decoder::Init ( xvid_dec_create_t create)
private

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void S_decoder::init_vlc_tables ( )

+ Here is the caller graph for this function:

int S_decoder::Decode ( xvid_dec_frame_t frame,
xvid_dec_stats_t stats 
)

+ Here is the call graph for this function:

Friends And Related Function Documentation

int decoder_create ( xvid_dec_create_t create)
friend

Field Documentation

xvid_dec_frame_t S_decoder::xvid_dec_frame
dword S_decoder::size_x
void* S_decoder::dec_handle
int S_decoder::time_inc_resolution
int S_decoder::fixed_time_inc
dword S_decoder::time_inc_bits
dword S_decoder::shape
dword S_decoder::quant_bits
dword S_decoder::quant_type
dword* S_decoder::mpeg_quant_matrices
int S_decoder::quarterpel
int S_decoder::complexity_estimation_disable
ESTIMATION S_decoder::estimation
dword S_decoder::top_field_first
dword S_decoder::alternate_vertical_scan
int S_decoder::aspect_ratio
int S_decoder::par_width
int S_decoder::par_height
int S_decoder::sprite_enable
int S_decoder::sprite_warping_points
int S_decoder::sprite_warping_accuracy
int S_decoder::sprite_brightness_change
bool S_decoder::interlacing
bool S_decoder::newpred_enable
bool S_decoder::reduced_resolution_enable
int S_decoder::bs_version
dword S_decoder::width
dword S_decoder::height
dword S_decoder::edged_width
dword S_decoder::edged_height
IMAGE S_decoder::cur
IMAGE S_decoder::refn[2]
IMAGE S_decoder::tmp
IMAGE S_decoder::qtmp
dword S_decoder::mb_width
dword S_decoder::mb_height
MACROBLOCK* S_decoder::mbs
MACROBLOCK* S_decoder::last_mbs
int S_decoder::last_coding_type
int S_decoder::frames
VECTOR S_decoder::p_fmv
VECTOR S_decoder::p_bmv
int S_decoder::time
int S_decoder::time_base
int S_decoder::last_time_base
int S_decoder::last_non_b_time
dword S_decoder::time_pp
dword S_decoder::time_bp
bool S_decoder::fixed_dimensions
bool S_decoder::scalability
bool S_decoder::low_delay
bool S_decoder::low_delay_default
bool S_decoder::last_reduced_resolution
bool S_decoder::packed_mode
IMAGE S_decoder::gmc
GMC_DATA S_decoder::gmc_data
NEW_GMC_DATA S_decoder::new_gmc_data
REVERSE_EVENT S_decoder::DCT3D[2][4096]
VLC S_decoder::coeff_VLC[2][2][64][64]
t_clip_val S_decoder::iclip[1024]

The documentation for this struct was generated from the following files: