--- decoder.h 2002/07/09 01:37:22 1.9 +++ decoder.h 2002/11/07 10:28:15 1.10.2.1 @@ -33,7 +33,7 @@ * * - 13.06.2002 Added legal header - Cosmetic * - * $Id: decoder.h,v 1.9 2002/07/09 01:37:22 chenm001 Exp $ + * $Id: decoder.h,v 1.10.2.1 2002/11/07 10:28:15 suxen_drol Exp $ * ****************************************************************************/ @@ -51,20 +51,36 @@ typedef struct { - // bitstream + // vol bitstream - uint32_t shape; + int time_inc_resolution; + int fixed_time_inc; uint32_t time_inc_bits; + + uint32_t shape; uint32_t quant_bits; uint32_t quant_type; uint32_t quarterpel; - uint32_t interlacing; + int interlacing; uint32_t top_field_first; uint32_t 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; + + int newpred_enable; + int reduced_resolution_enable; + // image + int fixed_dimensions; uint32_t width; uint32_t height; uint32_t edged_width; @@ -96,6 +112,8 @@ uint32_t time_pp; uint32_t time_bp; uint8_t low_delay; // low_delay flage (1 means no B_VOP) + + XVID_DEC_PICTURE* out_frm; // This is used for slice rendering } DECODER; @@ -108,7 +126,7 @@ int decoder_create(XVID_DEC_PARAM * param); int decoder_destroy(DECODER * dec); int decoder_decode(DECODER * dec, - XVID_DEC_FRAME * frame); + XVID_DEC_FRAME * frame, XVID_DEC_STATS * stats); #endif