Changeset 804 in 3DVCSoftware
- Timestamp:
- 27 Jan 2014, 05:35:29 (11 years ago)
- Location:
- branches/HTM-9.3-dev2-MediaTek
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-9.3-dev2-MediaTek/source/Lib/TLibCommon/TComSlice.cpp
r773 r804 3129 3129 for ( Int refListIdx = 0; refListIdx < ((m_eSliceType==B_SLICE) ? 2 : 1); refListIdx++ ) 3130 3130 { 3131 #if MTK_ARP_REF_SELECTION_G0053 3132 Int diffPOC=MAX_INT; 3133 Int idx=-1; 3134 #endif 3131 3135 for(Int i = 0; i < getNumRefIdx(RefPicList(refListIdx)); i++ ) 3132 3136 { 3133 3137 if ( getRefPic(RefPicList(refListIdx), i)->getPOC() != getPOC() ) 3134 3138 { 3139 #if MTK_ARP_REF_SELECTION_G0053 3140 if( abs(getRefPic(RefPicList(refListIdx), i)->getPOC() - getPOC()) < diffPOC) 3141 { 3142 diffPOC=abs(getRefPic(RefPicList(refListIdx), i)->getPOC() - getPOC()); 3143 idx=i; 3144 } 3145 #else 3135 3146 setFirstTRefIdx (RefPicList(refListIdx), i); 3136 3147 break; 3148 #endif 3137 3149 } 3150 #if MTK_ARP_REF_SELECTION_G0053 3151 if(idx>=0) 3152 { 3153 setFirstTRefIdx (RefPicList(refListIdx), idx); 3154 } 3155 #endif 3138 3156 } 3139 3157 } -
branches/HTM-9.3-dev2-MediaTek/source/Lib/TLibCommon/TypeDef.h
r791 r804 104 104 // SHARP_ARP_REF_CHECK_F0105 ARP reference picture selection and DPB check 105 105 // LGE_ARP_CTX_F0161 JCT3V-F0161 106 #define MTK_ARP_REF_SELECTION_G0053 1 // ARP Reference picture selection in JCT3V-G0053 106 107 #define H_3D_IC 1 // Illumination Compensation, JCT3V-B0045, JCT3V-C0046, JCT3V-D0060 107 108 // Unifying rounding offset, for IC part, JCT3V-D0135
Note: See TracChangeset for help on using the changeset viewer.