cl demosaic: fix kernel typo and move 10 to 16 bits
* fix typo
* bit shfit was done in black level corretion, demosaic only need
consider 16bits not 10 bits.
diff --git a/cl_kernel/kernel_demosaic.cl b/cl_kernel/kernel_demosaic.cl
index f61b824..76a67b4 100644
--- a/cl_kernel/kernel_demosaic.cl
+++ b/cl_kernel/kernel_demosaic.cl
@@ -17,7 +17,6 @@
" float4 p[16]; "
" for (int i = 0; i < 16; ++i) { "
" p[i] = read_imagef (input, sampler, (int2)(x0 + i % 4, y0 + i / 4)); "
-" p[i].x *= 64.0; "
" } "
" "
" float4 p00, p01, p10, p11; "
@@ -37,6 +36,6 @@
" write_imagef (output, (int2)(x, y), p00); "
" write_imagef (output, (int2)(x + 1, y), p01); "
" write_imagef (output, (int2)(x, y + 1), p10); "
-" write_imagef (output, (int2)(x + 1, y + 1), p10); "
+" write_imagef (output, (int2)(x + 1, y + 1), p11); "
"} "