Changeset 952 in SHVCSoftware for branches/SHM-dev/source/Lib


Ignore:
Timestamp:
5 Jan 2015, 09:03:13 (11 years ago)
Author:
qualcomm
Message:

Fix for aligned bumping, ticket #38.

Fix for the ticket number #38, related to layerId and layerIdx in the code under the macro ALIGNED_BUMPING.

From: Adarsh K. Ramasubramonian <aramasub@…>

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

Legend:

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

    r905 r952  
    291291public:
    292292  CommonDecoderParams():
     293#if FIX_CONF_MODE
     294    m_targetLayerId(MAX_VPS_LAYER_ID_PLUS1)
     295#else
    293296    m_targetLayerId(0)
     297#endif
    294298    , m_targetOutputLayerSetIdx(-1)
    295299    , m_targetDecLayerIdSet(NULL)
  • branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h

    r951 r952  
    4545#define O0215_PHASE_ALIGNMENT_REMOVAL    1
    4646#define CONFORMANCE_BITSTREAM_MODE       1      ///< In order to generate the metadata related to conformance bitstreams
     47#define FIX_CONF_MODE                    1
    4748#define SIGNALLING_BITRATE_PICRATE_FIX   1      ///< Fix for signalling of bitrate and picture rate info in VPS VUI to be more aligned to JCTVC-R1008
    4849#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
     
    9899                                                ///< JCTVC-P0192: Assign layers to sub-DPBs based on the rep_format() signaled in the VPS
    99100#define ALIGNED_BUMPING                  1      ///< JCTVC-P0192: Align bumping of pictures in an AU
     101#define FIX_ALIGN_BUMPING                1
    100102#define O0109_O0199_FLAGS_TO_VUI         1      ///< JCTVC-O0109, O0199: move single_layer_for_non_irap_flag and higher_layer_flag to vps_vui
    101103#define O0109_VIEW_ID_LEN                1      ///< JCTVC-O0109: view_id_len_minus1 to view_id_len, and add constraint (1<<view_id_len) is greater than or equal to NumViews
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp

    r944 r952  
    30113011
    30123012  }
     3013#if FIX_CONF_MODE
     3014  // Set correct value of targetLayerId
     3015  Int targetOlsIdx = params->getTargetOutputLayerSetIdx();
     3016  Int targetLsIdx = vps->getOutputLayerSetIdx( targetOlsIdx );
     3017  params->setTargetLayerId( vps->getLayerSetLayerIdList( targetLsIdx, vps->getNumLayersInIdList(targetLsIdx)-1 ) );
     3018#endif
    30133019}
    30143020#endif
Note: See TracChangeset for help on using the changeset viewer.