Changeset 407 in SHVCSoftware for branches/SHM-3.1-dev/source/Lib/TLibDecoder


Ignore:
Timestamp:
1 Oct 2013, 22:08:33 (12 years ago)
Author:
qualcomm
Message:

Signal view ID-related syntax elements in VPS (Macro: VIEW_ID_RELATED_SIGNALING)

Introduce signaling of view_id_len_minus1 and view_id_val.

From: Adarsh K. Ramasubramonian <aramasub@…>

File:
1 edited

Legend:

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

    r402 r407  
    975975  }
    976976#endif
     977#if VIEW_ID_RELATED_SIGNALING
     978  // if ( pcVPS->getNumViews() > 1 ) 
     979  //   However, this is a bug in the text since, view_id_len_minus1 is needed to parse view_id_val.
     980  {
     981    READ_CODE( 4, uiCode, "view_id_len_minus1" ); vps->setViewIdLenMinus1( uiCode );
     982  }
     983
     984  for( Int i = 0; i < vps->getNumViews(); i++ )
     985  {
     986    READ_CODE( vps->getViewIdLenMinus1( ) + 1, uiCode, "view_id_val[i]" ); vps->setViewIdVal( i, uiCode );
     987  }
     988#endif
    977989#if VPS_MOVE_DIR_DEPENDENCY_FLAG
    978990#if VPS_EXTN_DIRECT_REF_LAYERS
Note: See TracChangeset for help on using the changeset viewer.