Changeset 1037 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibCommon


Ignore:
Timestamp:
27 Feb 2015, 21:05:56 (11 years ago)
Author:
seregin
Message:

implementation of alpha channel SEI (JCTVC-P0123) with macro P0123_ALPHA_CHANNEL_SEI, patch was provided by Matteo Naccari <Matteo.Naccari@…>

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

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibCommon/SEI.cpp

    r1029 r1037  
    162162    case SEI::OVERLAY_INFO:                         return "Overlay Information";
    163163#endif
     164#if P0123_ALPHA_CHANNEL_SEI
     165    case SEI::ALPHA_CHANNEL_INFO:                   return "Alpha Channel Information";
     166#endif
    164167#endif
    165168    default:                                        return "Unknown";
  • branches/SHM-dev/source/Lib/TLibCommon/SEI.h

    r1029 r1037  
    121121#endif
    122122#if Q0096_OVERLAY_SEI
    123     OVERLAY_INFO                         = 153,   
     123    OVERLAY_INFO                         = 153,
     124#endif
     125#if P0123_ALPHA_CHANNEL_SEI
     126    ALPHA_CHANNEL_INFO                   = 165,
    124127#endif
    125128  };
     
    670673#endif
    671674
     675#if P0123_ALPHA_CHANNEL_SEI
     676class SEIAlphaChannelInfo : public SEI
     677{
     678public:
     679  PayloadType payloadType() const { return ALPHA_CHANNEL_INFO; }
     680  SEIAlphaChannelInfo() {}
     681  virtual ~SEIAlphaChannelInfo() {}
     682  Bool m_alphaChannelCancelFlag;
     683  UInt m_alphaChannelUseIdc;
     684  UInt m_alphaChannelBitDepthMinus8;
     685  UInt m_alphaTransparentValue;
     686  UInt m_alphaOpaqueValue;
     687  Bool m_alphaChannelIncrFlag;
     688  Bool m_alphaChannelClipFlag;
     689  Bool m_alphaChannelClipTypeFlag;
     690};
     691#endif
     692
    672693#if Q0096_OVERLAY_SEI
    673694class SEIOverlayInfo : public SEI
  • branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h

    r1031 r1037  
    341341# define MAX_OVERLAY_STRING_BYTES        256
    342342#endif
     343#define P0123_ALPHA_CHANNEL_SEI          1      ///< JCTVC-P0123: SEI message for alpha channel information
    343344
    344345#endif // SVC_EXTENSION
Note: See TracChangeset for help on using the changeset viewer.