Changeset 1106 in SHVCSoftware for branches/SHM-dev/source/App/TAppDecoder
- Timestamp:
- 6 Jul 2015, 20:51:30 (10 years ago)
- Location:
- branches/SHM-dev/source/App/TAppDecoder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/App/TAppDecoder/TAppDecCfg.cpp
r1089 r1106 102 102 #endif 103 103 #endif 104 #if FIX_CONF_MODE105 104 ("TargetLayerId,-lid", targetLayerId, -1, "Target layer id") 106 105 ("LayerNum,-ls", layerNum, MAX_NUM_LAYER_IDS, "Target layer id") // Legacy option 107 #else108 ("LayerNum,-ls", nLayerNum, 1, "Number of layers to be decoded.")109 #endif110 106 #if OUTPUT_LAYER_SET_INDEX 111 107 ("OutpuLayerSetIdx,-olsidx", olsIdx, -1, "Index of output layer set to be decoded.") … … 172 168 173 169 assert( targetLayerId >= 0 ); 174 #if !FIX_CONF_MODE175 assert( m_tgtLayerId < MAX_LAYERS ); // If this is wrong, it should be caught by asserts in other locations.176 #endif177 170 #if O0137_MAX_LAYERID 178 171 assert( targetLayerId < MAX_NUM_LAYER_IDS ); … … 199 192 200 193 // Decoded layer YUV files 201 #if FIX_CONF_MODE202 194 for(Int layer= 0; layer < MAX_VPS_LAYER_IDX_PLUS1; layer++ ) 203 #else204 for(UInt layer=0; layer<= m_tgtLayerId; layer++)205 #endif206 195 { 207 196 sprintf(fileNameSuffix, "%s-L%d.yuv", m_confPrefix.c_str(), layer); // olsIdx is the target output layer set index. … … 214 203 m_commonDecoderParams.setTargetLayerId( targetLayerId ); 215 204 #endif 216 #if FIX_CONF_MODE205 #if CONFORMANCE_BITSTREAM_MODE 217 206 for(Int layer = 0; layer < MAX_VPS_LAYER_IDX_PLUS1; layer++ ) 218 207 { -
branches/SHM-dev/source/App/TAppDecoder/TAppDecTop.cpp
r1103 r1106 94 94 } 95 95 #if SVC_EXTENSION 96 #if FIX_CONF_MODE96 #if CONFORMANCE_BITSTREAM_MODE 97 97 for(Int i = 0; i < MAX_VPS_LAYER_IDX_PLUS1; i++ ) 98 98 #else … … 174 174 memset( loopFiltered, false, sizeof( loopFiltered ) ); 175 175 176 #if FIX_CONF_MODE176 #if CONFORMANCE_BITSTREAM_MODE 177 177 for(UInt layer = 0; layer < MAX_VPS_LAYER_IDX_PLUS1; layer++) 178 178 #else … … 234 234 read(nalu, nalUnit); 235 235 if( (m_iMaxTemporalLayer >= 0 && nalu.m_temporalId > m_iMaxTemporalLayer) || !isNaluWithinTargetDecLayerIdSet(&nalu) || 236 #if FIX_CONF_MODE236 #if CONFORMANCE_BITSTREAM_MODE 237 237 (nalu.m_layerId > m_commonDecoderParams.getTargetLayerId()) ) 238 238 #else … … 415 415 pcBLPic.destroy(); 416 416 417 #if FIX_CONF_MODE417 #if CONFORMANCE_BITSTREAM_MODE 418 418 for(UInt layer = layerIdxmin; layer < MAX_VPS_LAYER_IDX_PLUS1; layer++) 419 419 #else … … 604 604 initROM(); 605 605 606 #if FIX_CONF_MODE606 #if CONFORMANCE_BITSTREAM_MODE 607 607 for(UInt layer = 0; layer < MAX_VPS_LAYER_IDX_PLUS1; layer++) 608 608 #else … … 630 630 destroyROM(); 631 631 632 #if FIX_CONF_MODE632 #if CONFORMANCE_BITSTREAM_MODE 633 633 for(UInt layer = 0; layer < MAX_VPS_LAYER_IDX_PLUS1; layer++) 634 634 #else … … 659 659 // initialize decoder class 660 660 #if SVC_EXTENSION 661 #if FIX_CONF_MODE661 #if CONFORMANCE_BITSTREAM_MODE 662 662 for(UInt layer = 0; layer < MAX_VPS_LAYER_IDX_PLUS1; layer++) 663 663 #else … … 667 667 m_acTDecTop[layer].init(); 668 668 m_acTDecTop[layer].setDecodedPictureHashSEIEnabled(m_decodedPictureHashSEIEnabled); 669 #if FIX_CONF_MODE669 #if CONFORMANCE_BITSTREAM_MODE 670 670 m_acTDecTop[layer].setNumLayer( MAX_LAYERS ); 671 671 #else … … 677 677 } 678 678 #if CONFORMANCE_BITSTREAM_MODE 679 #if FIX_CONF_MODE680 679 for(UInt layer = 0; layer < MAX_VPS_LAYER_IDX_PLUS1; layer++) 681 #else682 for(UInt layer = 0; layer < MAX_LAYERS; layer++)683 #endif684 680 { 685 681 m_acTDecTop[layer].setConfModeFlag( m_confModeFlag );
Note: See TracChangeset for help on using the changeset viewer.