Changeset 296 in 3DVCSoftware for trunk/source/Lib/TLibCommon/TComRom.cpp
- Timestamp:
- 20 Feb 2013, 22:07:43 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibCommon/TComRom.cpp
r189 r296 174 174 g_aacWedgeRefLists.clear(); 175 175 } 176 #if HHIQC_DMMFASTSEARCH_B0039 176 177 177 if ( !g_aacWedgeNodeLists.empty() ) 178 178 { … … 183 183 g_aacWedgeNodeLists.clear(); 184 184 } 185 #endif 185 186 186 #endif 187 187 } … … 306 306 307 307 #if RWTH_SDC_DLT_B0036 308 #if SAIT_SDC_C0096 309 UInt g_auiSDCPredModes[RWTH_SDC_NUM_PRED_MODES] = { DC_IDX, DMM_WEDGE_FULL_IDX, PLANAR_IDX }; 310 #else 308 311 UInt g_auiSDCPredModes[RWTH_SDC_NUM_PRED_MODES] = { DC_IDX, DMM_WEDGE_FULL_IDX, DMM_WEDGE_PREDDIR_IDX, PLANAR_IDX }; 312 #endif 309 313 #endif 310 314 … … 413 417 }; 414 418 415 #if !LOGI_INTRA_NAME_3MPM416 // Mapping each Unified Directional Intra prediction direction to DCT/DST transform417 // 0 implies use DCT, 1 implies DST418 419 #if HHI_DMM_WEDGE_INTRA || HHI_DMM_PRED_TEX420 const UChar g_aucDCTDSTMode_Vert[NUM_INTRA_MODE+NUM_DMM_MODE] =421 #else422 const UChar g_aucDCTDSTMode_Vert[NUM_INTRA_MODE] =423 #endif424 { //0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35425 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0426 #if HHI_DMM_WEDGE_INTRA && HHI_DMM_PRED_TEX427 , 0, 0, 0, 0, 0, 0, 0, 0428 #elif HHI_DMM_WEDGE_INTRA || HHI_DMM_PRED_TEX429 , 0, 0, 0, 0430 #endif431 };432 #if HHI_DMM_WEDGE_INTRA || HHI_DMM_PRED_TEX433 const UChar g_aucDCTDSTMode_Hor[NUM_INTRA_MODE+NUM_DMM_MODE] =434 #else435 const UChar g_aucDCTDSTMode_Hor[NUM_INTRA_MODE] =436 #endif437 { //0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35438 1, 0, 1, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0439 #if HHI_DMM_WEDGE_INTRA && HHI_DMM_PRED_TEX440 , 0, 0, 0, 0, 0, 0, 0, 0441 #elif HHI_DMM_WEDGE_INTRA || HHI_DMM_PRED_TEX442 , 0, 0, 0, 0443 #endif444 };445 #endif446 419 447 420 … … 478 451 const UChar g_aucConvertTxtTypeToIdx[4] = { 0, 1, 1, 2 }; 479 452 480 #if !LOGI_INTRA_NAME_3MPM481 // ====================================================================================================================482 // Angular Intra prediction483 // ====================================================================================================================484 485 // g_aucAngIntraModeOrder486 // Indexing this array with the mode indicated in the bitstream487 // gives a logical index used in the prediction functions.488 const UChar g_aucAngIntraModeOrder[NUM_INTRA_MODE] =489 { // ModeOrder LogicalOrderInPredFunctions490 34, // PLANAR_IDX PLANAR PLANAR491 9, // 0 VER DC492 25, // 1 HOR VER-8 (diagonal from top-left to bottom-right = HOR-8)493 0, // 2 DC VER-7494 1, // 4 VER-8 VER-6495 5, // 5 VER-4 VER-5496 13, // 6 VER+4 VER-4497 17, // 7 VER+8 VER-3498 21, // 8 HOR-4 VER-2499 29, // 9 HOR+4 VER-1500 33, // 10 HOR+8 VER501 3, // 11 VER-6 VER+1502 7, // 12 VER-2 VER+2503 11, // 13 VER+2 VER+3504 15, // 14 VER+6 VER+4505 19, // 15 HOR-6 VER+5506 23, // 16 HOR-2 VER+6507 27, // 17 HOR+2 VER+7508 31, // 18 HOR+6 VER+8509 2, // 19 VER-7 HOR-7510 4, // 20 VER-5 HOR-6511 6, // 21 VER-3 HOR-5512 8, // 22 VER-1 HOR-4513 10, // 23 VER+1 HOR-3514 12, // 24 VER+3 HOR-2515 14, // 25 VER+5 HOR-1516 16, // 26 VER+7 HOR517 18, // 27 HOR-7 HOR+1518 20, // 28 HOR-5 HOR+2519 22, // 29 HOR-3 HOR+3520 24, // 30 HOR-1 HOR+4521 26, // 31 HOR+1 HOR+5522 28, // 32 HOR+3 HOR+6523 30, // 33 HOR+5 HOR+7524 32, // 34 HOR+7 HOR+8525 0, // LM_CHROMA_IDX526 };527 528 const UChar g_aucIntraModeNumAng[7] =529 {530 4, // 2x2531 18, // 4x4532 35, // 8x8533 35, // 16x16534 35, // 32x32535 35, // 64x64536 6 // 128x128537 };538 539 const UChar g_aucIntraModeBitsAng[7] =540 {541 2, // 2x2 3 1+1542 5, // 4x4 17 4+1543 6, // 8x8 34 5+esc544 6, // 16x16 34 5+esc545 6, // 32x32 34 5+esc546 6, // 64x64 34 5+esc547 3 // 128x128 5 2+1548 };549 #endif550 453 551 454 // ==================================================================================================================== … … 587 490 }; 588 491 492 #if LGE_DMM3_SIMP_C0044 493 const UChar g_aucWedgeTexPredBitsListIdx[7] = 494 { 495 0, // 2x2 496 6, // 4x4 497 9, // 8x8 498 9, // 16x16 499 9, // 32x32 500 0, // 64x64 501 0 // 128x128 502 }; 503 #endif 504 589 505 const UChar g_aucIntraSizeIdxToWedgeSize[7] = 590 506 { … … 630 546 }; 631 547 632 #if MULTILEVEL_SIGMAP_EXT633 548 const UInt g_sigLastScan8x8[ 4 ][ 4 ] = 634 549 { … … 639 554 }; 640 555 UInt g_sigLastScanCG32x32[ 64 ]; 641 #endif642 556 643 557 UInt* g_auiNonSquareSigLastScan[ 4 ]; … … 645 559 const UInt g_uiMinInGroup[ 10 ] = {0,1,2,3,4,6,8,12,16,24}; 646 560 const UInt g_uiGroupIdx[ 32 ] = {0,1,2,3,4,4,5,5,6,6,6,6,7,7,7,7,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9}; 647 #if LAST_CTX_REDUCTION648 561 const UInt g_uiLastCtx[ 28 ] = 649 562 { … … 653 566 10, 11, 12, 12, 13, 13, 14, 14, 2, 2 // 32x32 10 654 567 }; 655 #else656 const UInt g_uiLastCtx[ 28 ] =657 {658 0, 1, 2, 2, // 4x4 4659 3, 4, 5, 5, 6, 6, // 8x8 6660 7, 8, 9, 9, 10, 10, 11, 11, // 16x16 8661 12, 13, 14, 14, 15, 15, 16, 16, 17, 17 // 32x32 10662 };663 #endif664 568 665 569 // Rice parameters for absolute transform levels 666 #if EIGHT_BITS_RICE_CODE667 570 const UInt g_auiGoRiceRange[5] = 668 571 { … … 674 577 8, 7, 6, 5, 4 675 578 }; 676 #else 677 const UInt g_auiGoRiceRange[4] = 678 { 679 7, 20, 42, 70 680 }; 681 682 const UInt g_auiGoRicePrefixLen[4] = 683 { 684 8, 10, 10, 8 685 }; 686 #endif 687 688 #if EIGHT_BITS_RICE_CODE 579 689 580 const UInt g_aauiGoRiceUpdate[5][24] = 690 581 { 691 #if RESTRICT_GR1GR2FLAG_NUMBER692 582 { 693 583 0, 0, 0, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4 … … 705 595 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4 706 596 } 707 #else 708 { 709 0, 0, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4 710 }, 711 { 712 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4 713 }, 714 { 715 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4 716 }, 717 { 718 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4 719 }, 720 { 721 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4 722 } 723 #endif 724 }; 725 #else 726 const UInt g_aauiGoRiceUpdate[4][16] = 727 { 728 #if RESTRICT_GR1GR2FLAG_NUMBER 729 { 730 0, 0, 0, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 731 }, 732 { 733 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 734 }, 735 { 736 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 737 }, 738 { 739 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 740 } 741 #else 742 { 743 0, 0, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3 744 }, 745 { 746 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3 747 }, 748 { 749 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3 750 }, 751 { 752 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3 753 } 754 #endif 755 }; 756 #endif 597 }; 757 598 758 599 // initialize g_auiFrameScanXY … … 808 649 if( iWidth < 16 ) 809 650 { 810 #if MULTILEVEL_SIGMAP_EXT811 651 UInt* pBuffTemp = pBuffD; 812 652 if( iWidth == 8 ) … … 814 654 pBuffTemp = g_sigLastScanCG32x32; 815 655 } 816 #endif817 656 for( UInt uiScanLine = 0; uiNextScanPos < uiNumScanPos; uiScanLine++ ) 818 657 { … … 826 665 while( iPrimDim >= 0 && iScndDim < iWidth ) 827 666 { 828 #if MULTILEVEL_SIGMAP_EXT829 667 pBuffTemp[ uiNextScanPos ] = iPrimDim * iWidth + iScndDim ; 830 #else831 pBuffD[ uiNextScanPos ] = iPrimDim * iWidth + iScndDim ;832 #endif833 668 uiNextScanPos++; 834 669 iScndDim++; … … 837 672 } 838 673 } 839 #if MULTILEVEL_SIGMAP_EXT840 674 if( iWidth > 4 ) 841 #else842 else843 #endif844 675 { 845 676 UInt uiNumBlkSide = iWidth >> 2; … … 851 682 uiNextScanPos = 0; 852 683 UInt initBlkPos = g_auiSigLastScan[ SCAN_DIAG ][ log2Blk ][ uiBlk ]; 853 #if MULTILEVEL_SIGMAP_EXT854 684 if( iWidth == 32 ) 855 685 { 856 686 initBlkPos = g_sigLastScanCG32x32[ uiBlk ]; 857 687 } 858 #endif859 688 UInt offsetY = initBlkPos / uiNumBlkSide; 860 689 UInt offsetX = initBlkPos - offsetY * uiNumBlkSide; … … 983 812 } 984 813 985 #if SCALING_LIST986 814 Int g_quantIntraDefault4x4[16] = 987 815 { … … 1022 850 24,25,28,33,41,54,71,91 1023 851 }; 1024 #else1025 Int g_quantIntraDefault4x4[16] =1026 {1027 6,13,20,28,1028 13,20,28,32,1029 20,28,32,37,1030 28,32,37,421031 };1032 Int g_quantInterDefault4x4[16] =1033 {1034 10,14,20,24,1035 14,20,24,27,1036 20,24,27,30,1037 24,27,30,341038 };1039 1040 Int g_quantIntraDefault8x8[64] =1041 {1042 6,10,13,16,18,23,25,27,1043 10,11,16,18,23,25,27,29,1044 13,16,18,23,25,27,29,31,1045 16,18,23,25,27,29,31,33,1046 18,23,25,27,29,31,33,36,1047 23,25,27,29,31,33,36,38,1048 25,27,29,31,33,36,38,40,1049 27,29,31,33,36,38,40,421050 };1051 1052 Int g_quantInterDefault8x8[64] =1053 {1054 9,13,15,17,19,21,22,24,1055 13,13,17,19,21,22,24,25,1056 15,17,19,21,22,24,25,27,1057 17,19,21,22,24,25,27,28,1058 19,21,22,24,25,27,28,30,1059 21,22,24,25,27,28,30,32,1060 22,24,25,27,28,30,32,33,1061 24,25,27,28,30,32,33,351062 };1063 1064 Int g_quantIntraDefault16x16[256] =1065 {1066 16,16,16,16,16,16,16,16,17,17,18,19,21,22,24,27,1067 16,16,16,16,16,16,16,16,17,18,18,20,21,23,25,27,1068 16,16,16,16,16,16,16,17,17,18,19,20,22,23,25,28,1069 16,16,16,16,16,16,17,17,18,19,20,21,23,25,27,29,1070 16,16,16,16,17,17,18,19,20,21,22,23,25,27,29,31,1071 16,16,16,16,17,18,19,20,22,23,24,26,27,29,32,34,1072 16,16,16,17,18,19,21,23,24,25,27,29,31,33,36,39,1073 16,16,17,17,19,20,23,25,27,29,31,33,35,38,41,44,1074 17,17,17,18,20,22,24,27,30,32,35,38,41,44,47,51,1075 17,18,18,19,21,23,25,29,32,36,40,43,47,51,55,60,1076 18,18,19,20,22,24,27,31,35,40,44,49,54,59,65,70,1077 19,20,20,21,23,26,29,33,38,43,49,56,62,69,75,82,1078 21,21,22,23,25,27,31,35,41,47,54,62,70,79,88,97,1079 22,23,23,25,27,29,33,38,44,51,59,69,79,90,101,113,1080 24,25,25,27,29,32,36,41,47,55,65,75,88,101,115,130,1081 27,27,28,29,31,34,39,44,51,60,70,82,97,113,130,1491082 };1083 1084 Int g_quantInterDefault16x16[256] =1085 {1086 16,16,16,16,16,16,16,16,17,17,18,19,20,21,22,27,1087 16,16,16,16,16,16,16,17,17,18,19,20,21,22,27,27,1088 16,16,16,16,16,16,17,17,18,19,20,21,22,27,27,28,1089 16,16,16,16,16,17,17,18,19,20,21,22,27,27,28,29,1090 16,16,16,16,17,17,18,19,20,21,22,27,27,28,29,30,1091 16,16,16,17,17,18,19,20,21,22,27,27,28,29,30,32,1092 16,16,17,17,18,19,20,21,22,27,27,28,29,30,32,36,1093 16,17,17,18,19,20,21,22,27,27,28,29,30,32,36,40,1094 17,17,18,19,20,21,22,27,27,28,29,30,32,36,40,45,1095 17,18,19,20,21,22,27,27,28,29,30,32,36,40,45,52,1096 18,19,20,21,22,27,27,28,29,30,32,36,40,45,52,59,1097 19,20,21,22,27,27,28,29,30,32,36,40,45,52,59,68,1098 20,21,22,27,27,28,29,30,32,36,40,45,52,59,68,79,1099 21,22,27,27,28,29,30,32,36,40,45,52,59,68,79,91,1100 22,27,27,28,29,30,32,36,40,45,52,59,68,79,91,103,1101 27,27,28,29,30,32,36,40,45,52,59,68,79,91,103,1171102 };1103 1104 Int g_quantIntraDefault32x32[1024] =1105 {1106 16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,17,17,17,18,18,19,19,20,21,22,22,23,24,25,27,28,1107 16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,17,17,17,18,18,19,19,20,21,22,23,23,24,25,27,28,1108 16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,17,17,17,18,18,18,19,20,20,21,22,23,24,25,26,27,28,1109 16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,17,17,17,18,18,19,19,20,21,21,22,23,24,25,26,27,28,1110 16,16,16,16,16,16,16,16,16,16,16,16,16,16,17,17,17,18,18,19,19,20,20,21,22,23,23,24,25,26,28,29,1111 16,16,16,16,16,16,16,16,16,16,16,16,16,17,17,17,18,18,18,19,19,20,21,21,22,23,24,25,26,27,28,30,1112 16,16,16,16,16,16,16,16,16,16,16,17,17,17,17,18,18,19,19,20,20,21,21,22,23,24,25,26,27,28,29,30,1113 16,16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,19,19,20,20,21,21,22,23,24,25,26,27,28,29,30,31,1114 16,16,16,16,16,16,16,16,17,17,17,18,18,18,19,19,20,20,21,21,22,22,23,24,25,26,27,28,29,30,31,33,1115 16,16,16,16,16,16,16,17,17,17,18,18,19,19,20,20,20,21,22,22,23,23,24,25,26,27,28,29,30,31,33,34,1116 16,16,16,16,16,16,16,17,17,18,18,19,19,20,20,21,22,22,23,23,24,25,26,26,27,28,29,30,32,33,34,36,1117 16,16,16,16,16,16,17,17,18,18,19,20,20,21,21,22,23,23,24,25,25,26,27,28,29,30,31,32,33,35,36,38,1118 16,16,16,16,16,16,17,17,18,19,19,20,21,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,36,37,39,40,1119 16,16,16,16,16,17,17,18,18,19,20,21,22,23,24,24,25,26,27,28,29,30,31,32,33,34,35,37,38,39,41,43,1120 16,16,16,16,17,17,17,18,19,20,20,21,23,24,25,26,27,28,29,30,31,32,33,34,35,36,38,39,41,42,44,46,1121 16,16,17,17,17,17,18,18,19,20,21,22,23,24,26,27,28,29,31,32,33,34,35,37,38,39,41,42,44,45,47,49,1122 17,17,17,17,17,18,18,19,20,20,22,23,24,25,27,28,30,31,32,34,35,36,38,39,41,42,44,45,47,49,51,53,1123 17,17,17,17,18,18,19,19,20,21,22,23,25,26,28,29,31,33,34,36,37,39,41,42,44,45,47,49,51,53,55,57,1124 17,17,18,18,18,18,19,20,21,22,23,24,25,27,29,31,32,34,36,38,40,42,43,45,47,49,51,53,55,57,60,62,1125 18,18,18,18,19,19,20,20,21,22,23,25,26,28,30,32,34,36,38,40,42,44,46,48,51,53,55,57,60,62,65,67,1126 18,18,18,19,19,19,20,21,22,23,24,25,27,29,31,33,35,37,40,42,44,47,49,52,54,57,59,62,65,67,70,73,1127 19,19,19,19,20,20,21,21,22,23,25,26,28,30,32,34,36,39,42,44,47,50,52,55,58,61,64,67,70,73,76,79,1128 19,19,20,20,20,21,21,22,23,24,26,27,29,31,33,35,38,41,43,46,49,52,56,59,62,65,69,72,75,79,82,86,1129 20,20,20,21,21,21,22,23,24,25,26,28,30,32,34,37,39,42,45,48,52,55,59,62,66,70,74,77,81,85,89,93,1130 21,21,21,21,22,22,23,24,25,26,27,29,31,33,35,38,41,44,47,51,54,58,62,66,70,74,79,83,88,92,97,101,1131 22,22,22,22,23,23,24,25,26,27,28,30,32,34,36,39,42,45,49,53,57,61,65,70,74,79,84,89,94,99,104,110,1132 22,23,23,23,23,24,25,26,27,28,29,31,33,35,38,41,44,47,51,55,59,64,69,74,79,84,90,95,101,107,113,119,1133 23,23,24,24,24,25,26,27,28,29,30,32,34,37,39,42,45,49,53,57,62,67,72,77,83,89,95,101,108,114,121,128,1134 24,24,25,25,25,26,27,28,29,30,32,33,36,38,41,44,47,51,55,60,65,70,75,81,88,94,101,108,115,122,130,138,1135 25,25,26,26,26,27,28,29,30,31,33,35,37,39,42,45,49,53,57,62,67,73,79,85,92,99,107,114,122,131,139,148,1136 27,27,27,27,28,28,29,30,31,33,34,36,39,41,44,47,51,55,60,65,70,76,82,89,97,104,113,121,130,139,149,159,1137 28,28,28,28,29,30,30,31,33,34,36,38,40,43,46,49,53,57,62,67,73,79,86,93,101,110,119,128,138,148,159,1701138 };1139 1140 Int g_quantInterDefault32x32[1024] =1141 {1142 16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,17,17,17,18,18,19,19,20,21,22,22,23,24,25,26,28,1143 16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,17,17,17,18,18,19,19,20,21,22,22,23,24,25,26,28,28,1144 16,16,16,16,16,16,16,16,16,16,16,16,16,16,17,17,17,18,18,19,19,20,21,22,22,23,24,25,26,28,28,28,1145 16,16,16,16,16,16,16,16,16,16,16,16,16,17,17,17,18,18,19,19,20,21,22,22,23,24,25,26,28,28,28,28,1146 16,16,16,16,16,16,16,16,16,16,16,16,17,17,17,18,18,19,19,20,21,22,22,23,24,25,26,28,28,28,28,29,1147 16,16,16,16,16,16,16,16,16,16,16,17,17,17,18,18,19,19,20,21,22,22,23,24,25,26,28,28,28,28,29,30,1148 16,16,16,16,16,16,16,16,16,16,17,17,17,18,18,19,19,20,21,22,22,23,24,25,26,28,28,28,28,29,30,30,1149 16,16,16,16,16,16,16,16,16,17,17,17,18,18,19,19,20,21,22,22,23,24,25,26,28,28,28,28,29,30,30,31,1150 16,16,16,16,16,16,16,16,17,17,17,18,18,19,19,20,21,22,22,23,24,25,26,28,28,28,28,29,30,30,31,32,1151 16,16,16,16,16,16,16,17,17,17,18,18,19,19,20,21,22,22,23,24,25,26,28,28,28,28,29,30,30,31,32,33,1152 16,16,16,16,16,16,17,17,17,18,18,19,19,20,21,22,22,23,24,25,26,28,28,28,28,29,30,30,31,32,33,34,1153 16,16,16,16,16,17,17,17,18,18,19,19,20,21,22,22,23,24,25,26,28,28,28,28,29,30,30,31,32,33,34,35,1154 16,16,16,16,17,17,17,18,18,19,19,20,21,22,22,23,24,25,26,28,28,28,28,29,30,30,31,32,33,34,35,36,1155 16,16,16,17,17,17,18,18,19,19,20,21,22,22,23,24,25,26,28,28,28,28,29,30,30,31,32,33,34,35,36,38,1156 16,16,17,17,17,18,18,19,19,20,21,22,22,23,24,25,26,28,28,28,28,29,30,30,31,32,33,34,35,36,38,40,1157 16,17,17,17,18,18,19,19,20,21,22,22,23,24,25,26,28,28,28,28,29,30,30,31,32,33,34,35,36,38,40,42,1158 17,17,17,18,18,19,19,20,21,22,22,23,24,25,26,28,28,28,28,29,30,30,31,32,33,34,35,36,38,40,42,45,1159 17,17,18,18,19,19,20,21,22,22,23,24,25,26,28,28,28,28,29,30,30,31,32,33,34,35,36,38,40,42,45,48,1160 17,18,18,19,19,20,21,22,22,23,24,25,26,28,28,28,28,29,30,30,31,32,33,34,35,36,38,40,42,45,48,52,1161 18,18,19,19,20,21,22,22,23,24,25,26,28,28,28,28,29,30,30,31,32,33,34,35,36,38,40,42,45,48,52,56,1162 18,19,19,20,21,22,22,23,24,25,26,28,28,28,28,29,30,30,31,32,33,34,35,36,38,40,42,45,48,52,56,60,1163 19,19,20,21,22,22,23,24,25,26,28,28,28,28,29,30,30,31,32,33,34,35,36,38,40,42,45,48,52,56,60,64,1164 19,20,21,22,22,23,24,25,26,28,28,28,28,29,30,30,31,32,33,34,35,36,38,40,42,45,48,52,56,60,64,69,1165 20,21,22,22,23,24,25,26,28,28,28,28,29,30,30,31,32,33,34,35,36,38,40,42,45,48,52,56,60,64,69,74,1166 21,22,22,23,24,25,26,28,28,28,28,29,30,30,31,32,33,34,35,36,38,40,42,45,48,52,56,60,64,69,74,80,1167 22,22,23,24,25,26,28,28,28,28,29,30,30,31,32,33,34,35,36,38,40,42,45,48,52,56,60,64,69,74,80,87,1168 22,23,24,25,26,28,28,28,28,29,30,30,31,32,33,34,35,36,38,40,42,45,48,52,56,60,64,69,74,80,87,94,1169 23,24,25,26,28,28,28,28,29,30,30,31,32,33,34,35,36,38,40,42,45,48,52,56,60,64,69,74,80,87,94,101,1170 24,25,26,28,28,28,28,29,30,30,31,32,33,34,35,36,38,40,42,45,48,52,56,60,64,69,74,80,87,94,101,108,1171 25,26,28,28,28,28,29,30,30,31,32,33,34,35,36,38,40,42,45,48,52,56,60,64,69,74,80,87,94,101,108,115,1172 26,28,28,28,28,29,30,30,31,32,33,34,35,36,38,40,42,45,48,52,56,60,64,69,74,80,87,94,101,108,115,123,1173 28,28,28,28,29,30,30,31,32,33,34,35,36,38,40,42,45,48,52,56,60,64,69,74,80,87,94,101,108,115,123,1311174 };1175 #endif1176 852 UInt g_scalingListSize [4] = {16,64,256,1024}; 1177 853 UInt g_scalingListSizeX [4] = { 4, 8, 16, 32}; … … 1183 859 std::vector< std::vector<TComWedgeRef> > g_aacWedgeRefLists; 1184 860 1185 #if HHIQC_DMMFASTSEARCH_B00391186 861 std::vector< std::vector< std::vector<UInt> > > g_aauiWdgLstM3; 1187 862 std::vector< std::vector< TComWedgeNode> > g_aacWedgeNodeLists; 1188 #endif1189 863 1190 864 Void initWedgeLists() … … 1199 873 g_aacWedgeRefLists.push_back( acWedgeRefList ); 1200 874 1201 #if HHIQC_DMMFASTSEARCH_B00391202 875 // create WedgeNodeList 1203 876 std::vector<TComWedgeNode> acWedgeNodeList; … … 1260 933 } 1261 934 g_aacWedgeNodeLists.push_back( acWedgeNodeList ); 1262 #endif 935 1263 936 } 1264 937 return; … … 1298 971 for( Int iL = 0; iL < uiBlockSize; iL++ ) 1299 972 { 1300 #if HHIQC_DMMFASTSEARCH_B00391301 973 cTempWedgelet.setWedgelet( uhStartX + (iK*iStepStartX) , uhStartY + (iK*iStepStartY), uhEndX + (iL*iStepEndX), uhEndY + (iL*iStepEndY), (UChar)uiOri, eWedgeRes, ((iL%2)==0 && (iK%2)==0) ); 1302 #else1303 cTempWedgelet.setWedgelet( uhStartX + (iK*iStepStartX) , uhStartY + (iK*iStepStartY), uhEndX + (iL*iStepEndX), uhEndY + (iL*iStepEndY), (UChar)uiOri, eWedgeRes );1304 #endif1305 974 addWedgeletToList( cTempWedgelet, racWedgeList, racWedgeRefList ); 1306 975 } 1307 976 } 1308 977 } 1309 #if HHIQC_DMMFASTSEARCH_B00391310 978 UInt uiThrSz = DMM3_SIMPLIFY_TR; 1311 979 … … 1325 993 } 1326 994 g_aauiWdgLstM3.push_back(auiWdgListSz); 1327 #endif1328 995 } 1329 996 … … 1361 1028 if( bValid ) 1362 1029 { 1363 #if HHIQC_DMMFASTSEARCH_B0039 1364 cWedgelet.findClosetAngle(); 1365 #endif 1030 cWedgelet.findClosetAngle(); 1366 1031 racWedgeList.push_back( cWedgelet ); 1367 1032 TComWedgeRef cWedgeRef; … … 1370 1035 } 1371 1036 } 1372 #endif 1037 #endif //HHI_DMM_WEDGE_INTRA || HHI_DMM_PRED_TEX 1373 1038 1374 1039 //! \}
Note: See TracChangeset for help on using the changeset viewer.