Changeset 1534 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibDecoder
- Timestamp:
- 22 Mar 2016, 19:58:32 (9 years ago)
- Location:
- branches/SHM-dev/source/Lib/TLibDecoder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp ¶
r1533 r1534 2186 2186 READ_CODE(32, uiCode, "reserved_zero_34bits"); READ_CODE(2, uiCode, "reserved_zero_34bits"); 2187 2187 } 2188 #if VIEW_SCALABILITY 2189 else if( ptl->getProfileIdc() == Profile::MULTIVIEWMAIN ) 2190 { 2191 READ_FLAG( uiCode, "general_max_12bit_constraint_flag" ); assert (uiCode == 1); 2192 READ_FLAG( uiCode, "general_max_10bit_constraint_flag" ); assert (uiCode == 1); 2193 READ_FLAG( uiCode, "general_max_8bit_constraint_flag" ); assert (uiCode == 1); 2194 READ_FLAG( uiCode, "general_max_422chroma_constraint_flag" ); assert (uiCode == 1); 2195 READ_FLAG( uiCode, "general_max_420chroma_constraint_flag" ); assert (uiCode == 1); 2196 READ_FLAG( uiCode, "general_max_monochrome_constraint_flag" ); assert (uiCode == 0); 2197 READ_FLAG( uiCode, "general_intra_constraint_flag"); assert (uiCode == 0); 2198 READ_FLAG( uiCode, "general_one_picture_only_constraint_flag"); assert (uiCode == 0); 2199 READ_FLAG( uiCode, "general_lower_bit_rate_constraint_flag"); assert (uiCode == 1); 2200 READ_CODE(32, uiCode, "general_reserved_zero_34bits"); READ_CODE(2, uiCode, "general_reserved_zero_34bits"); 2201 } 2202 #endif 2188 2203 else 2189 2204 { … … 3556 3571 3557 3572 READ_FLAG( uiCode, "inter_view_mv_vert_constraint_flag" ); 3573 3574 #if VIEW_SCALABILITY 3575 pcSPS->setInterViewMvVertConstraintFlag(uiCode == 1 ? true : false); 3576 #else 3577 // Vertical MV component restriction is not used in SHVC CTC 3578 assert( uiCode == 0 ); 3579 #endif 3558 3580 } 3559 3581 -
TabularUnified branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp ¶
r1531 r1534 839 839 // set motion mapping flag 840 840 m_apcSlicePilot->setMFMEnabledFlag( ( m_apcSlicePilot->getNumMotionPredRefLayers() > 0 && m_apcSlicePilot->getActiveNumILRRefIdx() && !m_apcSlicePilot->isIntra() ) ? true : false ); 841 842 #if VIEW_SCALABILITY 843 if( vps->getViewIndex(nalu.m_nuhLayerId) == 1 && sps->getPTL()->getGeneralPTL()->getProfileIdc() == Profile::MULTIVIEWMAIN ) 844 { 845 assert( sps->getInterViewMvVertConstraintFlag() == 1 ); 846 } 847 #endif 841 848 #endif 842 849
Note: See TracChangeset for help on using the changeset viewer.