Ignore:
Timestamp:
3 Apr 2013, 01:05:45 (12 years ago)
Author:
qualcomm
Message:

Function structure for VPS extension (MACRO: VPS_EXTNS)

Added VPS extension flag and function structure for VPS extension.

From: Adarsh K. Ramasubramonian <aramasub@…>

Location:
branches/HM-10.0-dev-SHM/source/Lib/TLibEncoder
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/HM-10.0-dev-SHM/source/Lib/TLibEncoder/TEncCavlc.cpp

    r108 r109  
    649649  }
    650650#endif
     651#if !VPS_EXTNS
    651652  WRITE_FLAG( 0,                     "vps_extension_flag" );
    652  
     653#else
     654  WRITE_FLAG( 1,                     "vps_extension_flag" );
     655  codeVPSExtension(pcVPS);
     656  WRITE_FLAG( 0,                     "vps_extension2_flag" );   // Flag value of 1 reserved
     657#endif 
    653658  //future extensions here..
    654659 
    655660  return;
    656661}
     662
     663#if VPS_EXTNS
     664Void TEncCavlc::codeVPSExtension (TComVPS *vps)
     665{
     666  // ... More syntax elements to be written here
     667
     668  // ... More syntax elements to be written here
     669}
     670#endif
    657671
    658672Void TEncCavlc::codeSliceHeader         ( TComSlice* pcSlice )
  • branches/HM-10.0-dev-SHM/source/Lib/TLibEncoder/TEncCavlc.h

    r54 r109  
    8989  UInt  getCoeffCost          ()                { return  m_uiCoeffCost;  }
    9090  Void  codeVPS                 ( TComVPS* pcVPS );
     91#if VPS_EXTNS
     92  Void  codeVPSExtension        ( TComVPS* pcVPS );
     93#endif
    9194  Void  codeVUI                 ( TComVUI *pcVUI, TComSPS* pcSPS );
    9295  Void  codeSPS                 ( TComSPS* pcSPS );
Note: See TracChangeset for help on using the changeset viewer.