Ignore:
Timestamp:
24 Sep 2012, 14:08:01 (12 years ago)
Author:
nokia
Message:

3DV-HTM v4.0: FCO

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-4.0-Nokia/source/Lib/TLibDecoder/TDecTop.cpp

    r77 r139  
    614614
    615615#if SKIPFRAME_BUGFIX
    616 Bool TDecTop::xDecodeSlice(InputNALUnit &nalu, Int &iSkipFrame, Int iPOCLastDisplay )
    617 #else
    618 Bool TDecTop::xDecodeSlice(InputNALUnit &nalu, Int iSkipFrame, Int iPOCLastDisplay )
     616Bool TDecTop::xDecodeSlice(InputNALUnit &nalu, Int &iSkipFrame, Int iPOCLastDisplay
     617)
     618#else
     619Bool TDecTop::xDecodeSlice(InputNALUnit &nalu, Int iSkipFrame, Int iPOCLastDisplay
     620                           )
    619621#endif
    620622{
     
    969971    assert( m_tAppDecTop != NULL );
    970972    TComPic * const pcTexturePic = m_isDepth ? m_tAppDecTop->getPicFromView(  m_viewId, pcSlice->getPOC(), false ) : NULL;
     973
     974#if FLEX_CODING_ORDER
     975    if (pcTexturePic != NULL)
     976    {
     977      assert( !m_isDepth || pcTexturePic != NULL );
     978      pcSlice->setTexturePic( pcTexturePic );
     979    }
     980#else
    971981    assert( !m_isDepth || pcTexturePic != NULL );
    972982    pcSlice->setTexturePic( pcTexturePic );
     983#endif
     984   
     985
     986//     //original code
     987//     assert( !m_isDepth || pcTexturePic != NULL );
     988//     pcSlice->setTexturePic( pcTexturePic );
     989
     990
    973991
    974992    std::vector<TComPic*> apcInterViewRefPics = m_tAppDecTop->getInterViewRefPics( m_viewId, pcSlice->getPOC(), m_isDepth, pcSlice->getSPS() );
     
    10821100}
    10831101
     1102
     1103
     1104
     1105
    10841106#if VIDYO_VPS_INTEGRATION
    10851107Void TDecTop::xDecodeVPS()
     
    11471169}
    11481170
    1149 Bool TDecTop::decode(InputNALUnit& nalu, Int& iSkipFrame, Int& iPOCLastDisplay)
     1171Bool TDecTop::decode(InputNALUnit& nalu, Int& iSkipFrame, Int& iPOCLastDisplay
     1172
     1173 )
    11501174{
    11511175  // Initialize entropy decoder
     
    11841208    case NAL_UNIT_CODED_SLICE_CDR:
    11851209#endif
    1186       return xDecodeSlice(nalu, iSkipFrame, iPOCLastDisplay);
     1210      return xDecodeSlice(nalu, iSkipFrame, iPOCLastDisplay
     1211        );
    11871212      break;
    11881213    default:
Note: See TracChangeset for help on using the changeset viewer.