--- trunk/vfw/src/codec.h 2002/03/30 23:53:58 94 +++ trunk/vfw/src/codec.h 2002/09/23 06:10:43 527 @@ -91,13 +91,19 @@ typedef struct { + HANDLE hints; HANDLE stats1; HANDLE stats2; + void * hintstream; + int bytes1; int bytes2; int desired_bytes2; + int keyframe_locations[20480]; + int max_framesize; + int minpsize, minisize; double movie_curve; double credits_start_curve; double credits_end_curve; @@ -111,7 +117,8 @@ double alt_curve_high_diff; double alt_curve_mid_qual; double alt_curve_qual_dev; - int overflow; + int overflow, KF_idx, KFoverflow, KFoverflow_partial; + int quant_count[32]; NNSTATS nns1; NNSTATS nns2; @@ -155,12 +162,12 @@ LRESULT decompress_end(CODEC *); LRESULT decompress(CODEC *, ICDECOMPRESS *); -int codec_2pass_init(CODEC *); int codec_get_quant(CODEC *, XVID_ENC_FRAME *); -int codec_2pass_get_quant(CODEC *, XVID_ENC_FRAME *); -int codec_2pass_update(CODEC *, XVID_ENC_FRAME *, XVID_ENC_STATS *); int codec_is_in_credits(CONFIG *, int); int codec_get_vbr_quant(CONFIG *, int); +// added by Koepi for greyscale credits +int check_greyscale_mode(CONFIG *, XVID_ENC_FRAME* , int); +// end of koepi's additions #endif /* _CODEC_H_ */ \ No newline at end of file