00001
00015 #ifndef INCLUDED_FourCC
00016 #define INCLUDED_FourCC
00017
00018 #include "DivXPortable.h"
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