comparison dvdata.h @ 1567:e08df4d22d27 libavcodec

* introducing dct248 into the DSP context. * simple/accurate implementation of dct248 * DV encoding now supports 2-4-8 DCT * DV encoding gets a bit faster (but still miles away from what I think it could do) * misc. DV codec cleanups
author romansh
date Fri, 24 Oct 2003 18:28:01 +0000
parents b340e83b8d0d
children 2d5dd2f9f760
comparison
equal deleted inserted replaced
1566:396e8526e82c 1567:e08df4d22d27
266 224, 225, 226, 227, 228, 229, 230, 231, 266 224, 225, 226, 227, 228, 229, 230, 231,
267 232, 233, 234, 235, 236, 237, 238, 239, 267 232, 233, 234, 235, 236, 237, 238, 239,
268 240, 241, 242, 243, 244, 245, 246, 247, 268 240, 241, 242, 243, 244, 245, 246, 247,
269 248, 249, 250, 251, 252, 253, 254, 255, 269 248, 249, 250, 251, 252, 253, 254, 255,
270 0, 270 0,
271 };
272
273 /* Specific zigzag scan for 248 idct. NOTE that unlike the
274 specification, we interleave the fields */
275 static const uint8_t dv_248_zigzag[64] = {
276 0, 8, 1, 9, 16, 24, 2, 10,
277 17, 25, 32, 40, 48, 56, 33, 41,
278 18, 26, 3, 11, 4, 12, 19, 27,
279 34, 42, 49, 57, 50, 58, 35, 43,
280 20, 28, 5, 13, 6, 14, 21, 29,
281 36, 44, 51, 59, 52, 60, 37, 45,
282 22, 30, 7, 15, 23, 31, 38, 46,
283 53, 61, 54, 62, 39, 47, 55, 63,
284 }; 271 };
285 272
286 /* unquant tables (not used directly) */ 273 /* unquant tables (not used directly) */
287 static const uint8_t dv_88_areas[64] = { 274 static const uint8_t dv_88_areas[64] = {
288 0,0,0,1,1,1,2,2, 275 0,0,0,1,1,1,2,2,