Ignore:
Timestamp:
26 Nov 2012, 22:32:00 (12 years ago)
Author:
tech
Message:

Changed macro switch names to match conventions.

Location:
branches/HTM-5.0-Qualcomm/source/App/TAppDecoder
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-5.0-Qualcomm/source/App/TAppDecoder/TAppDecTop.cpp

    r194 r195  
    8282Void TAppDecTop::decode()
    8383{
    84 #if VIDYO_VPS_INTEGRATION|MVHEVC
     84#if VIDYO_VPS_INTEGRATION|QC_MVHEVC_B0046
    8585  increaseNumberOfViews( 0, 0, 0 );
    8686#else
     
    145145    {
    146146      read(nalu, nalUnit);
    147 #if MVHEVC
     147#if QC_MVHEVC_B0046
    148148    viewDepthId = nalu.m_layerId;
    149149    Int depth = 0;
     
    171171      if( viewDepthId >= m_tDecTop.size() )     
    172172      {
    173 #if VIDYO_VPS_INTEGRATION|MVHEVC
     173#if VIDYO_VPS_INTEGRATION|QC_MVHEVC_B0046
    174174        increaseNumberOfViews( viewDepthId, viewId, depth );
    175175#else
     
    200200      if( !(m_iMaxTemporalLayer >= 0 && nalu.m_temporalId > m_iMaxTemporalLayer) )
    201201      {
    202 #if MVHEVC
     202#if QC_MVHEVC_B0046
    203203        if(viewDepthId && m_tDecTop[viewDepthId]->m_bFirstNal== false)
    204204        {
     
    233233    if( pcListPic[viewDepthId] )
    234234    {
    235 #if QC_REM_IDV
     235#if QC_REM_IDV_B0046
    236236      Int iviewId = m_tDecTop[viewDepthId]->getViewId();
    237237      if( newPicture[viewDepthId] && (nalu.m_nalUnitType == NAL_UNIT_CODED_SLICE_IDR || ((nalu.m_nalUnitType == NAL_UNIT_CODED_SLICE_IDR && iviewId) && m_tDecTop[viewDepthId]->getNalUnitTypeBaseView() == NAL_UNIT_CODED_SLICE_IDR)) )
     
    295295        m_tDecTop[viewDepthIdx]->destroy() ;
    296296      }
    297 #if MVHEVC
     297#if QC_MVHEVC_B0046
    298298      if(viewDepthIdx)
    299299      {
     
    445445  m_pocLastDisplay[viewDepthId] = -MAX_INT;
    446446}
    447 #if VIDYO_VPS_INTEGRATION|MVHEVC
     447#if VIDYO_VPS_INTEGRATION|QC_MVHEVC_B0046
    448448Void  TAppDecTop::increaseNumberOfViews  ( UInt layerId, UInt viewId, UInt isDepth )
    449449#else
     
    451451#endif
    452452{
    453 #if VIDYO_VPS_INTEGRATION|MVHEVC
     453#if VIDYO_VPS_INTEGRATION|QC_MVHEVC_B0046
    454454  Int newNumberOfViewDepth = layerId + 1;
    455455#endif
     
    458458    m_outputBitDepth = g_uiBitDepth + g_uiBitIncrement;
    459459  }
    460 #if !VIDYO_VPS_INTEGRATION&!MVHEVC
     460#if !VIDYO_VPS_INTEGRATION&!QC_MVHEVC_B0046
    461461  Int viewId = (newNumberOfViewDepth-1)>>1;   // coding order T0D0T1D1T2D2
    462462  Bool isDepth = ((newNumberOfViewDepth % 2) == 0);  // coding order T0D0T1D1T2D2
     
    471471      m_tVideoIOYuvReconFile.push_back(new TVideoIOYuv);
    472472      Char buffer[4];
    473 #if VIDYO_VPS_INTEGRATION|MVHEVC
     473#if VIDYO_VPS_INTEGRATION|QC_MVHEVC_B0046
    474474      sprintf(buffer,"_%i", viewId );
    475475#else
     
    477477#endif
    478478      Char* nextFilename = NULL;
    479 #if VIDYO_VPS_INTEGRATION|MVHEVC
     479#if VIDYO_VPS_INTEGRATION|QC_MVHEVC_B0046
    480480      if( isDepth)
    481481#else
     
    492492        xAppendToFileNameEnd( m_pchReconFile, buffer, nextFilename);
    493493      }
    494 #if !VIDYO_VPS_INTEGRATION&!MVHEVC
     494#if !VIDYO_VPS_INTEGRATION&!QC_MVHEVC_B0046
    495495      if( isDepth || ( !isDepth && (m_tVideoIOYuvReconFile.size() % 2) == 1 ) )
    496496#endif
     
    509509  {
    510510    m_tDecTop.push_back(new TDecTop);
    511 #if !VIDYO_VPS_INTEGRATION&!MVHEVC
     511#if !VIDYO_VPS_INTEGRATION&!QC_MVHEVC_B0046
    512512    if( isDepth || ( !isDepth && (m_tVideoIOYuvReconFile.size() % 2) == 1 ) )
    513513    {
     
    519519      m_tDecTop.back()->setPictureDigestEnabled(m_pictureDigestEnabled);
    520520      m_tDecTop.back()->setCamParsCollector( &m_cCamParsCollector );
    521 #if !VIDYO_VPS_INTEGRATION&!MVHEVC
     521#if !VIDYO_VPS_INTEGRATION&!QC_MVHEVC_B0046
    522522    }
    523523#endif
  • branches/HTM-5.0-Qualcomm/source/App/TAppDecoder/TAppDecTop.h

    r194 r195  
    7474  CamParsCollector                m_cCamParsCollector;
    7575#if DEPTH_MAP_GENERATION
    76 #if VIDYO_VPS_INTEGRATION|MVHEVC
     76#if VIDYO_VPS_INTEGRATION|QC_MVHEVC_B0046
    7777  TComVPSAccess                   m_cVPSAccess;
    7878#endif
     
    8888  Void  destroy           (); ///< destroy internal members
    8989  Void  decode            (); ///< main decoding function
    90 #if VIDYO_VPS_INTEGRATION|MVHEVC
     90#if VIDYO_VPS_INTEGRATION|QC_MVHEVC_B0046
    9191  Void  increaseNumberOfViews  (UInt layerId, UInt viewId, UInt isDepth);
    9292#else
Note: See TracChangeset for help on using the changeset viewer.