raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=7d4e417ea8d850abd1a2ac42ee03446cb6766937

commit 7d4e417ea8d850abd1a2ac42ee03446cb6766937
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Thu Feb 23 11:43:43 2017 +0900

    emotion XXX - make nv12 709 streams work even with slightly off colors
    
    ther eis no 709 nv12 support support in evas but there is 601, so use
    that for now until we add the feature of 709 nv12 support.
---
 src/modules/emotion/gstreamer1/emotion_convert.c | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/src/modules/emotion/gstreamer1/emotion_convert.c 
b/src/modules/emotion/gstreamer1/emotion_convert.c
index db83477..e92b8c4 100644
--- a/src/modules/emotion/gstreamer1/emotion_convert.c
+++ b/src/modules/emotion/gstreamer1/emotion_convert.c
@@ -162,6 +162,17 @@ const ColorSpace_Format_Convertion 
colorspace_format_convertion[] = {
      EVAS_COLORSPACE_YCBCR422601_PL, _evas_video_yuy2, EINA_FALSE },
   { "NV12", GST_VIDEO_FORMAT_NV12, GST_VIDEO_COLOR_MATRIX_BT601,
      EVAS_COLORSPACE_YCBCR420NV12601_PL, _evas_video_nv12, EINA_TRUE },
+   // XXX:
+   // XXX: need to add nv12 709 colorspace support to evas itself.
+   // XXX: this makes gst streams work when they are nv12 709 but maybe
+   // XXX: will display in slightly off color.. but in the end this needs
+   // XXX: fixing to display correctly.
+   // XXX:
+  { "NV12-709", GST_VIDEO_FORMAT_NV12, GST_VIDEO_COLOR_MATRIX_BT709,
+     EVAS_COLORSPACE_YCBCR420NV12601_PL, _evas_video_nv12, EINA_TRUE },
+   // XXX:
+   // XXX:
+   // XXX:
 
   { "BGR", GST_VIDEO_FORMAT_BGR, GST_VIDEO_COLOR_MATRIX_UNKNOWN,
      EVAS_COLORSPACE_ARGB8888, _evas_video_bgr, EINA_FALSE },

-- 


Reply via email to