Changeset 888 in SHVCSoftware


Ignore:
Timestamp:
17 Sep 2014, 02:45:59 (10 years ago)
Author:
qualcomm
Message:

Correcting implementation related to the following adoption:
JCTVC-Q0146 -- poc_msb_val_present_flag shall be equal to 0 when slice_header_extension_length is (inferred to be ) equal to 0

MACRO: INFERENCE_POC_MSB_VAL_PRESENT

submitted by Hendry (fhendry@…)

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

Legend:

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

    r887 r888  
    4444#define MAX_LAYERS                       8      ///< max number of layers the codec is supposed to handle
    4545
     46#define INFERENCE_POC_MSB_VAL_PRESENT    1      ///< JCTVC-Q0146 -- poc_msb_val_present_flag shall be equal to 0 when slice_header_extension_length is (inferred to be ) equal to 0
    4647#define CROSS_LAYER_BLA_FLAG_FIX         1      ///< Fix for earlier implementation mistake that omit the signalling of cross_layer_bla_flag
    4748#define NON_REF_NAL_TYPE_DISCARDABLE     1      ///< JCTVC-P0041 -- If discardable picture is a non-IRAP, it must be a non-referenced sub-layer picture
     
    133134#define UNAVAILABLE_PIC_BUGFIX           1
    134135#endif
     136#if INFERENCE_POC_MSB_VAL_PRESENT
     137#define POC_MSB_VAL_PRESENT_FLAG_SEM     0      ///< JCTVC-Q0146: Inference of poc_msb_val_present_flag
     138#else
    135139#define POC_MSB_VAL_PRESENT_FLAG_SEM     1      ///< JCTVC-Q0146: Inference of poc_msb_val_present_flag
     140#endif
    136141#define POC_RESET_INFO_INFERENCE         1      ///< JCTVC-Q0146: Infer the value of poc_reset_info_present_flag when not present
    137142#define NO_OUTPUT_OF_PRIOR_PICS          1      ///< Use no_output_of_prior_pics_flag
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r887 r888  
    35703570{
    35713571  sliceHeaderExtensionLength = 0;
     3572#if INFERENCE_POC_MSB_VAL_PRESENT
     3573  rpcSlice->setPocMsbValPresentFlag( false );
     3574#endif
    35723575}
    35733576UInt startBits = m_pcBitstream->getNumBitsRead();     // Start counter of # SH Extn bits
Note: See TracChangeset for help on using the changeset viewer.