Changeset 1144 in SHVCSoftware
- Timestamp:
- 7 Jul 2015, 23:37:16 (9 years ago)
- Location:
- branches/SHM-dev/source/Lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h
r1143 r1144 196 196 #define ALT_OPT_LAYER_FLAG 1 ///< JCTVC-R0154: proposal1 - alt_output_layer_flag[i] inference 197 197 #define DEF_OPT_LAYER_IDC 1 ///< JCTVC-R0154: proposal2 - default_output_layer_idc and output_layer_flag[i][j] 198 #define ISLICE_TYPE_NUMDIR 1 ///< JCTVC-R0155: Proposal 1 I slice_type199 198 #define OLS_IDX_CHK 1 ///< JCTVC-R0155: Proposal 2 valid range for output_layer_set_idx_to_vps[i] 200 199 #define R0340_RESAMPLING_MODIFICATION 1 ///< JCTVC-R0340: set of changes regarding resampling (as listed below) -
branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r1141 r1144 1505 1505 } 1506 1506 } 1507 #if ISLICE_TYPE_NUMDIR 1508 if( pcSlice->getActiveNumILRRefIdx() == 0 && pcSlice->getNalUnitType() >= NAL_UNIT_CODED_SLICE_BLA_W_LP && pcSlice->getNalUnitType() <= NAL_UNIT_CODED_SLICE_CRA && (m_pcEncTop->getNumDirectRefLayers() == 0) ) 1509 #else 1510 if( pcSlice->getActiveNumILRRefIdx() == 0 && pcSlice->getNalUnitType() >= NAL_UNIT_CODED_SLICE_BLA_W_LP && pcSlice->getNalUnitType() <= NAL_UNIT_CODED_SLICE_CRA ) 1511 #endif 1512 { 1513 pcSlice->setSliceType(I_SLICE); 1514 } 1515 else if( !m_pcEncTop->getElRapSliceTypeB() ) 1516 { 1517 if( (pcSlice->getNalUnitType() >= NAL_UNIT_CODED_SLICE_BLA_W_LP) && 1518 (pcSlice->getNalUnitType() <= NAL_UNIT_CODED_SLICE_CRA) && 1519 pcSlice->getSliceType() == B_SLICE ) 1507 1508 if( pcSlice->getNalUnitType() >= NAL_UNIT_CODED_SLICE_BLA_W_LP && pcSlice->getNalUnitType() <= NAL_UNIT_CODED_SLICE_CRA ) 1509 { 1510 if( pcSlice->getActiveNumILRRefIdx() == 0 && m_pcEncTop->getNumDirectRefLayers() == 0 ) 1511 { 1512 pcSlice->setSliceType(I_SLICE); 1513 } 1514 else if( !m_pcEncTop->getElRapSliceTypeB() && pcSlice->getSliceType() == B_SLICE ) 1520 1515 { 1521 1516 pcSlice->setSliceType(P_SLICE); 1522 1517 } 1523 } 1518 } 1524 1519 } 1525 1520 #else
Note: See TracChangeset for help on using the changeset viewer.