Changeset 1150 in SHVCSoftware
- Timestamp:
- 8 Jul 2015, 00:17:46 (9 years ago)
- Location:
- branches/SHM-dev/source
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.cpp
r1148 r1150 1679 1679 #endif 1680 1680 ("AltOutputLayerFlag", m_altOutputLayerFlag, false, "Specifies the value of alt_output_layer_flag in VPS extension") 1681 #if O0149_CROSS_LAYER_BLA_FLAG1682 1681 ("CrossLayerBLAFlag", m_crossLayerBLAFlag, false, "Specifies the value of cross_layer_bla_flag in VPS") 1683 #endif1684 1682 #if Q0048_CGS_3D_ASYMLUT 1685 1683 ("CGS", m_nCGSFlag , 0, "whether CGS is enabled") -
branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.h
r1130 r1150 512 512 #endif 513 513 Bool m_crossLayerAlignedIdrOnlyFlag; 514 #if O0149_CROSS_LAYER_BLA_FLAG515 514 Bool m_crossLayerBLAFlag; 516 #endif517 515 #if O0194_WEIGHTED_PREDICTION_CGS 518 516 Bool m_useInterLayerWeightedPred; 519 517 #endif 520 518 #if Q0048_CGS_3D_ASYMLUT 521 Int m_nCGSFlag;522 Int m_nCGSMaxOctantDepth;523 Int m_nCGSMaxYPartNumLog2;524 Int m_nCGSLUTBit;519 Int m_nCGSFlag; 520 Int m_nCGSMaxOctantDepth; 521 Int m_nCGSMaxYPartNumLog2; 522 Int m_nCGSLUTBit; 525 523 #if R0151_CGS_3D_ASYMLUT_IMPROVE 526 Int m_nCGSAdaptiveChroma;524 Int m_nCGSAdaptiveChroma; 527 525 #endif 528 526 #if R0179_ENC_OPT_3DLUT_SIZE 529 Int m_nCGSLutSizeRDO;527 Int m_nCGSLutSizeRDO; 530 528 #endif 531 529 #endif -
branches/SHM-dev/source/App/TAppEncoder/TAppEncTop.cpp
r1148 r1150 791 791 #endif 792 792 m_acTEncTop[layer].setAltOuputLayerFlag ( m_altOutputLayerFlag ); 793 #if O0149_CROSS_LAYER_BLA_FLAG794 793 m_acTEncTop[layer].setCrossLayerBLAFlag ( m_crossLayerBLAFlag ); 795 #endif796 794 #if Q0048_CGS_3D_ASYMLUT 797 795 m_acTEncTop[layer].setCGSFlag ( layer == 0 ? 0 : m_nCGSFlag ); -
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.cpp
r1148 r1150 127 127 #endif 128 128 , m_bDiscardableFlag ( false ) 129 #if O0149_CROSS_LAYER_BLA_FLAG130 129 , m_bCrossLayerBLAFlag ( false ) 131 #endif132 130 #if POC_RESET_IDC_SIGNALLING 133 131 , m_pocResetIdc ( 0 ) -
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.h
r1148 r1150 2204 2204 Int m_interLayerPredLayerIdc [MAX_VPS_LAYER_IDX_PLUS1]; 2205 2205 Bool m_bDiscardableFlag; 2206 #if O0149_CROSS_LAYER_BLA_FLAG2207 2206 Bool m_bCrossLayerBLAFlag; 2208 #endif2209 2207 #if POC_RESET_IDC_SIGNALLING 2210 2208 Int m_pocResetIdc; … … 2539 2537 Bool getDiscardableFlag () { return m_bDiscardableFlag; } 2540 2538 Void setDiscardableFlag (Bool b) { m_bDiscardableFlag = b; } 2541 #if O0149_CROSS_LAYER_BLA_FLAG2542 2539 Bool getCrossLayerBLAFlag () { return m_bCrossLayerBLAFlag; } 2543 2540 Void setCrossLayerBLAFlag (Bool b) { m_bCrossLayerBLAFlag = b; } 2544 #endif2545 2541 2546 2542 #if RPL_INIT_N0316_N0082 -
branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h
r1148 r1150 180 180 #define NUM_OL_FLAGS 1 ///< JCTVC-P0156 output_layer_flag[ i ][ j ] is signalled for j equal to 0 to NumLayersInIdList[ lsIdx ] inclusive 181 181 #define NO_CLRAS_OUTPUT_FLAG 1 182 #define O0149_CROSS_LAYER_BLA_FLAG 1 ///< JCTVC-O0149: signal cross_layer_bla_flag in slice header183 182 184 183 #define P0138_USE_ALT_CPB_PARAMS_FLAG 1 ///< JCTVC-P0138: use_alt_cpb_params_flag syntax in buffering period SEI message extension -
branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp
r1148 r1150 837 837 838 838 #if NO_CLRAS_OUTPUT_FLAG 839 if (m_layerId == m_smallestLayerId && m_apcSlicePilot->getRapPicFlag())840 { 841 if (m_bFirstSliceInSequence)839 if( m_layerId == m_smallestLayerId && m_apcSlicePilot->getRapPicFlag() ) 840 { 841 if( m_bFirstSliceInSequence ) 842 842 { 843 843 setNoClrasOutputFlag(true); … … 847 847 setNoClrasOutputFlag(true); 848 848 } 849 else if 849 else if( m_apcSlicePilot->getBlaPicFlag() ) 850 850 { 851 851 setNoClrasOutputFlag(true); 852 852 } 853 #if O0149_CROSS_LAYER_BLA_FLAG 854 else if (m_apcSlicePilot->getIdrPicFlag() && m_apcSlicePilot->getCrossLayerBLAFlag()) 853 else if( m_apcSlicePilot->getIdrPicFlag() && m_apcSlicePilot->getCrossLayerBLAFlag() ) 855 854 { 856 855 setNoClrasOutputFlag(true); 857 856 } 858 #endif859 857 else 860 858 { -
branches/SHM-dev/source/Lib/TLibEncoder/TEncCfg.h
r1148 r1150 371 371 Int m_elRapSliceBEnabled; 372 372 Int m_adaptiveResolutionChange; 373 int m_layerSwitchOffBegin;374 int m_layerSwitchOffEnd;373 Int m_layerSwitchOffBegin; 374 Int m_layerSwitchOffEnd; 375 375 Bool m_altOutputLayerFlag; 376 376 Int m_skipPictureAtArcSwitch; 377 #if O0149_CROSS_LAYER_BLA_FLAG378 377 Bool m_crossLayerBLAFlag; 379 #endif380 378 381 379 Int m_numDirectRefLayers; … … 1024 1022 Bool getAltOuputLayerFlag() const { return m_altOutputLayerFlag; } 1025 1023 Void setAltOuputLayerFlag(Bool b) { m_altOutputLayerFlag = b; } 1026 #if O0149_CROSS_LAYER_BLA_FLAG1027 1024 Bool getCrossLayerBLAFlag() const { return m_crossLayerBLAFlag; } 1028 1025 Void setCrossLayerBLAFlag(Bool b) { m_crossLayerBLAFlag = b; } 1029 #endif1030 1026 #if FAST_INTRA_SHVC 1031 1027 Bool getUseFastIntraScalable () { return m_useFastIntraScalable; } -
branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r1148 r1150 1195 1195 #endif 1196 1196 1197 #if O0149_CROSS_LAYER_BLA_FLAG1198 1197 if( m_layerId == 0 && (getNalUnitType(pocCurr, m_iLastIDR, isField) == NAL_UNIT_CODED_SLICE_IDR_W_RADL || getNalUnitType(pocCurr, m_iLastIDR, isField) == NAL_UNIT_CODED_SLICE_IDR_N_LP) ) 1199 1198 { … … 1204 1203 pcSlice->setCrossLayerBLAFlag(false); 1205 1204 } 1206 #endif1207 1205 1208 1206 // Set the nal unit type … … 1232 1230 m_pcEncTop->setNoClrasOutputFlag(true); 1233 1231 } 1234 #if O0149_CROSS_LAYER_BLA_FLAG 1235 else if ((pcSlice->getNalUnitType() == NAL_UNIT_CODED_SLICE_IDR_W_RADL || pcSlice->getNalUnitType() == NAL_UNIT_CODED_SLICE_IDR_N_LP) && 1236 pcSlice->getCrossLayerBLAFlag()) 1232 else if( pcSlice->getCrossLayerBLAFlag() && ( pcSlice->getNalUnitType() == NAL_UNIT_CODED_SLICE_IDR_W_RADL || pcSlice->getNalUnitType() == NAL_UNIT_CODED_SLICE_IDR_N_LP ) ) 1237 1233 { 1238 1234 m_pcEncTop->setNoClrasOutputFlag(true); 1239 1235 } 1240 #endif1241 1236 else 1242 1237 { 1243 1238 m_pcEncTop->setNoClrasOutputFlag(false); 1244 1239 } 1245 if (m_pcEncTop->getNoClrasOutputFlag()) 1240 1241 if( m_pcEncTop->getNoClrasOutputFlag() ) 1246 1242 { 1247 1243 for (UInt i = 0; i < m_pcCfg->getNumLayer(); i++) -
branches/SHM-dev/source/Lib/TLibEncoder/TEncTop.cpp
r1148 r1150 1049 1049 m_cPPS.setPPSId( m_iPPSIdCnt ); 1050 1050 m_cPPS.setSPSId( m_iSPSIdCnt ); 1051 #if O0149_CROSS_LAYER_BLA_FLAG 1052 if (m_crossLayerBLAFlag)1051 1052 if( m_crossLayerBLAFlag ) 1053 1053 { 1054 1054 m_cPPS.setNumExtraSliceHeaderBits( 3 ); 1055 1055 } 1056 #endif 1056 1057 1057 m_cPPS.setNumRefLayerLocationOffsets(m_numRefLayerLocationOffsets); 1058 1058 for(Int i = 0; i < m_cPPS.getNumRefLayerLocationOffsets(); i++)
Note: See TracChangeset for help on using the changeset viewer.