--- decoder.h 2002/11/07 10:28:15 1.10.2.1 +++ decoder.h 2002/12/12 10:37:44 1.10.2.4 @@ -33,7 +33,7 @@ * * - 13.06.2002 Added legal header - Cosmetic * - * $Id: decoder.h,v 1.10.2.1 2002/11/07 10:28:15 suxen_drol Exp $ + * $Id: decoder.h,v 1.10.2.4 2002/12/12 10:37:44 suxen_drol Exp $ * ****************************************************************************/ @@ -49,6 +49,40 @@ * Structures ****************************************************************************/ +/* complexity estimation toggles */ +typedef struct +{ + int method; + + int opaque; + int transparent; + int intra_cae; + int inter_cae; + int no_update; + int upsampling; + + int intra_blocks; + int inter_blocks; + int inter4v_blocks; + int not_coded_blocks; + + int dct_coefs; + int dct_lines; + int vlc_symbols; + int vlc_bits; + + int apm; + int npm; + int interpolate_mc_q; + int forw_back_mc_q; + int halfpel2; + int halfpel4; + + int sadct; + int quarterpel; +} ESTIMATION; + + typedef struct { // vol bitstream @@ -61,6 +95,8 @@ uint32_t quant_bits; uint32_t quant_type; uint32_t quarterpel; + int complexity_estimation_disable; + ESTIMATION estimation; int interlacing; uint32_t top_field_first; @@ -102,6 +138,7 @@ // for B-frame int32_t frames; // total frame number + int32_t packed_mode; // bframes packed bitstream? (1 = yes) int8_t scalability; VECTOR p_fmv, p_bmv; // pred forward & backward motion vector MACROBLOCK *last_mbs; // last MB @@ -111,7 +148,8 @@ int64_t last_non_b_time; uint32_t time_pp; uint32_t time_bp; - uint8_t low_delay; // low_delay flage (1 means no B_VOP) + uint32_t low_delay; // low_delay flage (1 means no B_VOP) + uint32_t low_delay_default; // default value for low_delay flag XVID_DEC_PICTURE* out_frm; // This is used for slice rendering }