Ignore:
Timestamp:
15 Jun 2014, 20:13:14 (11 years ago)
Author:
nokia
Message:

implementation for proposal JCTVC-Q0108.

  1. Enable to have different prediction structures in different layers.
  2. Remove cross-layer alignment constraints of TSA and STSA pictures
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-6-dev/source/Lib/TLibDecoder/NALread.cpp

    r595 r804  
    114114  if ( nalu.m_temporalId )
    115115  {
     116#if    !Q0108_TSA_STSA
    116117    assert( nalu.m_nalUnitType != NAL_UNIT_CODED_SLICE_BLA_W_LP
    117118         && nalu.m_nalUnitType != NAL_UNIT_CODED_SLICE_BLA_W_RADL
     
    124125         && nalu.m_nalUnitType != NAL_UNIT_EOS
    125126         && nalu.m_nalUnitType != NAL_UNIT_EOB );
     127#else
     128    assert( nalu.m_nalUnitType != NAL_UNIT_CODED_SLICE_BLA_W_LP
     129         && nalu.m_nalUnitType != NAL_UNIT_CODED_SLICE_BLA_W_RADL
     130         && nalu.m_nalUnitType != NAL_UNIT_CODED_SLICE_BLA_N_LP
     131         && nalu.m_nalUnitType != NAL_UNIT_CODED_SLICE_IDR_W_RADL
     132         && nalu.m_nalUnitType != NAL_UNIT_CODED_SLICE_IDR_N_LP
     133         && nalu.m_nalUnitType != NAL_UNIT_CODED_SLICE_CRA
     134         && nalu.m_nalUnitType != NAL_UNIT_VPS
     135         && nalu.m_nalUnitType != NAL_UNIT_SPS
     136         && nalu.m_nalUnitType != NAL_UNIT_EOS);
     137#endif
    126138  }
    127139  else
    128140  {
     141#if    !Q0108_TSA_STSA
    129142    assert( nalu.m_nalUnitType != NAL_UNIT_CODED_SLICE_TSA_R
    130143         && nalu.m_nalUnitType != NAL_UNIT_CODED_SLICE_TSA_N
    131144         && nalu.m_nalUnitType != NAL_UNIT_CODED_SLICE_STSA_R
    132          && nalu.m_nalUnitType != NAL_UNIT_CODED_SLICE_STSA_N );
     145         && nalu.m_nalUnitType != NAL_UNIT_CODED_SLICE_STSA_N
     146         );
     147#else
     148    assert( nalu.m_nalUnitType != NAL_UNIT_CODED_SLICE_TSA_R
     149         && nalu.m_nalUnitType != NAL_UNIT_CODED_SLICE_TSA_N
     150         );
     151#endif
    133152  }
    134153}
Note: See TracChangeset for help on using the changeset viewer.