Changeset 1434 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibCommon/SEI.h
- Timestamp:
- 11 Aug 2015, 20:47:57 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/SEI.h
r1335 r1434 89 89 SEGM_RECT_FRAME_PACKING = 138, 90 90 TEMP_MOTION_CONSTRAINED_TILE_SETS = 139, 91 CHROMA_ SAMPLING_FILTER_HINT= 140,91 CHROMA_RESAMPLING_FILTER_HINT = 140, 92 92 KNEE_FUNCTION_INFO = 141, 93 93 #if Q0074_COLOUR_REMAPPING_SEI … … 465 465 }; 466 466 467 class SEIChromaSamplingFilterHint : public SEI 468 { 469 public: 470 PayloadType payloadType() const {return CHROMA_SAMPLING_FILTER_HINT;} 471 SEIChromaSamplingFilterHint() {} 472 virtual ~SEIChromaSamplingFilterHint() { 473 if(m_verChromaFilterIdc == 1) 474 { 475 for(Int i = 0; i < m_numVerticalFilters; i ++) 476 { 477 free(m_verFilterCoeff[i]); 478 } 479 free(m_verFilterCoeff); 480 free(m_verTapLengthMinus1); 481 } 482 if(m_horChromaFilterIdc == 1) 483 { 484 for(Int i = 0; i < m_numHorizontalFilters; i ++) 485 { 486 free(m_horFilterCoeff[i]); 487 } 488 free(m_horFilterCoeff); 489 free(m_horTapLengthMinus1); 490 } 491 } 492 493 Int m_verChromaFilterIdc; 494 Int m_horChromaFilterIdc; 495 Bool m_verFilteringProcessFlag; 496 Int m_targetFormatIdc; 497 Bool m_perfectReconstructionFlag; 498 Int m_numVerticalFilters; 499 Int* m_verTapLengthMinus1; 500 Int** m_verFilterCoeff; 501 Int m_numHorizontalFilters; 502 Int* m_horTapLengthMinus1; 503 Int** m_horFilterCoeff; 467 class SEIChromaResamplingFilterHint : public SEI 468 { 469 public: 470 PayloadType payloadType() const {return CHROMA_RESAMPLING_FILTER_HINT;} 471 SEIChromaResamplingFilterHint() {} 472 virtual ~SEIChromaResamplingFilterHint() {} 473 474 Int m_verChromaFilterIdc; 475 Int m_horChromaFilterIdc; 476 Bool m_verFilteringFieldProcessingFlag; 477 Int m_targetFormatIdc; 478 Bool m_perfectReconstructionFlag; 479 std::vector<std::vector<Int> > m_verFilterCoeff; 480 std::vector<std::vector<Int> > m_horFilterCoeff; 504 481 }; 505 482
Note: See TracChangeset for help on using the changeset viewer.