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


Ignore:
Timestamp:
7 Mar 2014, 03:23:54 (11 years ago)
Author:
qualcomm
Message:

JCTVC-P0041 (partial): Signal poc_reset_info_present_flag (Macro: POC_RESET_IDC)

Includes signalling of poc_reset_info_present_flag, and fix a bug in value of pps_extension_type_flag. Usage of this flag poc_reset_info_present_flag will be submitted in a later commit.

From: Adarsh K. Ramasubramonian <aramasub@…>

File:
1 edited

Legend:

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

    r622 r623  
    255255  if( 1 ) //pps_extension_flag
    256256  {
     257#if !POC_RESET_IDC
    257258    UInt ppsExtensionTypeFlag[8] = { 0, 1, 0, 0, 0, 0, 0, 0 };
     259#else
     260    UInt ppsExtensionTypeFlag[8] = { 1, 0, 0, 0, 0, 0, 0, 0 };
     261#endif
    258262    for (UInt i = 0; i < 8; i++)
    259263    {
    260264      WRITE_FLAG( ppsExtensionTypeFlag[i], "pps_extension_type_flag" );
    261265    }
     266#if !POC_RESET_IDC
     267    if( ppsExtensionTypeFlag[0] )
     268    {
     269#else
    262270    if( ppsExtensionTypeFlag[1] )
    263271    {
     272      WRITE_FLAG( pcPPS->getPocResetInfoPresentFlag() ? 1 : 0, "poc_reset_info_present_flag" );
     273#endif
    264274    }
    265275  }
Note: See TracChangeset for help on using the changeset viewer.