summaryrefslogtreecommitdiff
path: root/src/video_out
diff options
context:
space:
mode:
authorTorsten Jager <t.jager@gmx.de>2014-05-30 15:05:50 +0200
committerTorsten Jager <t.jager@gmx.de>2014-05-30 15:05:50 +0200
commite3b6a1f138c83633fb9885c793ead4bf6093beab (patch)
tree262a612459078927affc0fa78cc957781fb2500e /src/video_out
parent80a3f2b159cce2573db45291d5aac87c83f9325e (diff)
downloadxine-lib-e3b6a1f138c83633fb9885c793ead4bf6093beab.tar.gz
xine-lib-e3b6a1f138c83633fb9885c793ead4bf6093beab.tar.bz2
Add yuv overlay color matrix support.
"Never assume an API to be stable unless at least 1 month has passed after adding."
Diffstat (limited to 'src/video_out')
-rw-r--r--src/video_out/video_out_opengl2.c2
-rw-r--r--src/video_out/video_out_raw.c2
-rw-r--r--src/video_out/video_out_vaapi.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/video_out/video_out_opengl2.c b/src/video_out/video_out_opengl2.c
index 45c5abf16..c2f7b2012 100644
--- a/src/video_out/video_out_opengl2.c
+++ b/src/video_out/video_out_opengl2.c
@@ -612,7 +612,7 @@ static void opengl2_overlay_blend (vo_driver_t *this_gen, vo_frame_t *frame_gen,
if (overlay->rle) {
if (!overlay->rgb_clut || !overlay->hili_rgb_clut) {
- _x_overlay_clut_yuv2rgb(overlay);
+ _x_overlay_clut_yuv2rgb(overlay, this->color_standard);
}
}
diff --git a/src/video_out/video_out_raw.c b/src/video_out/video_out_raw.c
index a19285707..eee6e6ff4 100644
--- a/src/video_out/video_out_raw.c
+++ b/src/video_out/video_out_raw.c
@@ -140,7 +140,7 @@ static void raw_overlay_blend (vo_driver_t *this_gen, vo_frame_t *frame_gen, vo_
if (overlay->rle) {
if (!overlay->rgb_clut || !overlay->hili_rgb_clut)
- _x_overlay_clut_yuv2rgb (overlay);
+ _x_overlay_clut_yuv2rgb (overlay, 0);
if ( raw_process_ovl( this, overlay ) )
++this->ovl_changed;
}
diff --git a/src/video_out/video_out_vaapi.c b/src/video_out/video_out_vaapi.c
index 823d0fc5a..d4e7d5928 100644
--- a/src/video_out/video_out_vaapi.c
+++ b/src/video_out/video_out_vaapi.c
@@ -2723,7 +2723,7 @@ static void vaapi_overlay_end (vo_driver_t *this_gen, vo_frame_t *frame_gen) {
continue;
if (!ovl->rgb_clut || !ovl->hili_rgb_clut)
- _x_overlay_clut_yuv2rgb (ovl);
+ _x_overlay_clut_yuv2rgb (ovl, this->color_matrix);
bitmap = malloc(ovl->width * ovl->height * sizeof(uint32_t));