Changeset 296 in 3DVCSoftware for trunk/source/Lib/TLibCommon/TComPattern.cpp
- Timestamp:
- 20 Feb 2013, 22:07:43 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibCommon/TComPattern.cpp
r189 r296 47 47 // ==================================================================================================================== 48 48 49 #if LOGI_INTRA_NAME_3MPM50 49 const UChar TComPattern::m_aucIntraFilter[5] = 51 50 { … … 56 55 10, //64x64 57 56 }; 58 #else59 const UChar TComPattern::m_aucIntraFilter[5][NUM_INTRA_MODE] =60 {61 {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 062 }, //4x463 {1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 064 }, //8x865 {1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 066 }, //16x1667 {1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 068 }, //32x3269 {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 070 }, //64x6471 };72 #endif73 57 74 58 // ==================================================================================================================== … … 682 666 mapDMMtoIntraMode( uiDirMode ); 683 667 #endif 684 #if LOGI_INTRA_NAME_3MPM685 668 Int diff = min<Int>(abs((Int) uiDirMode - HOR_IDX), abs((Int)uiDirMode - VER_IDX)); 686 669 UChar ucFiltIdx = diff > m_aucIntraFilter[log2BlkSize - 2] ? 1 : 0; … … 689 672 ucFiltIdx = 0; //no smoothing for DC or LM chroma 690 673 } 691 #else692 UChar ucFiltIdx = m_aucIntraFilter[log2BlkSize - 2][uiDirMode];693 #endif694 674 695 675 assert( ucFiltIdx <= 1 );
Note: See TracChangeset for help on using the changeset viewer.