Ignore:
Timestamp:
24 Jun 2013, 16:01:58 (12 years ago)
Author:
tech
Message:

Added encoder parameters related to output layers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-DEV-0.3-dev0/source/Lib/TLibEncoder/TEncCavlc.cpp

    r490 r492  
    649649#if H_MV
    650650  assert( pcVPS->getVpsMaxLayerId() < MAX_VPS_NUH_LAYER_ID_PLUS1 );
    651   WRITE_CODE( pcVPS->getVpsMaxLayerId(), 6,                 "vps_max_layer_id" );
     651  WRITE_CODE( pcVPS->getVpsMaxLayerId(), 6,                 "vps_max_layer_id" ); 
     652 
     653  WRITE_UVLC( pcVPS->getVpsNumLayerSetsMinus1(),  "vps_max_num_layer_sets_minus1" );
     654  for( UInt opsIdx = 1; opsIdx <= pcVPS->getVpsNumLayerSetsMinus1(); opsIdx ++ )
     655  {
     656    // Operation point set
     657    for( UInt i = 0; i <= pcVPS->getVpsMaxLayerId(); i ++ )
    652658#else
    653659  assert( pcVPS->getMaxNuhReservedZeroLayerId() < MAX_VPS_NUH_RESERVED_ZERO_LAYER_ID_PLUS1 );
    654660  WRITE_CODE( pcVPS->getMaxNuhReservedZeroLayerId(), 6,     "vps_max_nuh_reserved_zero_layer_id" );
    655 #endif
     661
    656662  pcVPS->setMaxOpSets(1);
    657663  WRITE_UVLC( pcVPS->getMaxOpSets() - 1,                    "vps_max_op_sets_minus1" );
     
    659665  {
    660666    // Operation point set
    661 #if H_MV
    662     for( UInt i = 0; i <= pcVPS->getVpsMaxLayerId(); i ++ )
    663 #else
    664667    for( UInt i = 0; i <= pcVPS->getMaxNuhReservedZeroLayerId(); i ++ )
    665668#endif
Note: See TracChangeset for help on using the changeset viewer.