Changeset 1351 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibEncoder


Ignore:
Timestamp:
22 Jul 2015, 03:18:37 (9 years ago)
Author:
seregin
Message:

port rev 4429

File:
1 edited

Legend:

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

    r1316 r1351  
    4545#if ENC_DEC_TRACE
    4646
    47 Void  xTraceSPSHeader (const TComSPS *pSPS)
    48 {
    49   fprintf( g_hTrace, "=========== Sequence Parameter Set ID: %d ===========\n", pSPS->getSPSId() );
    50 }
    51 
    52 Void  xTracePPSHeader (const TComPPS *pPPS)
    53 {
    54   fprintf( g_hTrace, "=========== Picture Parameter Set ID: %d ===========\n", pPPS->getPPSId() );
    55 }
    56 
    57 Void  xTraceSliceHeader (const TComSlice *pSlice)
     47Void  xTraceVPSHeader ()
     48{
     49  fprintf( g_hTrace, "=========== Video Parameter Set     ===========\n" );
     50}
     51
     52Void  xTraceSPSHeader ()
     53{
     54  fprintf( g_hTrace, "=========== Sequence Parameter Set  ===========\n" );
     55}
     56
     57Void  xTracePPSHeader ()
     58{
     59  fprintf( g_hTrace, "=========== Picture Parameter Set  ===========\n");
     60}
     61
     62Void  xTraceSliceHeader ()
    5863{
    5964  fprintf( g_hTrace, "=========== Slice ===========\n");
     
    151156{
    152157#if ENC_DEC_TRACE
    153   xTracePPSHeader (pcPPS);
     158  xTracePPSHeader ();
    154159#endif
    155160
     
    533538
    534539#if ENC_DEC_TRACE
    535   xTraceSPSHeader (pcSPS);
     540  xTraceSPSHeader ();
    536541#endif
    537542  WRITE_CODE( pcSPS->getVPSId (),          4,       "sps_video_parameter_set_id" );
     
    779784Void TEncCavlc::codeVPS( const TComVPS* pcVPS )
    780785{
     786#if ENC_DEC_TRACE
     787  xTraceVPSHeader();
     788#endif
    781789  WRITE_CODE( pcVPS->getVPSId(),                    4,        "vps_video_parameter_set_id" );
    782790#if SVC_EXTENSION
     
    892900{
    893901#if ENC_DEC_TRACE
    894   xTraceSliceHeader (pcSlice);
     902  xTraceSliceHeader ();
    895903#endif
    896904
Note: See TracChangeset for help on using the changeset viewer.