Ignore:
Timestamp:
2 Oct 2015, 16:44:04 (9 years ago)
Author:
disney-htm
Message:

Disney's part of AlternativeDepthInfo SEI message integrated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-15.1-dev0-Disney/source/Lib/TLibDecoder/SEIread.cpp

    r1342 r1343  
    387387      xParseSEIMultiviewViewPosition((SEIMultiviewViewPosition&) *sei, payloadSize, pDecodedMessageOutputStream );
    388388      break;
    389 #if NH_MV_TBD
    390389    case SEI::ALTERNATIVE_DEPTH_INFO:
    391390      sei = new SEIAlternativeDepthInfo;
    392391      xParseSEIAlternativeDepthInfo((SEIAlternativeDepthInfo&) *sei, payloadSize, pDecodedMessageOutputStream );
    393392      break;
    394 #endif
    395393#endif
    396394    default:
     
    16921690};
    16931691
    1694 #if NH_MV_SEI_TBD
     1692
    16951693Void SEIReader::xParseSEIAlternativeDepthInfo(SEIAlternativeDepthInfo& sei, UInt payloadSize, std::ostream *pDecodedMessageOutputStream)
    16961694{
    16971695  UInt code;
     1696  Int scode;
    16981697  output_sei_message_header(sei, pDecodedMessageOutputStream, payloadSize);
    16991698
     
    17021701  {
    17031702    sei_read_code( pDecodedMessageOutputStream, 2, code, "depth_type" ); sei.m_depthType = code;
     1703#if NH_MV_SEI_TBD
    17041704    if( sei.m_depthType  ==  0 )
    17051705    {
     
    17741774      }
    17751775    }
     1776#endif
     1777
    17761778    if( sei.m_depthType  ==  1 )
    17771779    {
    1778       sei_read_svlc( pDecodedMessageOutputStream, code, "min_offset_x_int" ); sei.m_minOffsetXInt = code;
     1780      sei_read_svlc( pDecodedMessageOutputStream, scode, "min_offset_x_int" ); sei.m_minOffsetXInt = scode;
    17791781      sei_read_code( pDecodedMessageOutputStream, 8, code, "min_offset_x_frac" ); sei.m_minOffsetXFrac = code;
    1780       sei_read_svlc( pDecodedMessageOutputStream, code, "max_offset_x_int" ); sei.m_maxOffsetXInt = code;
     1782      sei_read_svlc( pDecodedMessageOutputStream, scode, "max_offset_x_int" ); sei.m_maxOffsetXInt = scode;
    17811783      sei_read_code( pDecodedMessageOutputStream, 8, code, "max_offset_x_frac" ); sei.m_maxOffsetXFrac = code;
    17821784      sei_read_flag( pDecodedMessageOutputStream, code, "offset_y_present_flag" ); sei.m_offsetYPresentFlag = (code == 1);
    17831785      if( sei.m_offsetYPresentFlag )
    17841786      {
    1785         sei_read_svlc( pDecodedMessageOutputStream, code, "min_offset_y_int" ); sei.m_minOffsetYInt = code;
     1787        sei_read_svlc( pDecodedMessageOutputStream, scode, "min_offset_y_int" ); sei.m_minOffsetYInt = scode;
    17861788        sei_read_code( pDecodedMessageOutputStream, 8, code, "min_offset_y_frac" ); sei.m_minOffsetYFrac = code;
    1787         sei_read_svlc( pDecodedMessageOutputStream, code, "max_offset_y_int" ); sei.m_maxOffsetYInt = code;
     1789        sei_read_svlc( pDecodedMessageOutputStream, scode, "max_offset_y_int" ); sei.m_maxOffsetYInt = scode;
    17881790        sei_read_code( pDecodedMessageOutputStream, 8, code, "max_offset_y_frac" ); sei.m_maxOffsetYFrac = code;
    17891791      }
     
    17971799  }
    17981800};
    1799 #endif
     1801
    18001802
    18011803//! \}
Note: See TracChangeset for help on using the changeset viewer.