comparison h263.c @ 4672:41fdd1901c18 libavcodec

10l for myself, fixing --disable-encoders
author michael
date Wed, 14 Mar 2007 23:23:30 +0000
parents 1f1a0e67b961
children 655d25351bfc
comparison
equal deleted inserted replaced
4671:97e3364d267a 4672:41fdd1901c18
99 static uint8_t uni_h263_inter_rl_len [64*64*2*2]; 99 static uint8_t uni_h263_inter_rl_len [64*64*2*2];
100 //#define UNI_MPEG4_ENC_INDEX(last,run,level) ((last)*128 + (run)*256 + (level)) 100 //#define UNI_MPEG4_ENC_INDEX(last,run,level) ((last)*128 + (run)*256 + (level))
101 //#define UNI_MPEG4_ENC_INDEX(last,run,level) ((last)*128*64 + (run) + (level)*64) 101 //#define UNI_MPEG4_ENC_INDEX(last,run,level) ((last)*128*64 + (run) + (level)*64)
102 #define UNI_MPEG4_ENC_INDEX(last,run,level) ((last)*128*64 + (run)*128 + (level)) 102 #define UNI_MPEG4_ENC_INDEX(last,run,level) ((last)*128*64 + (run)*128 + (level))
103 103
104 static uint8_t static_rl_table_store[5][2][2*MAX_RUN + MAX_LEVEL + 3];
105
106 /* mpeg4 104 /* mpeg4
107 inter 105 inter
108 max level: 24/6 106 max level: 24/6
109 max run: 53/63 107 max run: 53/63
110 108
111 intra 109 intra
112 max level: 53/16 110 max level: 53/16
113 max run: 29/41 111 max run: 29/41
114 */ 112 */
115 #endif 113 #endif
114
115 static uint8_t static_rl_table_store[5][2][2*MAX_RUN + MAX_LEVEL + 3];
116 116
117 #if 0 //3IV1 is quite rare and it slows things down a tiny bit 117 #if 0 //3IV1 is quite rare and it slows things down a tiny bit
118 #define IS_3IV1 s->codec_tag == ff_get_fourcc("3IV1") 118 #define IS_3IV1 s->codec_tag == ff_get_fourcc("3IV1")
119 #else 119 #else
120 #define IS_3IV1 0 120 #define IS_3IV1 0