[gegl] opencl: in ycbcraf_to_rgbaf call gamma_2_2_to_linear not l_to_g
- From: Massimo Valentini <mvalentini src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] opencl: in ycbcraf_to_rgbaf call gamma_2_2_to_linear not l_to_g
- Date: Tue, 20 Nov 2012 17:49:50 +0000 (UTC)
commit a01c29e88597c75643eec65e9107a39795b74f06
Author: Massimo Valentini <mvalentini src gnome org>
Date: Tue Nov 20 18:45:10 2012 +0100
opencl: in ycbcraf_to_rgbaf call gamma_2_2_to_linear not l_to_g
gegl/opencl/gegl-cl-color-kernel.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gegl/opencl/gegl-cl-color-kernel.h b/gegl/opencl/gegl-cl-color-kernel.h
index e485ecd..72e9f34 100644
--- a/gegl/opencl/gegl-cl-color-kernel.h
+++ b/gegl/opencl/gegl-cl-color-kernel.h
@@ -293,9 +293,9 @@ static const char* kernel_color_source =
" 1.0f * in_v.x + 1.772f * in_v.y + 0.0f * in_v.z, \n"
" 0.0f); \n"
" \n"
-" out_v = (float4)(linear_to_gamma_2_2(rgb.x), \n"
-" linear_to_gamma_2_2(rgb.y), \n"
-" linear_to_gamma_2_2(rgb.z), \n"
+" out_v = (float4)(gamma_2_2_to_linear(rgb.x), \n"
+" gamma_2_2_to_linear(rgb.y), \n"
+" gamma_2_2_to_linear(rgb.z), \n"
" in_v.w); \n"
" out[gid] = out_v; \n"
"} \n"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]