VDPAU
|
Procamp operation parameterization data. More...
#include <vdpau.h>
Data Fields | |
uint32_t | struct_version |
float | brightness |
float | contrast |
float | saturation |
float | hue |
Procamp operation parameterization data.
When performing a color space conversion operation, various adjustments can be performed at the same time, such as brightness and contrast. This structure defines the level of adjustments to make.
float VdpProcamp::brightness |
Brightness adjustment amount. A value clamped between -1.0 and 1.0. 0.0 represents no modification.
float VdpProcamp::contrast |
Contrast adjustment amount. A value clamped between 0.0 and 10.0. 1.0 represents no modification.
float VdpProcamp::hue |
Hue adjustment amount. A value clamped between -PI and PI. 0.0 represents no modification.
float VdpProcamp::saturation |
Saturation adjustment amount. A value clamped between 0.0 and 10.0. 1.0 represents no modification.
uint32_t VdpProcamp::struct_version |
This field must be filled with VDP_PROCAMP_VERSION