comparison ivi_common.c @ 11772:4a178e0051d6 libavcodec

moves indeo5 scan patterns into ivi_common.c so those can be shared by indeo4.
author maxim
date Wed, 26 May 2010 13:25:16 +0000
parents 7dd2a45249a9
children 31dae9841fe1
comparison
equal deleted inserted replaced
11771:3c0dffc64d86 11772:4a178e0051d6
637 {13, {3, 3, 4, 4, 5, 6, 6, 4, 4, 3, 2, 1, 1}}, 637 {13, {3, 3, 4, 4, 5, 6, 6, 4, 4, 3, 2, 1, 1}},
638 {11, {3, 4, 4, 5, 5, 5, 6, 5, 4, 2, 2}}, 638 {11, {3, 4, 4, 5, 5, 5, 6, 5, 4, 2, 2}},
639 {13, {3, 4, 5, 5, 5, 5, 6, 4, 3, 3, 2, 1, 1}}, 639 {13, {3, 4, 5, 5, 5, 5, 6, 4, 3, 3, 2, 1, 1}},
640 {13, {3, 4, 5, 5, 5, 6, 5, 4, 3, 3, 2, 1, 1}}, 640 {13, {3, 4, 5, 5, 5, 6, 5, 4, 3, 3, 2, 1, 1}},
641 {9, {3, 4, 4, 5, 5, 5, 6, 5, 5}} 641 {9, {3, 4, 4, 5, 5, 5, 6, 5, 5}}
642 };
643
644
645 /**
646 * Scan patterns shared between indeo4 and indeo5
647 */
648 const uint8_t ivi_vertical_scan_8x8[64] = {
649 0, 8, 16, 24, 32, 40, 48, 56,
650 1, 9, 17, 25, 33, 41, 49, 57,
651 2, 10, 18, 26, 34, 42, 50, 58,
652 3, 11, 19, 27, 35, 43, 51, 59,
653 4, 12, 20, 28, 36, 44, 52, 60,
654 5, 13, 21, 29, 37, 45, 53, 61,
655 6, 14, 22, 30, 38, 46, 54, 62,
656 7, 15, 23, 31, 39, 47, 55, 63
657 };
658
659 const uint8_t ivi_horizontal_scan_8x8[64] = {
660 0, 1, 2, 3, 4, 5, 6, 7,
661 8, 9, 10, 11, 12, 13, 14, 15,
662 16, 17, 18, 19, 20, 21, 22, 23,
663 24, 25, 26, 27, 28, 29, 30, 31,
664 32, 33, 34, 35, 36, 37, 38, 39,
665 40, 41, 42, 43, 44, 45, 46, 47,
666 48, 49, 50, 51, 52, 53, 54, 55,
667 56, 57, 58, 59, 60, 61, 62, 63
668 };
669
670 const uint8_t ivi_direct_scan_4x4[16] = {
671 0, 1, 4, 8, 5, 2, 3, 6, 9, 12, 13, 10, 7, 11, 14, 15
642 }; 672 };
643 673
644 674
645 /** 675 /**
646 * Run-value (RLE) tables. 676 * Run-value (RLE) tables.