1 #ifndef SCCOLORSPACEDATA_GRAY_H
2 #define SCCOLORSPACEDATA_GRAY_H
7 #include "sccolorprofile.h"
8 #include "sccolorspacedata.h"
10 template<
typename T, eColorFormat COLORFORMAT>
16 virtual uint alphaIndex(
void)
const {
return 0; }
17 virtual void flattenAlpha(
void* dataIn, uint numElems)
const {};
20 template<
typename T, eColorFormat COLORFORMAT>
23 m_colorFormat = COLORFORMAT;
25 assert(m_colorFormat == Format_GRAY_8 || m_colorFormat == Format_GRAY_16);
28 assert(m_profile.colorSpace() == ColorSpace_Gray);
Definition: sccolorprofile.h:16
Definition: sccolorspacedata.h:17
Definition: sccolorspacedata_gray.h:11