VDPAU
Data Fields
VdpProcamp Struct Reference

Procamp operation parameterization data. More...

#include <vdpau.h>

Data Fields

uint32_t struct_version
 
float brightness
 
float contrast
 
float saturation
 
float hue
 

Detailed Description

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.

Field Documentation

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


The documentation for this struct was generated from the following file: