Changeset 694 in SHVCSoftware for branches/SHM-6-dev/source/Lib/TLibCommon
- Timestamp:
- 18 Apr 2014, 19:14:51 (12 years ago)
- Location:
- branches/SHM-6-dev/source/Lib/TLibCommon
- Files:
-
- 4 edited
-
SEI.h (modified) (2 diffs)
-
TComDataCU.cpp (modified) (1 diff)
-
TComUpsampleFilter.cpp (modified) (3 diffs)
-
TypeDef.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-6-dev/source/Lib/TLibCommon/SEI.h
r652 r694 79 79 #endif 80 80 #if N0383_IL_CONSTRAINED_TILE_SETS_SEI 81 INTER_LAYER_CONSTRAINED_TILE_SETS = 138 81 INTER_LAYER_CONSTRAINED_TILE_SETS = 138, 82 82 #endif 83 83 #if SUB_BITSTREAM_PROPERTY_SEI 84 ,SUB_BITSTREAM_PROPERTY = 139// Final PayloadType to be defined after finalization84 SUB_BITSTREAM_PROPERTY = 139, // Final PayloadType to be defined after finalization 85 85 #endif 86 86 #if O0164_MULTI_LAYER_HRD 87 ,BSP_NESTING = 140 88 ,BSP_INITIAL_ARRIVAL_TIME = 141 89 ,BSP_HRD = 142 87 BSP_NESTING = 140, 88 BSP_INITIAL_ARRIVAL_TIME = 141, 89 BSP_HRD = 142, 90 #endif 91 #if Q0074_SEI_COLOR_MAPPING 92 COLOR_MAPPING_INFO = 143, 90 93 #endif 91 94 }; … … 405 408 }; 406 409 410 #if Q0074_SEI_COLOR_MAPPING 411 class SEIColorMappingInfo : public SEI 412 { 413 public: 414 PayloadType payloadType() const { return COLOR_MAPPING_INFO; } 415 SEIColorMappingInfo() { 416 } 417 virtual ~SEIColorMappingInfo() {} 418 419 Int m_colorMapId; 420 Bool m_colorMapCancelFlag; 421 Bool m_colorMapPersistenceFlag; 422 Bool m_colorMap_video_signal_type_present_flag; 423 Bool m_colorMap_video_full_range_flag; 424 UChar m_colorMap_primaries; 425 UChar m_colorMap_transfer_characteristics; 426 UChar m_colorMap_matrix_coeffs; 427 UChar m_colorMapModelId; 428 429 Int m_colour_map_coded_data_bit_depth; 430 Int m_colour_map_target_bit_depth; 431 432 Int m_num_input_pivots[3]; 433 Int* m_coded_input_pivot_value[3]; 434 Int* m_target_input_pivot_value[3]; 435 436 Bool m_matrix_flag; 437 Int m_log2_matrix_denom; 438 Int m_matrix_coef[3][3]; 439 440 Int m_num_output_pivots[3]; 441 Int* m_coded_output_pivot_value[3]; 442 Int* m_target_output_pivot_value[3]; 443 }; 444 #endif 445 407 446 #if N0383_IL_CONSTRAINED_TILE_SETS_SEI 408 447 class SEIInterLayerConstrainedTileSets : public SEI -
branches/SHM-6-dev/source/Lib/TLibCommon/TComDataCU.cpp
r688 r694 3504 3504 Int topStartL = baseColPic->getSlice(0)->getSPS()->getScaledRefLayerWindowForLayer(baseColPic->getSlice(0)->getVPS()->getRefLayerId(getSlice()->getLayerId(), refLayerIdc)).getWindowTopOffset(); 3505 3505 #if Q0200_CONFORMANCE_BL_SIZE 3506 leftStartL+=baseColPic->getConformanceWindow().getWindowLeftOffset();3507 topStartL+=baseColPic->getConformanceWindow().getWindowTopOffset();3506 leftStartL += baseColPic->getConformanceWindow().getWindowLeftOffset(); 3507 topStartL += baseColPic->getConformanceWindow().getWindowTopOffset(); 3508 3508 #endif 3509 3509 #else -
branches/SHM-6-dev/source/Lib/TLibCommon/TComUpsampleFilter.cpp
r693 r694 127 127 Int strideEL = pcUsPic->getStride(); 128 128 #if Q0200_CONFORMANCE_BL_SIZE 129 const Window &confBL = currSlice->getBaseColPic(refLayerIdc)->getConformanceWindow();130 widthBL-= (confBL.getWindowLeftOffset()+confBL.getWindowRightOffset());131 heightBL-=(confBL.getWindowBottomOffset()+confBL.getWindowTopOffset());129 const Window &confBL = currSlice->getBaseColPic(refLayerIdc)->getConformanceWindow(); 130 widthBL -= (confBL.getWindowLeftOffset() + confBL.getWindowRightOffset()); 131 heightBL -= (confBL.getWindowBottomOffset() + confBL.getWindowTopOffset()); 132 132 #endif 133 133 #if P0312_VERT_PHASE_ADJ … … 322 322 Int leftOffset = leftStartL > 0 ? leftStartL : 0; 323 323 #if Q0200_CONFORMANCE_BL_SIZE 324 leftStartL+= confBL.getWindowLeftOffset()<<4;325 topStartL+= confBL.getWindowTopOffset()<<4;324 leftStartL += confBL.getWindowLeftOffset() << 4; 325 topStartL += confBL.getWindowTopOffset() << 4; 326 326 #endif 327 327 #if N0214_INTERMEDIATE_BUFFER_16BITS … … 419 419 heightBL = pcBasePic->getHeight(); 420 420 #if Q0200_CONFORMANCE_BL_SIZE 421 widthBL-= confBL.getWindowLeftOffset()+confBL.getWindowRightOffset();422 heightBL-=confBL.getWindowBottomOffset()+confBL.getWindowTopOffset();421 widthBL -= confBL.getWindowLeftOffset()+confBL.getWindowRightOffset(); 422 heightBL -= confBL.getWindowBottomOffset()+confBL.getWindowTopOffset(); 423 423 #endif 424 424 widthEL = pcUsPic->getWidth () - scalEL.getWindowLeftOffset() - scalEL.getWindowRightOffset(); -
branches/SHM-6-dev/source/Lib/TLibCommon/TypeDef.h
r693 r694 84 84 85 85 #define O0164_MULTI_LAYER_HRD 1 ///< JCTVC-O0164: Multi-layer HRD operation 86 #define Q0074_SEI_COLOR_MAPPING 1 ///< JCTVC-Q0074, SEI Color Mapping 86 87 87 88 #define O0194_DIFFERENT_BITDEPTH_EL_BL 1 ///< JCTVC-O0194: Support for different bitdepth values for BL and EL, add required configuration parameters (and Some bugfixes when REPN_FORMAT_IN_VPS (JCTVC-N0092) is enabled)
Note: See TracChangeset for help on using the changeset viewer.