Changeset 546 in SHVCSoftware for branches/SHM-4.1-dev/source/Lib/TLibDecoder
- Timestamp:
- 15 Jan 2014, 01:06:24 (11 years ago)
- Location:
- branches/SHM-4.1-dev/source/Lib/TLibDecoder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-4.1-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r545 r546 866 866 READ_CODE( 2, uiCode, "vps_reserved_three_2bits" ); assert(uiCode == 3); 867 867 #if VPS_RENAME 868 READ_CODE( 6, uiCode, "vps_max_layers_minus1" ); pcVPS->setMaxLayers( uiCode + 1); 868 #if O0137_MAX_LAYERID 869 READ_CODE( 6, uiCode, "vps_max_layers_minus1" ); pcVPS->setMaxLayers( min( 62u, uiCode) + 1 ); 870 #else 871 READ_CODE( 6, uiCode, "vps_max_layers_minus1" ); pcVPS->setMaxLayers( uiCode + 1 ); 872 #endif 869 873 #else 870 874 READ_CODE( 6, uiCode, "vps_reserved_zero_6bits" ); assert(uiCode == 0); -
branches/SHM-4.1-dev/source/Lib/TLibDecoder/TDecTop.cpp
r539 r546 1734 1734 m_cEntropyDecoder.setBitstream (nalu.m_Bitstream); 1735 1735 1736 #if O0137_MAX_LAYERID 1737 // ignore any NAL units with nuh_layer_id == 63 1738 if (nalu.m_layerId == 63 ) 1739 { 1740 return false; 1741 } 1742 #endif 1736 1743 switch (nalu.m_nalUnitType) 1737 1744 {
Note: See TracChangeset for help on using the changeset viewer.