Ignore:
Timestamp:
13 Jul 2015, 20:38:11 (9 years ago)
Author:
seregin
Message:

port rev 4219 and rev 4246

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/App/TAppDecoder/TAppDecTop.cpp

    r1221 r1235  
    407407    streamYUV.close();
    408408  }
    409   pcBLPic.destroy();
    410409
    411410#if CONFORMANCE_BITSTREAM_MODE
     
    705704  Int numPicsNotYetDisplayed = 0;
    706705  Int dpbFullness = 0;
    707 #if SVC_EXTENSION
    708 TComSPS* activeSPS = m_acTDecTop[layerId].getActiveSPS();
    709 #else
    710   TComSPS* activeSPS = m_cTDecTop.getActiveSPS();
    711 #endif
     706  const TComSPS* activeSPS = &(pcListPic->front()->getPicSym()->getSPS());
    712707  UInt numReorderPicsHighestTid;
    713708  UInt maxDecPicBufferingHighestTid;
     
    781776        {
    782777          const Window &conf = pcPicTop->getConformanceWindow();
    783           const Window &defDisp = m_respectDefDispWindow ? pcPicTop->getDefDisplayWindow() : Window();
     778          const Window  defDisp = m_respectDefDispWindow ? pcPicTop->getDefDisplayWindow() : Window();
    784779          const Bool isTff = pcPicTop->isTopField();
    785780
     
    815810        {
    816811          const Window &conf = pcPicTop->getConformanceWindow();
    817           const Window &defDisp = m_respectDefDispWindow ? pcPicTop->getDefDisplayWindow() : Window();
     812          const Window  defDisp = m_respectDefDispWindow ? pcPicTop->getDefDisplayWindow() : Window();
    818813          const Bool isTff = pcPicTop->isTopField();
    819814
     
    906901        {
    907902          const Window &conf = pcPic->getConformanceWindow();
    908           const Window &defDisp = m_respectDefDispWindow ? pcPic->getDefDisplayWindow() : Window();         
     903          const Window  defDisp = m_respectDefDispWindow ? pcPic->getDefDisplayWindow() : Window();         
    909904
    910905          UInt chromaFormatIdc = pcPic->getSlice(0)->getChromaFormatIdc();
     
    924919        {
    925920          const Window &conf    = pcPic->getConformanceWindow();
    926           const Window &defDisp = m_respectDefDispWindow ? pcPic->getDefDisplayWindow() : Window();
     921          const Window  defDisp = m_respectDefDispWindow ? pcPic->getDefDisplayWindow() : Window();
    927922
    928923          m_cTVideoIOYuvReconFile.write( pcPic->getPicYuvRec(),
     
    10341029        {
    10351030          const Window &conf = pcPicTop->getConformanceWindow();
    1036           const Window &defDisp = m_respectDefDispWindow ? pcPicTop->getDefDisplayWindow() : Window();
     1031          const Window  defDisp = m_respectDefDispWindow ? pcPicTop->getDefDisplayWindow() : Window();
    10371032          const Bool isTff = pcPicTop->isTopField();         
    10381033
     
    10531048        {
    10541049          const Window &conf = pcPicTop->getConformanceWindow();
    1055           const Window &defDisp = m_respectDefDispWindow ? pcPicTop->getDefDisplayWindow() : Window();
     1050          const Window  defDisp = m_respectDefDispWindow ? pcPicTop->getDefDisplayWindow() : Window();
    10561051          const Bool isTff = pcPicTop->isTopField();
    10571052          m_cTVideoIOYuvReconFile.write( pcPicTop->getPicYuvRec(), pcPicBottom->getPicYuvRec(),
     
    11311126        {
    11321127          const Window &conf = pcPic->getConformanceWindow();
    1133           const Window &defDisp = m_respectDefDispWindow ? pcPic->getDefDisplayWindow() : Window();         
     1128          const Window  defDisp = m_respectDefDispWindow ? pcPic->getDefDisplayWindow() : Window();         
    11341129
    11351130          UInt chromaFormatIdc = pcPic->getSlice(0)->getChromaFormatIdc();
     
    11491144        {
    11501145          const Window &conf    = pcPic->getConformanceWindow();
    1151           const Window &defDisp = m_respectDefDispWindow ? pcPic->getDefDisplayWindow() : Window();
     1146          const Window  defDisp = m_respectDefDispWindow ? pcPic->getDefDisplayWindow() : Window();
    11521147
    11531148          m_cTVideoIOYuvReconFile.write( pcPic->getPicYuvRec(),
     
    16131608}
    16141609
    1615 TComVPS *TAppDecTop::findDpbParametersFromVps(std::vector<Int> const &listOfPocs, std::vector<Int> const *listOfPocsInEachLayer, std::vector<Int> const *listOfPocsPositionInEachLayer, DpbStatus &maxDpbLimit)
     1610const TComVPS *TAppDecTop::findDpbParametersFromVps(std::vector<Int> const &listOfPocs, std::vector<Int> const *listOfPocsInEachLayer, std::vector<Int> const *listOfPocsPositionInEachLayer, DpbStatus &maxDpbLimit)
    16161611{
    16171612  Int targetOutputLsIdx = getCommonDecoderParams()->getTargetOutputLayerSetIdx();
    1618   TComVPS *vps = NULL;
     1613  const TComVPS *vps = NULL;
    16191614
    16201615  if( targetOutputLsIdx == 0 )   // Only base layer is output
    16211616  {
    1622     TComSPS *sps = NULL;
     1617    const TComSPS *sps = NULL;
    16231618    assert( listOfPocsInEachLayer[0].size() != 0 );
    16241619    TComList<TComPic*>::iterator iterPic;
     
    17041699    {
    17051700      TComPic *pic = *iterPic;
     1701
     1702      assert( pic->getPicSym() );
     1703
    17061704      if( !pic->getSlice(0)->isReferenced() && !pic->getOutputMark() )
    17071705      {
     
    17431741                            )
    17441742{
    1745   TComVPS *vps = NULL;
     1743  const TComVPS *vps = NULL;
    17461744  dpbStatus.init();
    17471745
Note: See TracChangeset for help on using the changeset viewer.