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

Diff of /vfw/src/codec.h

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

revision 1.12.2.2, Sat Oct 12 14:40:36 2002 UTC revision 1.14, Tue Sep 24 14:25:42 2002 UTC
# Line 6  Line 6 
6  #include "config.h"  #include "config.h"
7  #include "xvid.h"  #include "xvid.h"
8    
 #if defined(_DEBUG)  
 #define DEBUG(X) OutputDebugString(X)  
 #define DEBUG1(X,A) { char tmp[120]; wsprintf(tmp, "%s %i", (X), (A)); OutputDebugString(tmp); }  
 #define DEBUG2(X,A,B) { char tmp[120]; wsprintf(tmp, "%s %i %i", (X), (A), (B)); OutputDebugString(tmp); }  
 #define DEBUG3(X,A,B,C) { char tmp[120]; wsprintf(tmp, "%s %i %i %i", (X), (A), (B), (C)); OutputDebugString(tmp); }  
 #define DEBUG4(X,A,B,C,D) { char tmp[120]; wsprintf(tmp, "%s %i %i %i %i", (X), (A), (B), (C), (D)); OutputDebugString(tmp); }  
 #define DEBUG5(X,A,B,C,D,E) { char tmp[120]; wsprintf(tmp, "%s %i %i %i %i %i", (X), (A), (B), (C), (D), (E)); OutputDebugString(tmp); }  
 #define DEBUGFOURCC(X,Y) { char tmp[120]; wsprintf(tmp, "%s %c %c %c %c", (X), (Y)&0xff, ((Y)>>8)&0xff, ((Y)>>16)&0xff, ((Y)>>24)&0xff); OutputDebugString(tmp); }  
 #else  
9  #define DEBUG(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); }
14  #define DEBUG3(X,A,B,C)  #define DEBUG3(X,A,B,C)
15    // { char tmp[120]; wsprintf(tmp, "%s %i %i %i", (X), (A), (B), (C)); OutputDebugString(tmp); }
16  #define DEBUG4(X,A,B,C,D)  #define DEBUG4(X,A,B,C,D)
17    // { char tmp[120]; wsprintf(tmp, "%s %i %i %i %i", (X), (A), (B), (C), (D)); OutputDebugString(tmp); }
18  #define DEBUG5(X,A,B,C,D,E)  #define DEBUG5(X,A,B,C,D,E)
19    // { 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  #endif  // { 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)  #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); }
# Line 40  Line 34 
34  /* yuyu         4:2:2 16bit, y-u-y-v, packed*/  /* yuyu         4:2:2 16bit, y-u-y-v, packed*/
35  #define FOURCC_YUYV     mmioFOURCC('Y','U','Y','V')  #define FOURCC_YUYV     mmioFOURCC('Y','U','Y','V')
36  #define FOURCC_YUY2     mmioFOURCC('Y','U','Y','2')  #define FOURCC_YUY2     mmioFOURCC('Y','U','Y','2')
37    #define FOURCC_V422     mmioFOURCC('V','4','2','2')
38    
39  /* yvyu         4:2:2 16bit, y-v-y-u, packed*/  /* yvyu         4:2:2 16bit, y-v-y-u, packed*/
40  #define FOURCC_YVYU     mmioFOURCC('Y','V','Y','U')  #define FOURCC_YVYU     mmioFOURCC('Y','V','Y','U')

Legend:
Removed from v.1.12.2.2  
changed lines
  Added in v.1.14

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