7#ifndef _KO_YCbCr_COLORSPACE_TRAITS_H_
8#define _KO_YCbCr_COLORSPACE_TRAITS_H_
14template<
typename _channels_type_>
static const channels_type * nativeArray(const quint8 *a)
static channels_type Cb(quint8 *data)
static const qint32 Y_pos
static const qint32 Cr_pos
static channels_type Cr(quint8 *data)
static const qint32 Cb_pos
static void setCr(quint8 *data, channels_type nv)
Set the Cr component.
KoColorSpaceTrait< _channels_type_, 4, 3 > parent
static void setCb(quint8 *data, channels_type nv)
Set the Cb component.
static void setY(quint8 *data, channels_type nv)
Set the Y component.
_channels_type_ channels_type
static channels_type Y(quint8 *data)