Changeset 912 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibCommon
- Timestamp:
- 31 Oct 2014, 18:18:38 (10 years ago)
- Location:
- branches/SHM-dev/source/Lib/TLibCommon
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/SEI.h
r894 r912 111 111 FRAME_FIELD_INFO = 147, 112 112 #endif 113 #if Q0096_OVERLAY_SEI 114 OVERLAY_INFO = 166, 115 #endif 113 116 }; 114 117 … … 699 702 #endif 700 703 704 #if Q0096_OVERLAY_SEI 705 class SEIOverlayInfo : public SEI 706 { 707 public: 708 PayloadType payloadType() const { return OVERLAY_INFO; } 709 SEIOverlayInfo() 710 : m_numOverlaysMinus1(-1) 711 {} 712 713 virtual ~SEIOverlayInfo() 714 { 715 for (Int i=0 ; i<=m_numOverlaysMinus1 ; i++) 716 { 717 delete [] m_overlayLanguage[i]; 718 delete [] m_overlayName[i]; 719 for (Int j=0 ; j<=m_numOverlayElementsMinus1[i] ; j++) 720 { 721 delete [] m_overlayElementName[i][j]; 722 } 723 } 724 } 725 726 Bool m_overlayInfoCancelFlag; 727 UInt m_overlayContentAuxIdMinus128; 728 UInt m_overlayLabelAuxIdMinus128; 729 UInt m_overlayAlphaAuxIdMinus128; 730 UInt m_overlayElementLabelValueLengthMinus8; 731 UInt m_numOverlaysMinus1; 732 std::vector<UInt> m_overlayIdx; 733 std::vector<Bool> m_languageOverlayPresentFlag; 734 std::vector<UInt> m_overlayContentLayerId; 735 std::vector<Bool> m_overlayLabelPresentFlag; 736 std::vector<UInt> m_overlayLabelLayerId; 737 std::vector<Bool> m_overlayAlphaPresentFlag; 738 std::vector<UInt> m_overlayAlphaLayerId; 739 std::vector<UInt> m_numOverlayElementsMinus1; 740 std::vector< std::vector<UInt> > m_overlayElementLabelMin; 741 std::vector< std::vector<UInt> > m_overlayElementLabelMax; 742 std::vector<UChar*> m_overlayLanguage; 743 std::vector<UInt> m_overlayLanguageLength; 744 std::vector<UChar*> m_overlayName; 745 std::vector<UInt> m_overlayNameLength; 746 std::vector< std::vector<UChar*> > m_overlayElementName; 747 std::vector< std::vector<UInt> > m_overlayElementNameLength; 748 Bool m_overlayInfoPersistenceFlag; 749 }; 750 #endif 751 701 752 //! \} -
branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h
r910 r912 320 320 #define Q0247_FRAME_FIELD_INFO 1 ///< JCTVC-Q0247: field_frame_info SEI message 321 321 #define R0247_SEI_ACTIVE 1 ///< JCTVC-R0247: active parameter sets SEI message 322 #define Q0096_OVERLAY_SEI 1 ///< JCTVC-Q0096, JCTVC-Q0045: selectable overlays SEI message 323 #if Q0096_OVERLAY_SEI 324 # define MAX_OVERLAYS 16 325 # define MAX_OVERLAY_ELEMENTS 256 326 # define MAX_OVERLAY_STRING_BYTES 256 327 #endif 322 328 323 329 #endif // SVC_EXTENSION
Note: See TracChangeset for help on using the changeset viewer.