Changeset 728 in SHVCSoftware for branches/SHM-6-dev/source/Lib/TLibDecoder


Ignore:
Timestamp:
23 Apr 2014, 22:32:28 (11 years ago)
Author:
qualcomm
Message:

JCTVC-Q0146: Inference of poc_reset_info_present_flag (Macro: POC_RESET_INFO_INFERENCE)

Infer the value of poc_reset_info_present_flag as 0 when it is not present.

From: Adarsh K. Ramasubramonian <aramasub@…>

File:
1 edited

Legend:

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

    r726 r728  
    339339
    340340  READ_FLAG( uiCode, "pps_extension_flag");
     341#if POC_RESET_INFO_INFERENCE
     342  Bool ppsExtensionFlag = uiCode ? true : false;
     343  if( ppsExtensionFlag )
     344#else
    341345  if (uiCode)
     346#endif 
    342347  {
    343348#if P0166_MODIFIED_PPS_EXTENSION
     
    367372#endif
    368373    }
     374#if POC_RESET_INFO_INFERENCE
     375    else  // Extension type 0 absent
     376    {
     377      pcPPS->setPocResetInfoPresentFlag( false );
     378    }
     379#endif
    369380    if (ppsExtensionTypeFlag[7])
    370381    {
     
    379390#endif
    380391  }
     392#if POC_RESET_INFO_INFERENCE
     393  if( !ppsExtensionFlag )
     394  {
     395    pcPPS->setPocResetInfoPresentFlag( false );
     396  }
     397#endif
    381398}
    382399
Note: See TracChangeset for help on using the changeset viewer.