evas - fix yuv support to no longer ignore 709 colorspace params
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Wed, 27 May 2015 11:17:20 +0000 (20:17 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Wed, 27 May 2015 11:19:46 +0000 (20:19 +0900)
commitcc49c1702b64152144a1fc6534ba9de71a61d4ba
treef3d162a6c39c42ebf1b8a24e23fc20c361de2591
parent80000e993e779caf4317cd595c6c4593d2db8857
evas - fix yuv support to no longer ignore 709 colorspace params

if yuou use 709 instead of 601 yuv (ycbcr) evas will just be wrong and
use 601. this fixes that and implements 709. it also fixes a scaling
bug for yuv in the gl engine. no one noticed but me, so i won't call
this a bug fix, and it can go into the next efl release - no need to
backport unless it actually bothers peolpe (which it seemingly doesn't)
13 files changed:
src/lib/evas/canvas/evas_object_image.c
src/lib/evas/common/evas_convert_colorspace.c
src/lib/evas/common/evas_convert_yuv.c
src/lib/evas/common/evas_convert_yuv.h
src/lib/evas/common/evas_image_main.c
src/modules/evas/engines/gl_common/evas_gl_common.h
src/modules/evas/engines/gl_common/evas_gl_context.c
src/modules/evas/engines/gl_common/evas_gl_image.c
src/modules/evas/engines/gl_common/evas_gl_texture.c
src/modules/evas/engines/gl_common/shader/evas_gl_enum.x
src/modules/evas/engines/gl_common/shader/evas_gl_shaders.x
src/modules/evas/engines/gl_common/shader/fragment.glsl
src/modules/evas/engines/gl_common/shader/shaders.txt