Mercurial > libavcodec.hg
comparison vc1data.c @ 7136:7a73d76aaaa0 libavcodec
remove duplicate tables
| author | stefang |
|---|---|
| date | Wed, 25 Jun 2008 11:33:49 +0000 |
| parents | 4c47bb2a0c8b |
| children | e9d9d946f213 |
comparison
equal
deleted
inserted
replaced
| 7135:6bd6a2da306e | 7136:7a73d76aaaa0 |
|---|---|
| 560 } | 560 } |
| 561 }; | 561 }; |
| 562 | 562 |
| 563 /* DC differentials low+hi-mo, p217 are the same as in msmpeg4data .h */ | 563 /* DC differentials low+hi-mo, p217 are the same as in msmpeg4data .h */ |
| 564 | 564 |
| 565 /* Scantables/ZZ scan are at 11.9 (p262) and 8.1.1.12 (p10) */ | |
| 566 const int8_t ff_vc1_normal_zz[64] = { | |
| 567 0, 8, 1, 2, 9, 16, 24, 17, | |
| 568 10, 3, 4, 11, 18, 25, 32, 40, | |
| 569 33, 48, 26, 19, 12, 5, 6, 13, | |
| 570 20, 27, 34, 41, 56, 49, 57, 42, | |
| 571 35, 28, 21, 14, 7, 15, 22, 29, | |
| 572 36, 43, 50, 58, 51, 59, 44, 37, | |
| 573 30, 23, 31, 38, 45, 52, 60, 53, | |
| 574 61, 46, 39, 47, 54, 62, 55, 63 | |
| 575 }; | |
| 576 | |
| 577 const int8_t ff_vc1_horizontal_zz [64] = /* Table 227 */ | |
| 578 { | |
| 579 0, 1, 8, 2, 3, 9, 16, 24, | |
| 580 17, 10, 4, 5, 11, 18, 25, 32, | |
| 581 40, 48, 33, 26, 19, 12, 6, 7, | |
| 582 13, 20, 27, 34, 41, 56, 49, 57, | |
| 583 42, 35, 28, 21, 14, 15, 22, 29, | |
| 584 36, 43, 50, 58, 51, 44, 37, 30, | |
| 585 23, 31, 38, 45, 52, 59, 60, 53, | |
| 586 46, 39, 47, 54, 61, 62, 55, 63 | |
| 587 }; | |
| 588 | |
| 589 const int8_t ff_vc1_vertical_zz [64] = /* Table 228 */ | |
| 590 { | |
| 591 0, 8, 16, 1, 24, 32, 40, 9, | |
| 592 2, 3, 10, 17, 25, 48, 56, 41, | |
| 593 33, 26, 18, 11, 4, 5, 12, 19, | |
| 594 27, 34, 49, 57, 50, 42, 35, 28, | |
| 595 20, 13, 6, 7, 14, 21, 29, 36, | |
| 596 43, 51, 58, 59, 52, 44, 37, 30, | |
| 597 22, 15, 23, 31, 38, 45, 60, 53, | |
| 598 46, 39, 47, 54, 61, 62, 55, 63 | |
| 599 }; | |
| 600 | |
| 601 const int8_t ff_vc1_simple_progressive_8x8_zz [64] = | |
| 602 /* Table 229 */ | |
| 603 { | |
| 604 0, 8, 1, 2, 9, 16, 24, 17, | |
| 605 10, 3, 4, 11, 18, 25, 32, 40, | |
| 606 48, 56, 41, 33, 26, 19, 12, 5, | |
| 607 6, 13, 20, 27, 34, 49, 57, 58, | |
| 608 50, 42, 35, 28, 21, 14, 7, 15, | |
| 609 22, 29, 36, 43, 51, 59, 60, 52, | |
| 610 44, 37, 30, 23, 31, 38, 45, 53, | |
| 611 61, 62, 54, 46, 39, 47, 55, 63 | |
| 612 }; | |
| 613 | |
| 614 const int8_t ff_vc1_simple_progressive_8x4_zz [32] = /* Table 230 */ | |
| 615 { | |
| 616 0, 1, 2, 8, 3, 9, 10, 16, | |
| 617 4, 11, 17, 24, 18, 12, 5, 19, | |
| 618 25, 13, 20, 26, 27, 6, 21, 28, | |
| 619 14, 22, 29, 7, 30, 15, 23, 31 | |
| 620 }; | |
| 621 | |
| 622 const int8_t ff_vc1_simple_progressive_4x8_zz [32] = /* Table 231 */ | |
| 623 { | |
| 624 0, 8, 1, 16, | |
| 625 9, 24, 17, 2, | |
| 626 32, 10, 25, 40, | |
| 627 18, 48, 33, 26, | |
| 628 56, 41, 34, 3, | |
| 629 49, 57, 11, 42, | |
| 630 19, 50, 27, 58, | |
| 631 35, 43, 51, 59 | |
| 632 }; | |
| 633 | |
| 634 /* Table 232 */ | 565 /* Table 232 */ |
| 635 const int8_t ff_vc1_simple_progressive_4x4_zz [16] = | 566 const int8_t ff_vc1_simple_progressive_4x4_zz [16] = |
| 636 { | 567 { |
| 637 0, 8, 16, 1, | 568 0, 8, 16, 1, |
| 638 9, 24, 17, 2, | 569 9, 24, 17, 2, |
