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.
This commit is contained in:
Carsten Haitzler 2017-02-23 11:43:43 +09:00
parent b7780814fb
commit 7d4e417ea8
1 changed files with 11 additions and 0 deletions

View File

@ -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 },