DivXNetworks, Inc.
Main Page | Namespace List | Data Structures | Directories | File List | Namespace Members | Data Fields | Globals | Related Pages

FourCC.h

Go to the documentation of this file.
00001 
00015 #ifndef INCLUDED_FourCC
00016 #define INCLUDED_FourCC
00017 
00018 #include "DivXPortable.h" /* for uint32_t */
00019 
00020 #ifdef __cplusplus
00021 extern "C" {
00022 #endif
00023 
00026 typedef uint32_t FourCC;
00027 
00028 
00032 FourCC FourCC_create(const char* str);
00033 
00034 
00036 #define FOURCC(A, B, C, D) ( \
00037     ((FourCC) A) | \
00038     (((FourCC) B)<<8) | \
00039     (((FourCC) C)<<16) | \
00040     (((FourCC) D)<<24) )
00041 
00042 
00047 char* FourCC_toStr(char* str, FourCC fourCC);
00048 
00049 
00053 FourCC FourCC_lowerCase(FourCC fourCC);
00054 
00055 
00056 #ifdef __cplusplus
00057 }
00058 #endif
00059 
00060 #endif /* INCLUDED_FourCC */

Generated on Tue Jan 24 16:43:33 2006 for DivX Codec API Documentation.