Ignore:
Timestamp:
15 Apr 2015, 11:36:33 (10 years ago)
Author:
tech
Message:

Removed 3D-HEVC.

Location:
branches/HTM-14.0-MV-draft-3/source/App/TAppDecoder
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-14.0-MV-draft-3/source/App/TAppDecoder/TAppDecCfg.cpp

    r1179 r1191  
    6868  string cfg_ReconFile;
    6969  string cfg_TargetDecLayerIdSetFile;
    70 #if H_3D
    71   string cfg_ScaleOffsetFile;
    72 #endif
    7370
    7471  po::Options opts;
     
    7875  ("ReconFile,o",     cfg_ReconFile,     string(""), "reconstructed YUV output file name\n"
    7976                                                     "YUV writing is skipped if omitted")
    80 #if H_3D
    81   ("ScaleOffsetFile,p", cfg_ScaleOffsetFile, string(""), "file with coded scales and offsets")
    82 #endif
    8377  ("SkipFrames,s", m_iSkipFrame, 0, "number of frames to skip before random access")
    8478  ("OutputBitDepth,d", m_outputBitDepthY, 0, "bit depth of YUV output luma component (default: use 0 for native depth)")
     
    116110  m_pchReconFile = cfg_ReconFile.empty() ? NULL : strdup(cfg_ReconFile.c_str());
    117111
    118 #if H_3D
    119   m_pchScaleOffsetFile = cfg_ScaleOffsetFile.empty() ? NULL : strdup(cfg_ScaleOffsetFile.c_str());
    120 #endif
    121112  if (!m_pchBitstreamFile)
    122113  {
  • branches/HTM-14.0-MV-draft-3/source/App/TAppDecoder/TAppDecCfg.h

    r1179 r1191  
    6363#endif
    6464  Char*         m_pchReconFile;                       ///< output reconstruction file name
    65 #if H_3D
    66   Char*         m_pchScaleOffsetFile;                 ///< output coded scale and offset parameters
    67 #endif
    6865  Int           m_iSkipFrame;                         ///< counter for frames prior to the random access point to skip
    6966  Int           m_outputBitDepthY;                    ///< bit depth used for writing output (luma)
  • branches/HTM-14.0-MV-draft-3/source/App/TAppDecoder/TAppDecTop.cpp

    r1179 r1191  
    6767  }
    6868#endif
    69 #if H_3D
    70     m_pScaleOffsetFile  = 0;
    71 #endif
    7269
    7370#if H_MV
     
    103100    m_pchReconFile = NULL;
    104101  }
    105 #if H_3D
    106   if (m_pchScaleOffsetFile)
    107   {
    108     free (m_pchScaleOffsetFile);
    109     m_pchScaleOffsetFile = NULL;
    110   }
    111 #endif
    112102}
    113103
     
    139129  }
    140130
    141 #if H_3D
    142   if( m_pchScaleOffsetFile )
    143   {
    144     m_pScaleOffsetFile = ::fopen( m_pchScaleOffsetFile, "wt" );
    145     AOF( m_pScaleOffsetFile );
    146   }
    147 #endif
    148131  InputByteStream bytestream(bitstreamFile);
    149132
     
    248231            {
    249232              m_tDecTop[decIdx]->setTargetOptLayerSetIdx( m_targetOptLayerSetIdx );
    250 #if H_3D_ANNEX_SELECTION_FIX
    251               m_tDecTop[decIdx]->setProfileIdc( );
    252 #endif
    253233            }
    254234
     
    268248          }
    269249        }
    270 #if H_3D
    271         if (nalu.m_nalUnitType == NAL_UNIT_VPS )
    272         {                 
    273           m_cCamParsCollector.init( m_pScaleOffsetFile, m_tDecTop[decIdx]->getPrefetchedVPS() );
    274         }       
    275 #endif
    276250        bNewPicture       = ( newSliceDiffLayer || newSliceDiffPoc ) && !sliceSkippedFlag;
    277251        if ( nalu.isSlice() && firstSlice && !sliceSkippedFlag )       
     
    349323#endif
    350324#endif
    351 #if H_3D
    352     if ( allLayersDecoded || !bitstreamFile )
    353     {
    354       for( Int dI = 0; dI < m_numDecoders; dI++ )
    355       {
    356         TComPic* picLastCoded = m_ivPicLists.getPic( m_tDecTop[dI]->getLayerId(), pocLastPic );
    357         assert( picLastCoded != NULL );       
    358         picLastCoded->compressMotion(1);
    359       }
    360     }
    361 #endif
    362325
    363326    if( pcListPic )
     
    472435  }
    473436#if H_MV
    474 #if H_3D
    475   if( m_cCamParsCollector.isInitialized() )
    476   {
    477     m_cCamParsCollector.setSlice( 0 );
    478   }
    479 #endif
    480437  for(UInt decIdx = 0; decIdx < m_numDecoders; decIdx++)
    481438  {
     
    501458  // initialize global variables
    502459  initROM(); 
    503 #if H_3D_DIM_DMM
    504   initWedgeLists();
    505 #endif
    506460#else
    507461  // create decoder class
     
    541495  // destroy decoder class
    542496  m_cTDecTop.destroy();
    543 #endif
    544 #if H_3D
    545   m_cCamParsCollector.uninit();
    546   if( m_pScaleOffsetFile )
    547   {
    548     ::fclose( m_pScaleOffsetFile );
    549   }
    550497#endif
    551498}
     
    10531000    m_tDecTop[ decIdx ]->setLayerInitilizedFlags( m_layerInitilizedFlags );
    10541001    m_tDecTop[ decIdx ]->setTargetOptLayerSetIdx( m_targetOptLayerSetIdx );   
    1055 #if H_3D_ANNEX_SELECTION_FIX
    1056     m_tDecTop[ decIdx ]->setProfileIdc           ( );   
    1057 #endif
    1058 
    1059 #if H_3D
    1060    m_tDecTop[ decIdx ]->setCamParsCollector( &m_cCamParsCollector );
    1061 #endif
     1002
    10621003
    10631004    // append pic list of new decoder to PicLists
  • branches/HTM-14.0-MV-draft-3/source/App/TAppDecoder/TAppDecTop.h

    r1179 r1191  
    8282#endif
    8383
    84 #if H_3D
    85   FILE*                           m_pScaleOffsetFile;
    86   CamParsCollector                m_cCamParsCollector;
    87 #endif
    8884public:
    8985  TAppDecTop();
Note: See TracChangeset for help on using the changeset viewer.