comparison mpeg4data.h @ 1548:dd544554ed42 libavcodec

AVRational sample_aspect_ratio aspect ratio in JPEG JFIF is SAR not DAR ! removed nonsense SAR guessing code various related cleanups bugs?
author michael
date Mon, 20 Oct 2003 20:23:46 +0000
parents ad5461bad820
children ba8ecddf5598
comparison
equal deleted inserted replaced
1547:0183874861fd 1548:dd544554ed42
339 339
340 static const uint8_t mb_type_b_tab[4][2] = { 340 static const uint8_t mb_type_b_tab[4][2] = {
341 {1, 1}, {1, 2}, {1, 3}, {1, 4}, 341 {1, 1}, {1, 2}, {1, 3}, {1, 4},
342 }; 342 };
343 343
344 static const uint16_t pixel_aspect[16][2]={ 344 static const AVRational pixel_aspect[16]={
345 {0, 0}, 345 {0, 1},
346 {1, 1}, 346 {1, 1},
347 {12, 11}, 347 {12, 11},
348 {10, 11}, 348 {10, 11},
349 {16, 11}, 349 {16, 11},
350 {40, 33}, 350 {40, 33},
351 {0, 0}, 351 {0, 1},
352 {0, 0}, 352 {0, 1},
353 {0, 0}, 353 {0, 1},
354 {0, 0}, 354 {0, 1},
355 {0, 0}, 355 {0, 1},
356 {0, 0}, 356 {0, 1},
357 {0, 0}, 357 {0, 1},
358 {0, 0}, 358 {0, 1},
359 {0, 0}, 359 {0, 1},
360 {0, 0}, 360 {0, 1},
361 }; 361 };
362 362
363 /* these matrixes will be permuted for the idct */ 363 /* these matrixes will be permuted for the idct */
364 const int16_t ff_mpeg4_default_intra_matrix[64] = { 364 const int16_t ff_mpeg4_default_intra_matrix[64] = {
365 8, 17, 18, 19, 21, 23, 25, 27, 365 8, 17, 18, 19, 21, 23, 25, 27,