Modifier and Type | Field and Description |
---|---|
protected float |
u |
protected float |
v |
protected float |
y |
Modifier | Constructor and Description |
---|---|
protected |
YUVEntry(float y,
float u,
float v)
Construct YUV color from components.
|
protected |
YUVEntry(int yuvPacked)
Construct YUV color from packed format.
|
Modifier and Type | Method and Description |
---|---|
protected int |
toPacked()
Convert this color to 30-bit quantized packed approximation.
|
protected int |
toRGB(float brightness,
float contrast,
float gamma)
Convert to RGB with parameters
|
protected YUVEntry(float y, float u, float v)
y
- range 0 .. 1u
- range -0.5 .. 0.5v
- range -0.5 .. 0.5protected YUVEntry(int yuvPacked)
yuvPacked
- The packed approximation as 0x00YYUUVV.protected int toPacked()
protected int toRGB(float brightness, float contrast, float gamma)
brightness
- Brightnesscontrast
- Contrastgamma
- GammaCopyright © 2018 Ken Händel. All rights reserved.