6 |
#include "config.h" |
#include "config.h" |
7 |
#include "xvid.h" |
#include "xvid.h" |
8 |
|
|
9 |
#define DEBUG(X) OutputDebugString(X) |
#define DEBUG(X) |
10 |
|
// OutputDebugString(X) |
11 |
#define DEBUG1(X,A) { char tmp[120]; wsprintf(tmp, "%s %i", (X), (A)); OutputDebugString(tmp); } |
#define DEBUG1(X,A) { 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); } |
19 |
// { char tmp[120]; wsprintf(tmp, "%s %i %i %i %i %i", (X), (A), (B), (C), (D), (E)); OutputDebugString(tmp); } |
// { char tmp[120]; wsprintf(tmp, "%s %i %i %i %i %i", (X), (A), (B), (C), (D), (E)); OutputDebugString(tmp); } |
20 |
#define DEBUGFOURCC(X,Y) |
#define DEBUGFOURCC(X,Y) |
21 |
// { char tmp[120]; wsprintf(tmp, "%s %c %c %c %c", (X), (Y)&0xff, ((Y)>>8)&0xff, ((Y)>>16)&0xff, ((Y)>>24)&0xff); OutputDebugString(tmp); } |
// { char tmp[120]; wsprintf(tmp, "%s %c %c %c %c", (X), (Y)&0xff, ((Y)>>8)&0xff, ((Y)>>16)&0xff, ((Y)>>24)&0xff); OutputDebugString(tmp); } |
22 |
|
#define DEBUGERR(X) OutputDebugString(X) |
23 |
#define DEBUG2P(X) OutputDebugString(X) |
#define DEBUG2P(X) OutputDebugString(X) |
24 |
#define DEBUG1ST(A,B,C,D,E,F,G) { char tmp[120]; wsprintf(tmp, "1st-pass: size:%d total-kbytes:%d %s quant:%d %s kblocks:%d mblocks:%d", (A), (B), (C) ? "intra" : "inter", (D), (E), (F), (G)); OutputDebugString(tmp); } |
#define DEBUG1ST(A,B,C,D,E,F,G) { char tmp[120]; wsprintf(tmp, "1st-pass: size:%d total-kbytes:%d %s quant:%d %s kblocks:%d mblocks:%d", (A), (B), (C) ? "intra" : "inter", (D), (E), (F), (G)); OutputDebugString(tmp); } |
25 |
#define DEBUG2ND(A,B,C,D,E,F,G,H) { char tmp[120]; wsprintf(tmp, "2nd-pass: quant:%d %s %s stats1:%d scaled:%d actual:%d overflow:%d %s", (A), (B), (C) ? "intra" : "inter", (D), (E), (F), (G), (H) ? "credits" : "movie"); OutputDebugString(tmp); } |
#define DEBUG2ND(A,B,C,D,E,F,G,H) { char tmp[120]; wsprintf(tmp, "2nd-pass: quant:%d %s %s stats1:%d scaled:%d actual:%d overflow:%d %s", (A), (B), (C) ? "intra" : "inter", (D), (E), (F), (G), (H) ? "credits" : "movie"); OutputDebugString(tmp); } |
98 |
int bytes2; |
int bytes2; |
99 |
int desired_bytes2; |
int desired_bytes2; |
100 |
|
|
101 |
float movie_curve; |
double movie_curve; |
102 |
float credits_start_curve; |
double credits_start_curve; |
103 |
float credits_end_curve; |
double credits_end_curve; |
104 |
|
|
105 |
double average_frame; |
double average_frame; |
106 |
double curve_comp_scale; |
double curve_comp_scale; |
107 |
|
double curve_bias_bonus; |
108 |
|
double alt_curve_low; |
109 |
|
double alt_curve_high; |
110 |
|
double alt_curve_low_diff; |
111 |
|
double alt_curve_high_diff; |
112 |
|
double alt_curve_mid_qual; |
113 |
|
double alt_curve_qual_dev; |
114 |
int overflow; |
int overflow; |
115 |
|
|
116 |
NNSTATS nns1; |
NNSTATS nns1; |