1 #ifndef SCCOLORSPACEDATA_CMYKA_H
2 #define SCCOLORSPACEDATA_CMYKA_H
7 #include "sccolorprofile.h"
8 #include "sccolorspacedata.h"
10 template<
typename T, eColorFormat COLORFORMAT>
23 virtual uint alphaIndex(
void)
const {
return m_aIndex; }
24 virtual void flattenAlpha(
void* dataIn, uint numElems)
const;
27 template<
typename T, eColorFormat COLORFORMAT>
30 m_colorFormat = COLORFORMAT;
32 if (m_colorFormat == Format_CMYKA_8 || m_colorFormat == Format_CMYKA_16)
46 assert(m_profile.colorSpace() == ColorSpace_Cmyk || m_profile.colorSpace() == ColorSpace_Cmy);
50 template<
typename T, eColorFormat COLORFORMAT>
53 T* data = ((T*) dataIn) + m_aIndex;
54 T nLimit = std::numeric_limits<T>::max();
Definition: sccolorspacedata_cmyka.h:11
Definition: sccolorprofile.h:16
Definition: sccolorspacedata.h:17