Changeset 729 in SHVCSoftware


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

JCTVC-Q0146: Inference of poc_msb_val_present_flag (Macro: POC_MSB_VAL_PRESENT_FLAG_SEM)

Infer the value of poc_msb_val_present_flag as 0 slice segment header length is zero.

From: Adarsh K. Ramasubramonian <aramasub@…>

Location:
branches/SHM-6-dev/source/Lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-6-dev/source/Lib/TLibCommon/TypeDef.h

    r728 r729  
    103103#define POC_RESET_IDC_SIGNALLING         1      ///< JCTVC-P0041: Include signalling for poc_reset related syntax elements
    104104#endif
     105#define POC_MSB_VAL_PRESENT_FLAG_SEM     1      ///< JCTVC-Q0146: Inference of poc_msb_val_present_flag
    105106#define POC_RESET_INFO_INFERENCE         1      ///< JCTVC-Q0146: Infer the value of poc_reset_info_present_flag when not present
    106107#define NO_OUTPUT_OF_PRIOR_PICS          1      ///< Use no_output_of_prior_pics_flag
  • branches/SHM-6-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r728 r729  
    31473147
    31483148#if POC_RESET_IDC_SIGNALLING
    3149   Int sliceHederExtensionLength = 0;
     3149  Int sliceHeaderExtensionLength = 0;
    31503150  if(pps->getSliceHeaderExtensionPresentFlag())
    31513151  {
    3152     READ_UVLC( uiCode, "slice_header_extension_length"); sliceHederExtensionLength = uiCode;
     3152    READ_UVLC( uiCode, "slice_header_extension_length"); sliceHeaderExtensionLength = uiCode;
    31533153  }
    31543154  else
    31553155  {
    3156     sliceHederExtensionLength = 0;
     3156    sliceHeaderExtensionLength = 0;
    31573157  }
    31583158  UInt startBits = m_pcBitstream->getNumBitsRead();     // Start counter of # SH Extn bits
    3159   if( sliceHederExtensionLength > 0 )
     3159  if( sliceHeaderExtensionLength > 0 )
    31603160  {
    31613161    if( rpcSlice->getPPS()->getPocResetInfoPresentFlag() )
     
    31943194    else
    31953195    {
     3196#if POC_MSB_VAL_PRESENT_FLAG_SEM
     3197      if( sliceHeaderExtensionLength == 0 )
     3198      {
     3199        rpcSlice->setPocMsbValPresentFlag( false );
     3200      }
     3201      else if( rpcSlice->getPocMsbValRequiredFlag() )
     3202#else
    31963203      if( rpcSlice->getPocMsbValRequiredFlag() )
     3204#endif
    31973205      {
    31983206        rpcSlice->setPocMsbValPresentFlag( true );
Note: See TracChangeset for help on using the changeset viewer.