00001
00023 #ifndef _ELEMENTS_H_
00024 #define _ELEMENTS_H_
00025
00048 #define SE_HEADER 0
00049 #define SE_PTYPE 1
00050 #define SE_MBTYPE 2
00051 #define SE_REFFRAME 3
00052 #define SE_INTRAPREDMODE 4
00053 #define SE_MVD 5
00054 #define SE_CBP_INTRA 6
00055 #define SE_LUM_DC_INTRA 7
00056 #define SE_CHR_DC_INTRA 8
00057 #define SE_LUM_AC_INTRA 9
00058 #define SE_CHR_AC_INTRA 10
00059 #define SE_CBP_INTER 11
00060 #define SE_LUM_DC_INTER 12
00061 #define SE_CHR_DC_INTER 13
00062 #define SE_LUM_AC_INTER 14
00063 #define SE_CHR_AC_INTER 15
00064 #define SE_DELTA_QUANT_INTER 16
00065 #define SE_DELTA_QUANT_INTRA 17
00066 #define SE_BFRAME 18
00067 #define SE_EOS 19
00068 #define SE_MAX_ELEMENTS 20
00069
00070
00071 #define NO_EC 0
00072 #define EC_REQ 1
00073 #define EC_SYNC 2
00074
00075 #define MAXPARTITIONMODES 2
00076
00077
00103 static const byte assignSE2partition[][SE_MAX_ELEMENTS] =
00104 {
00105
00106 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
00107 { 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 2, 2, 2, 2, 0, 0, 0, 0 }
00108 };
00109
00110
00111 #endif
00112