Mercurial > libavcodec.hg
comparison h263data.h @ 10768:0e785b937073 libavcodec
The H.263 wrong_run table is only for encoding; only enable it in such cases.
patch by avcoder, ffmpeg gmail com
author | diego |
---|---|
date | Mon, 04 Jan 2010 13:21:18 +0000 |
parents | e9d9d946f213 |
children | 4605bd2fdb7f |
comparison
equal
deleted
inserted
replaced
10767:1e0d87fc2818 | 10768:0e785b937073 |
---|---|
252 intra_vlc_aic, | 252 intra_vlc_aic, |
253 intra_run_aic, | 253 intra_run_aic, |
254 intra_level_aic, | 254 intra_level_aic, |
255 }; | 255 }; |
256 | 256 |
257 #if CONFIG_ENCODERS | |
257 static const uint8_t wrong_run[102] = { | 258 static const uint8_t wrong_run[102] = { |
258 1, 2, 3, 5, 4, 10, 9, 8, | 259 1, 2, 3, 5, 4, 10, 9, 8, |
259 11, 15, 17, 16, 23, 22, 21, 20, | 260 11, 15, 17, 16, 23, 22, 21, 20, |
260 19, 18, 25, 24, 27, 26, 11, 7, | 261 19, 18, 25, 24, 27, 26, 11, 7, |
261 6, 1, 2, 13, 2, 2, 2, 2, | 262 6, 1, 2, 13, 2, 2, 2, 2, |
267 3, 22, 30, 4, 27, 40, 8, 26, | 268 3, 22, 30, 4, 27, 40, 8, 26, |
268 6, 39, 7, 38, 16, 37, 15, 10, | 269 6, 39, 7, 38, 16, 37, 15, 10, |
269 11, 12, 13, 14, 1, 21, 20, 18, | 270 11, 12, 13, 14, 1, 21, 20, 18, |
270 19, 2, 1, 34, 35, 36 | 271 19, 2, 1, 34, 35, 36 |
271 }; | 272 }; |
273 #endif | |
272 | 274 |
273 static const uint16_t h263_format[8][2] = { | 275 static const uint16_t h263_format[8][2] = { |
274 { 0, 0 }, | 276 { 0, 0 }, |
275 { 128, 96 }, | 277 { 128, 96 }, |
276 { 176, 144 }, | 278 { 176, 144 }, |