summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/vdpau/mixer.c
diff options
context:
space:
mode:
authorNayan Deshmukh <[email protected]>2016-06-10 21:04:08 +0530
committerEmil Velikov <[email protected]>2016-06-14 15:32:04 +0100
commitfdec8f9e42cc29efa275064be3cf7ae030bfebe7 (patch)
tree1551640bb80d3107f7bd44f0fe02dbc3db039dc4 /src/gallium/state_trackers/vdpau/mixer.c
parente7ab358e8186dd8651cf920d4db1500c60ccd2fc (diff)
st/vdpau: replace 0.f and 1.f with 0.0f and 1.0f respectively
Signed-off-by: Nayan Deshmukh <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/vdpau/mixer.c')
-rw-r--r--src/gallium/state_trackers/vdpau/mixer.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/state_trackers/vdpau/mixer.c b/src/gallium/state_trackers/vdpau/mixer.c
index b12a5807f12..65c3ce2b9e1 100644
--- a/src/gallium/state_trackers/vdpau/mixer.c
+++ b/src/gallium/state_trackers/vdpau/mixer.c
@@ -693,7 +693,7 @@ vlVdpVideoMixerSetAttributeValues(VdpVideoMixer mixer,
case VDP_VIDEO_MIXER_ATTRIBUTE_NOISE_REDUCTION_LEVEL:
val = *(float*)attribute_values[i];
- if (val < 0.f || val > 1.f) {
+ if (val < 0.0f || val > 1.0f) {
ret = VDP_STATUS_INVALID_VALUE;
goto fail;
}
@@ -704,7 +704,7 @@ vlVdpVideoMixerSetAttributeValues(VdpVideoMixer mixer,
case VDP_VIDEO_MIXER_ATTRIBUTE_LUMA_KEY_MIN_LUMA:
val = *(float*)attribute_values[i];
- if (val < 0.f || val > 1.f) {
+ if (val < 0.0f || val > 1.0f) {
ret = VDP_STATUS_INVALID_VALUE;
goto fail;
}
@@ -716,7 +716,7 @@ vlVdpVideoMixerSetAttributeValues(VdpVideoMixer mixer,
case VDP_VIDEO_MIXER_ATTRIBUTE_LUMA_KEY_MAX_LUMA:
val = *(float*)attribute_values[i];
- if (val < 0.f || val > 1.f) {
+ if (val < 0.0f || val > 1.0f) {
ret = VDP_STATUS_INVALID_VALUE;
goto fail;
}
@@ -729,7 +729,7 @@ vlVdpVideoMixerSetAttributeValues(VdpVideoMixer mixer,
case VDP_VIDEO_MIXER_ATTRIBUTE_SHARPNESS_LEVEL:
val = *(float*)attribute_values[i];
- if (val < -1.f || val > 1.f) {
+ if (val < -1.0f || val > 1.0f) {
ret = VDP_STATUS_INVALID_VALUE;
goto fail;
}