krita
KisF16HalfBaseColorSpace Class Reference
Inheritance diagram for KisF16HalfBaseColorSpace:

Detailed Description
Definition at line 61 of file kis_f16half_base_colorspace.h.
Public Member Functions | |
KisF16HalfBaseColorSpace (const KisID &id, DWORD cmType, icColorSpaceSignature colorSpaceSignature, KisColorSpaceFactoryRegistry *parent, KisProfile *p) | |
virtual Q_UINT8 | getAlpha (const Q_UINT8 *pixel) const |
virtual void | setAlpha (Q_UINT8 *pixels, Q_UINT8 alpha, Q_INT32 nPixels) const |
virtual void | multiplyAlpha (Q_UINT8 *pixels, Q_UINT8 alpha, Q_INT32 nPixels) |
virtual void | applyAlphaU8Mask (Q_UINT8 *pixels, Q_UINT8 *alpha, Q_INT32 nPixels) |
virtual void | applyInverseAlphaU8Mask (Q_UINT8 *pixels, Q_UINT8 *alpha, Q_INT32 nPixels) |
virtual QString | channelValueText (const Q_UINT8 *pixel, Q_UINT32 channelIndex) const |
virtual QString | normalisedChannelValueText (const Q_UINT8 *pixel, Q_UINT32 channelIndex) const |
virtual Q_UINT8 | scaleToU8 (const Q_UINT8 *srcPixel, Q_INT32 channelPos) |
virtual Q_UINT16 | scaleToU16 (const Q_UINT8 *srcPixel, Q_INT32 channelPos) |
virtual bool | hasHighDynamicRange () const |
Member Function Documentation
|
Applies the specified 8-bit alpha mask to the pixels. We assume that there are just as many alpha values as pixels but we do not check this; the alpha values are assumed to be 8-bits. Implements KisColorSpace. Definition at line 64 of file kis_f16half_base_colorspace.cc. |
|
Applies the inverted 8-bit alpha mask to the pixels. We assume that there are just as many alpha values as pixels but we do not check this; the alpha values are assumed to be 8-bits. Implements KisColorSpace. Definition at line 80 of file kis_f16half_base_colorspace.cc. |
|
Return a string with the channel's value suitable for display in the gui.
Implements KisAbstractColorSpace. Definition at line 96 of file kis_f16half_base_colorspace.cc. |
|
Get the alpha value of the given pixel, downscaled to an 8-bit value.
Implements KisColorSpace. Definition at line 23 of file kis_f16half_base_colorspace.cc. |
|
Returns true if the colorspace supports channel values outside the (normalised) range 0 to 1.
Reimplemented from KisAbstractColorSpace. Definition at line 86 of file kis_f16half_base_colorspace.h. |
|
Multiply the alpha channel of the given run of pixels by the given value. pixels -- a pointer to the pixels that will have their alpha set to this value alpha -- a downscaled 8-bit value for opacity nPixels -- the number of pixels Implements KisColorSpace. Definition at line 48 of file kis_f16half_base_colorspace.cc. |
|
Return a string with the channel's value with integer channels normalised to the floating point range 0 to 1, if appropriate.
Implements KisAbstractColorSpace. Definition at line 105 of file kis_f16half_base_colorspace.cc. |
|
Convert the value of the channel at the specified position into a 16-bit value. This may be upscaling or downscaling, depending on the defined value of the channel Implements KisAbstractColorSpace. Definition at line 120 of file kis_f16half_base_colorspace.cc. |
|
Convert the value of the channel at the specified position into an 8-bit value. The position is not the number of bytes, but the position of the channel as defined in the channel info list. Implements KisAbstractColorSpace. Definition at line 114 of file kis_f16half_base_colorspace.cc. |
|
Set the alpha channel of the given run of pixels to the given value. pixels -- a pointer to the pixels that will have their alpha set to this value alpha -- a downscaled 8-bit value for opacity nPixels -- the number of pixels Implements KisColorSpace. Definition at line 33 of file kis_f16half_base_colorspace.cc. |
The documentation for this class was generated from the following files: