openshot-audio
0.1.5
|
#include <juce_PixelFormats.h>
Public Types | |
enum | { indexA = 0 } |
Represents an 8-bit single-channel pixel, and can perform compositing operations on it.
This is used internally by the imaging classes.
anonymous enum |
|
inlinenoexcept |
Creates a pixel without defining its colour.
|
inlinenoexcept |
|
inlinenoexcept |
Blends another pixel onto this one.
This takes into account the opacity of the pixel being overlaid, and blends it accordingly.
|
inlinenoexcept |
Blends another pixel onto this one, applying an extra multiplier to its opacity.
The opacity of the pixel being overlaid is scaled by the extraAlpha factor before being used, so this can blend semi-transparently from a PixelRGB argument.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
Return channels with an even index and insert zero bytes between them. This is useful for blending operations. The exact channels which are returned is platform dependent but compatible with the return value of getEvenBytes of the PixelARGB class.
|
inlinenoexcept |
|
inlinenoexcept |
Returns a uint32 which will be in argb order as if constructed with the following mask operation ((alpha << 24) | (red << 16) | (green << 8) | blue).
|
inlinenoexcept |
Returns a uint32 which when written to memory, will be in the order a, r, g, b. In other words, if the return-value is read as a uint8 array then the elements will be in the order of a, r, g, b
|
inlinenoexcept |
Returns a uint32 which represents the pixel in a platform dependent format which is compatible with the native format of a PixelARGB.
|
inlinenoexcept |
Return channels with an odd index and insert zero bytes between them. This is useful for blending operations. The exact channels which are returned is platform dependent but compatible with the return value of getOddBytes of the PixelARGB class.
|
inlinenoexcept |
|
inlinenoexcept |
Multiplies the colour's alpha value with another one.
|
inlinenoexcept |
|
inlinenoexcept |
Premultiplies the pixel's RGB values by its alpha.
|
inlinenoexcept |
Copies another pixel colour over this one.
This doesn't blend it - this colour is simply replaced by the other one.
|
inlinenoexcept |
Replaces the colour's alpha value with another one.
|
inlinenoexcept |
Sets the pixel's colour from individual components.
|
inlinenoexcept |
Blends another pixel with this one, creating a colour that is somewhere between the two, as specified by the amount.
|
inlinenoexcept |
Unpremultiplies the pixel's RGB values.