7#ifndef KOLABCOLORSPACE_H
8#define KOLABCOLORSPACE_H
34 void fromQColor(
const QColor& color, quint8 *dst)
const override;
36 void toQColor(
const quint8 *src, QColor *c)
const override;
38 void toHSY(
const QVector<double> &channelValues, qreal *hue, qreal *sat, qreal *luma)
const override;
39 QVector <double>
fromHSY(qreal *hue, qreal *sat, qreal *luma)
const override;
41 QVector <double>
fromYUV(qreal *y, qreal *
u, qreal *
v)
const override;
42 quint8
scaleToU8(
const quint8 * srcPixel, qint32 channelIndex)
const override;
66 i18n(
"L*a*b* (16-bit integer/channel, unmanaged)"),
const KoID Integer16BitsColorDepthID("U16", ki18n("16-bit integer/channel"))
const KoID LABAColorModelID("LABA", ki18n("L*a*b*/Alpha"))
KoColorSpace * createColorSpace(const KoColorProfile *) const override
static const quint32 MAX_CHANNEL_L
void toQColor(const quint8 *src, QColor *c) const override
void convertChannelToVisualRepresentation(const quint8 *src, quint8 *dst, quint32 nPixels, const qint32 selectedChannelIndex) const override
static const quint32 CHANNEL_ALPHA
QVector< double > fromHSY(qreal *hue, qreal *sat, qreal *luma) const override
QVector< double > fromYUV(qreal *y, qreal *u, qreal *v) const override
static const quint32 CHANNEL_A
static const quint32 CHANNEL_AB_ZERO_OFFSET
~KoLabColorSpace() override
static const quint32 CHANNEL_L
static const quint32 CHANNEL_B
virtual KoColorSpace * clone() const
void toYUV(const QVector< double > &channelValues, qreal *y, qreal *u, qreal *v) const override
static QString colorSpaceId()
void fromQColor(const QColor &color, quint8 *dst) const override
void toHSY(const QVector< double > &channelValues, qreal *hue, qreal *sat, qreal *luma) const override
static const quint32 MAX_CHANNEL_AB
quint8 scaleToU8(const quint8 *srcPixel, qint32 channelIndex) const override