Changeset 964 in 3DVCSoftware for trunk/source/Lib/TLibDecoder/NALread.cpp


Ignore:
Timestamp:
5 Jul 2014, 05:16:45 (10 years ago)
Author:
tech
Message:
  • Merged 11.0-dev0@963. (Update to HM 14.0 + MV-HEVC Draft 8 HLS)
  • Added coding results.
  • Changed version number.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/Lib/TLibDecoder/NALread.cpp

    r872 r964  
    127127  else
    128128  {
     129#if H_MV_HLS_8_GEN_Q0108_13
     130
     131    // If nal_unit_type is in the range of BLA_W_LP to RSV_IRAP_VCL23, inclusive, i.e. the coded
     132    // slice segment belongs to an IRAP picture, TemporalId shall be equal to 0.
     133    // Otherwise, when nal_unit_type is equal to TSA_R, TSA_N, STSA_R, or STSA_N, TemporalId shall not be equal to 0.
     134    // Otherwise, if nal_unit_type is equal to TSA or TSA_N, TemporalId shall not be equal to 0.
     135    // Otherwise, when nuh_layer_id is equal to 0 and nal_unit_type is equal to STSA_R or STSA_N,
     136    // TemporalId shall not be equal to 0.
     137
     138    assert( nalu.m_nalUnitType != NAL_UNIT_CODED_SLICE_TSA_R
     139         && nalu.m_nalUnitType != NAL_UNIT_CODED_SLICE_TSA_N    );
     140
     141    assert( nalu.m_layerId > 0
     142      || ( nalu.m_nalUnitType != NAL_UNIT_CODED_SLICE_STSA_R
     143        && nalu.m_nalUnitType != NAL_UNIT_CODED_SLICE_STSA_N ) );
     144#else
    129145    assert( nalu.m_nalUnitType != NAL_UNIT_CODED_SLICE_TSA_R
    130146         && nalu.m_nalUnitType != NAL_UNIT_CODED_SLICE_TSA_N
    131147         && nalu.m_nalUnitType != NAL_UNIT_CODED_SLICE_STSA_R
    132148         && nalu.m_nalUnitType != NAL_UNIT_CODED_SLICE_STSA_N );
     149#endif
    133150  }
    134151}
Note: See TracChangeset for help on using the changeset viewer.