Ignore:
Timestamp:
5 Jun 2012, 04:47:14 (13 years ago)
Author:
vidyo
Message:

additional changes to make decoder use VPS parameters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-3.0-Vidyo/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r70 r71  
    13491349  READ_FLAG( uiCode,  "temporal_id_nesting_flag" );       pcVPS->setTemporalNestingFlag( uiCode ? true:false );
    13501350  READ_UVLC( uiCode,  "video_parameter_set_id" );         pcVPS->setVPSId( uiCode );
    1351   for(UInt i=0; i <= pcVPS->getMaxTLayers()-1; i++)
     1351  for(UInt i = 0; i <= pcVPS->getMaxTLayers()-1; i++)
    13521352  {
    13531353    READ_UVLC( uiCode,  "max_dec_pic_buffering[i]" );     pcVPS->setMaxDecPicBuffering( uiCode, i );
     
    13621362    READ_UVLC( uiCode,  "extension_type" );               pcVPS->setExtensionType( uiCode );
    13631363   
    1364     if( pcVPS->getExtensionType() == 0)
    1365       READ_SVLC( iCode,  "view_order_idx[0]" );           pcVPS->setViewOrderIdx( iCode, 0 );
    1366    
    1367     for(UInt i=0; i <= pcVPS->getMaxLayers()-1; i++)
     1364    pcVPS->setViewOrderIdx( 0, 0 );
     1365    pcVPS->setViewId( 0, 0 );
     1366    pcVPS->setDepthFlag( 0, 0 );
     1367    for(UInt i = 1; i <= pcVPS->getMaxLayers()-1; i++)
    13681368    {
    13691369      READ_FLAG( uiCode, "dependent_flag[i]" );           pcVPS->setDependentFlag( uiCode ? true:false, i);
Note: See TracChangeset for help on using the changeset viewer.