Changeset 1430 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibCommon
- Timestamp:
- 10 Aug 2015, 20:01:28 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TComUpsampleFilter.cpp
r1419 r1430 125 125 shift = bitDepthLuma - currSlice->getPPS()->getCGSOutputBitDepthY(); 126 126 } 127 #endif 127 128 assert( shift >= 0 ); 128 #endif129 129 130 130 for( i = 0; i < heightBL; i++ ) … … 159 159 if( currSlice->getPPS()->getCGSFlag() ) 160 160 { 161 shift = currSlice->getBitDepth(CHANNEL_TYPE_CHROMA)- currSlice->getPPS()->getCGSOutputBitDepthC();161 shift = bitDepthChroma - currSlice->getPPS()->getCGSOutputBitDepthC(); 162 162 } 163 163 #endif 164 assert( shift >= 0 ); 164 165 165 166 for( i = 0; i < heightBL; i++ ) … … 220 221 Int rlClipB = heightBL - 1 + (NTAPS_US_LUMA>>1); 221 222 222 // g_bitDepthY was set to EL bit-depth, butshift1 should be calculated using BL bit-depth223 // shift1 should be calculated using BL bit-depth 223 224 Int shift1 = refBitDepthLuma - 8; 224 225 … … 320 321 heightBL = min<Int>( pcBasePic->getHeight(COMPONENT_Y) >> 1, heightEL ); 321 322 322 // g_bitDepthC was set to EL bit-depth, butshift1 should be calculated using BL bit-depth323 // shift1 should be calculated using BL bit-depth 323 324 shift1 = refBitDepthChroma - 8; 324 325
Note: See TracChangeset for help on using the changeset viewer.