Mercurial > libavcodec.hg
comparison h264enc.c @ 8189:9915843e67e2 libavcodec
Move H.264 tables that are only useful for encoding to h264enc.c.
author | diego |
---|---|
date | Fri, 21 Nov 2008 10:00:03 +0000 |
parents | de080c5c0960 |
children | 018299720403 |
comparison
equal
deleted
inserted
replaced
8188:ef38b923ca2c | 8189:9915843e67e2 |
---|---|
105 } | 105 } |
106 *destsize -= destpos; | 106 *destsize -= destpos; |
107 return dest+destpos; | 107 return dest+destpos; |
108 } | 108 } |
109 | 109 |
110 static const uint8_t pict_type_to_golomb[7] = {-1, 2, 0, 1, -1, 4, 3}; | |
111 | |
112 static const uint8_t intra4x4_cbp_to_golomb[48] = { | |
113 3, 29, 30, 17, 31, 18, 37, 8, 32, 38, 19, 9, 20, 10, 11, 2, | |
114 16, 33, 34, 21, 35, 22, 39, 4, 36, 40, 23, 5, 24, 6, 7, 1, | |
115 41, 42, 43, 25, 44, 26, 46, 12, 45, 47, 27, 13, 28, 14, 15, 0 | |
116 }; | |
117 | |
118 static const uint8_t inter_cbp_to_golomb[48] = { | |
119 0, 2, 3, 7, 4, 8, 17, 13, 5, 18, 9, 14, 10, 15, 16, 11, | |
120 1, 32, 33, 36, 34, 37, 44, 40, 35, 45, 38, 41, 39, 42, 43, 19, | |
121 6, 24, 25, 20, 26, 21, 46, 28, 27, 47, 22, 29, 23, 30, 31, 12 | |
122 }; |