Changeset 139 in 3DVCSoftware for branches/HTM-4.0-Nokia/source/Lib/TLibDecoder


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

3DV-HTM v4.0: FCO

Location:
branches/HTM-4.0-Nokia/source/Lib/TLibDecoder
Files:
2 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:
  • branches/HTM-4.0-Nokia/source/Lib/TLibDecoder/TDecTop.h

    r100 r139  
    111111  TComList<TComPic*>      m_cListPic;         //  Dynamic buffer
    112112  ParameterSetManagerDecoder m_parameterSetManagerDecoder;  // storage for parameter sets
     113
     114
    113115  TComRPSList             m_RPSList;
    114116  TComSlice*              m_apcSlicePilot;
    115  
     117
    116118  SEImessages *m_SEIs; ///< "all" SEI messages.  If not NULL, we own the object.
    117119
     
    165167 
    166168  Void  init( TAppDecTop* pcTAppDecTop, Bool bFirstInstance );
    167   Bool  decode(InputNALUnit& nalu, Int& iSkipFrame, Int& iPOCLastDisplay);
     169  Bool  decode(InputNALUnit& nalu, Int& iSkipFrame, Int& iPOCLastDisplay
     170  );
    168171 
    169172  Void  deletePicBuffer();
     
    204207  Void      xActivateParameterSets();
    205208#if SKIPFRAME_BUGFIX
    206   Bool      xDecodeSlice(InputNALUnit &nalu, Int &iSkipFrame, Int iPOCLastDisplay);
     209  Bool      xDecodeSlice(InputNALUnit &nalu, Int &iSkipFrame, Int iPOCLastDisplay
     210    );
    207211#else
    208   Bool      xDecodeSlice(InputNALUnit &nalu, Int iSkipFrame, Int iPOCLastDisplay);
     212  Bool      xDecodeSlice(InputNALUnit &nalu, Int iSkipFrame, Int iPOCLastDisplay,
     213    );
    209214#endif
    210215#if VIDYO_VPS_INTEGRATION
Note: See TracChangeset for help on using the changeset viewer.