|
Krita Source Code Documentation
|
#include <KoOptimizedCompositeOpOver32.h>
Inheritance diagram for KoOptimizedCompositeOpOver32< _impl >:Public Member Functions | |
| template<bool haveMask> | |
| void | composite (const KoCompositeOp::ParameterInfo ¶ms) const |
| void | composite (const KoCompositeOp::ParameterInfo ¶ms) const override |
| virtual void | composite (const ParameterInfo ¶ms) const |
| void | composite (quint8 *dstRowStart, qint32 dstRowStride, const quint8 *srcRowStart, qint32 srcRowStride, const quint8 *maskRowStart, qint32 maskRowStride, qint32 rows, qint32 numColumns, float opacity, const QBitArray &channelFlags=QBitArray()) const |
| KoOptimizedCompositeOpOver32 (const KoColorSpace *cs) | |
Public Member Functions inherited from KoCompositeOp | |
| QString | category () const |
| const KoColorSpace * | colorSpace () const |
| void | composite (quint8 *dstRowStart, qint32 dstRowStride, const quint8 *srcRowStart, qint32 srcRowStride, const quint8 *maskRowStart, qint32 maskRowStride, qint32 rows, qint32 numColumns, float opacity, const QBitArray &channelFlags=QBitArray()) const |
| QString | description () const |
| QString | id () const |
| KoCompositeOp (const KoColorSpace *cs, const QString &id, const QString &category=KoCompositeOp::categoryMisc()) | |
| virtual | ~KoCompositeOp () |
Public Member Functions inherited from Private | |
| Private (KisCanvas2 *c) | |
Additional Inherited Members | |
Static Public Member Functions inherited from KoCompositeOp | |
| static QString | categoryArithmetic () |
| static QString | categoryBinary () |
| static QString | categoryDark () |
| static QString | categoryHSI () |
| static QString | categoryHSL () |
| static QString | categoryHSV () |
| static QString | categoryHSY () |
| static QString | categoryLight () |
| static QString | categoryMisc () |
| static QString | categoryMix () |
| static QString | categoryModulo () |
| static QString | categoryNegative () |
| static QString | categoryQuadratic () |
Public Attributes inherited from KoCompositeOp | |
| QString | category |
| const KoColorSpace * | colorSpace |
| QBitArray | defaultChannelFlags |
| QString | description |
| QString | id |
Public Attributes inherited from Private | |
| KisCanvas2 * | canvas |
| int | displayedFrame |
| int | intendedFrame |
An optimized version of a composite op for the use in 4 byte colorspaces with alpha channel placed at the last byte of the pixel: C1_C2_C3_A.
Definition at line 201 of file KoOptimizedCompositeOpOver32.h.
|
inline |
Definition at line 204 of file KoOptimizedCompositeOpOver32.h.
|
inlinevirtual |
Same as previous, but uses a parameter structure
Reimplemented from KoCompositeOp.
Definition at line 219 of file KoOptimizedCompositeOpOver32.h.
References KoCompositeOp::ParameterInfo::channelFlags.
|
inlineoverridevirtual |
Same as previous, but uses a parameter structure
Reimplemented from KoCompositeOp.
Definition at line 209 of file KoOptimizedCompositeOpOver32.h.
References KoCompositeOp::ParameterInfo::maskRowStart.
|
virtual |
Same as previous, but uses a parameter structure
Reimplemented from KoCompositeOp.
Definition at line 123 of file KoCompositeOp.cpp.
| void KoCompositeOp::composite | ( | quint8 * | dstRowStart, |
| qint32 | dstRowStride, | ||
| const quint8 * | srcRowStart, | ||
| qint32 | srcRowStride, | ||
| const quint8 * | maskRowStart, | ||
| qint32 | maskRowStride, | ||
| qint32 | rows, | ||
| qint32 | numColumns, | ||
| float | opacity, | ||
| const QBitArray & | channelFlags = QBitArray() ) const |
| dstRowStart | pointer to the start of the byte array we will composite the source on |
| dstRowStride | length of the rows of the block of destination pixels in bytes |
| srcRowStart | pointer to the start of the byte array we will mix with dest |
| srcRowStride | length of the rows of the block of src in bytes pixels (may be different from the rowstride of the dst pixels, in which case the smaller value is used). If srcRowStride is null it is assumed that the source is a constant color. |
| maskRowStart | start of the byte mask that determines whether and if so, then how much of src is used for blending |
| maskRowStride | length of the mask scanlines in bytes |
| rows | number of scanlines to blend |
| numColumns | length of the row of pixels in pixels |
| opacity | transparency with which to blend |
| channelFlags | a bit array that determines which channels should be processed (channels are in the order of the channels in the colorspace) |
Definition at line 113 of file KoCompositeOp.cpp.