1 #ifndef SCCOLORSPACEDATA_RGB_H
2 #define SCCOLORSPACEDATA_RGB_H
7 #include "sccolorprofile.h"
8 #include "sccolorspacedata.h"
10 template<
typename T, eColorFormat COLORFORMAT>
21 virtual uint alphaIndex(
void)
const {
return 0; }
22 virtual void flattenAlpha(
void* dataIn, uint numElems)
const {};
25 template<
typename T, eColorFormat COLORFORMAT>
28 m_colorFormat = COLORFORMAT;
30 if (m_colorFormat == Format_RGB_8 || m_colorFormat == Format_RGB_16)
42 assert(m_profile.colorSpace() == ColorSpace_Rgb);
Definition: sccolorprofile.h:16
Definition: sccolorspacedata.h:17
Definition: sccolorspacedata_rgb.h:11