[svn] / trunk / vfw / src / codec.h Repository:
ViewVC logotype

Diff of /trunk/vfw/src/codec.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 61, Sat Mar 23 06:58:56 2002 UTC revision 342, Fri Jul 26 19:58:22 2002 UTC
# Line 8  Line 8 
8    
9  #define DEBUG(X)  #define DEBUG(X)
10  // OutputDebugString(X)  // OutputDebugString(X)
11  #define DEBUG1(X,A)  #define DEBUG1(X,A) { char tmp[120]; wsprintf(tmp, "%s %i", (X), (A)); OutputDebugString(tmp); }
 // { char tmp[120]; wsprintf(tmp, "%s %i", (X), (A)); OutputDebugString(tmp); }  
12  #define DEBUG2(X,A,B)  #define DEBUG2(X,A,B)
13  // { char tmp[120]; wsprintf(tmp, "%s %i %i", (X), (A), (B)); OutputDebugString(tmp); }  // { char tmp[120]; wsprintf(tmp, "%s %i %i", (X), (A), (B)); OutputDebugString(tmp); }
14  #define DEBUG3(X,A,B,C)  #define DEBUG3(X,A,B,C)
# Line 92  Line 91 
91    
92  typedef struct  typedef struct
93  {  {
94            HANDLE hints;
95          HANDLE stats1;          HANDLE stats1;
96          HANDLE stats2;          HANDLE stats2;
97    
98            void * hintstream;
99    
100          int bytes1;          int bytes1;
101          int bytes2;          int bytes2;
102          int desired_bytes2;          int desired_bytes2;
103    
104          float movie_curve;          int keyframe_locations[20480];
105          float credits_start_curve;          int max_framesize;
106          float credits_end_curve;          double movie_curve;
107            double credits_start_curve;
108            double credits_end_curve;
109    
110          double average_frame;          double average_frame;
111          double curve_comp_scale;          double curve_comp_scale;
# Line 112  Line 116 
116          double alt_curve_high_diff;          double alt_curve_high_diff;
117          double alt_curve_mid_qual;          double alt_curve_mid_qual;
118          double alt_curve_qual_dev;          double alt_curve_qual_dev;
119          int overflow;          int overflow, KF_idx, KFoverflow, KFoverflow_partial;
120            int quant_count[32];
121    
122          NNSTATS nns1;          NNSTATS nns1;
123          NNSTATS nns2;          NNSTATS nns2;
# Line 156  Line 161 
161  LRESULT decompress_end(CODEC *);  LRESULT decompress_end(CODEC *);
162  LRESULT decompress(CODEC *, ICDECOMPRESS *);  LRESULT decompress(CODEC *, ICDECOMPRESS *);
163    
 int codec_2pass_init(CODEC *);  
164  int codec_get_quant(CODEC *, XVID_ENC_FRAME *);  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 *);  
165  int codec_is_in_credits(CONFIG *, int);  int codec_is_in_credits(CONFIG *, int);
166  int codec_get_vbr_quant(CONFIG *, int);  int codec_get_vbr_quant(CONFIG *, int);
167    

Legend:
Removed from v.61  
changed lines
  Added in v.342

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4