Ignore:
Timestamp:
25 Jul 2014, 18:35:47 (10 years ago)
Author:
qualcomm
Message:

JCTVC-R0227: Signal VST params for base layer when intenal (Macro: VPS_VUI_VST_PARAMS)

Signal VST parameters for BL only when it is internal.

From: Adarsh K. Ramasubramonian <aramasub@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r838 r839  
    22012201  else
    22022202  {
     2203#if VPS_VUI_VST_PARAMS
     2204    vps->setNumVideoSignalInfo(vps->getMaxLayers() - vps->getBaseLayerInternalFlag() ? 0 : 1);
     2205#else
    22032206    vps->setNumVideoSignalInfo(vps->getMaxLayers());
     2207#endif
    22042208  }
    22052209
     
    22122216    READ_CODE(8, uiCode, "matrix_coeffs_vps" );vps->setMaxtrixCoeff(i,uiCode);
    22132217  }
     2218#if VPS_VUI_VST_PARAMS
     2219  if( vps->getVideoSigPresentVpsFlag() && vps->getNumVideoSignalInfo() > 1 )
     2220  {
     2221    for(i = vps->getBaseLayerInternalFlag() ? 0 : 1; i < vps->getMaxLayers(); i++)
     2222    {
     2223      READ_CODE(4, uiCode, "vps_video_signal_info_idx" ); vps->setVideoSignalInfoIdx(i, uiCode);
     2224    }
     2225  }
     2226  else if ( !vps->getVideoSigPresentVpsFlag() )
     2227  {
     2228    for(i = vps->getBaseLayerInternalFlag() ? 0 : 1; i < vps->getMaxLayers(); i++)
     2229    {
     2230      vps->setVideoSignalInfoIdx( i, i );
     2231    }
     2232  }
     2233  else // ( vps->getNumVideoSignalInfo() = 0 )
     2234  {
     2235    for(i = vps->getBaseLayerInternalFlag() ? 0 : 1; i < vps->getMaxLayers(); i++)
     2236    {
     2237      vps->setVideoSignalInfoIdx( i, 0 );
     2238    }
     2239  }
     2240#else
    22142241  if(!vps->getVideoSigPresentVpsFlag())
    22152242  {
     
    22332260    }
    22342261  }
     2262#endif
    22352263#endif
    22362264#if VPS_VUI_TILES_NOT_IN_USE__FLAG
Note: See TracChangeset for help on using the changeset viewer.