Changeset 573 in SHVCSoftware for branches/SHM-5.0-dev/source/App/TAppEncoder
- Timestamp:
- 28 Jan 2014, 18:21:52 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-5.0-dev/source/App/TAppEncoder/TAppEncTop.cpp
r568 r573 177 177 delete [] mapIdxToLayer; 178 178 #endif 179 180 #if O0194_WEIGHTED_PREDICTION_CGS 181 Bool bitDepthScalabilityFlag = false; 182 for(UInt layer=0; layer<m_numLayers; layer++) 183 { 184 if( m_acLayerCfg[0].m_internalBitDepthY != m_acLayerCfg[layer].m_internalBitDepthY ) 185 { 186 bitDepthScalabilityFlag = true; 187 break; 188 } 189 } 190 #endif 191 179 192 for(UInt layer=0; layer<m_numLayers; layer++) 180 193 { … … 190 203 g_bitDepthYLayer[layer] = g_bitDepthY; 191 204 g_bitDepthCLayer[layer] = g_bitDepthC; 205 206 #if O0194_WEIGHTED_PREDICTION_CGS 207 m_acTEncTop[layer].setBitDepthScalabilityFlag( bitDepthScalabilityFlag ); 208 #endif 192 209 #endif 193 210 //m_acTEncTop[layer].setVPS(&vps);
Note: See TracChangeset for help on using the changeset viewer.