diff options
author | Torsten Jager <t.jager@gmx.de> | 2012-07-06 21:58:29 +0300 |
---|---|---|
committer | Torsten Jager <t.jager@gmx.de> | 2012-07-06 21:58:29 +0300 |
commit | b31054e542aaacc2c4c83a5e6d398121793d1a37 (patch) | |
tree | d434e18f8279fa7a43c27b13108c08ed2a1a864f /src/video_out/video_out_opengl.c | |
parent | 97841e0e129d0708750789a28fbaf8cb67b9ce26 (diff) | |
download | xine-lib-b31054e542aaacc2c4c83a5e6d398121793d1a37.tar.gz xine-lib-b31054e542aaacc2c4c83a5e6d398121793d1a37.tar.bz2 |
yuv2rgb: added color matrix and fullrange support
Diffstat (limited to 'src/video_out/video_out_opengl.c')
-rw-r--r-- | src/video_out/video_out_opengl.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/video_out/video_out_opengl.c b/src/video_out/video_out_opengl.c index 570afa2fd..e6108f0db 100644 --- a/src/video_out/video_out_opengl.c +++ b/src/video_out/video_out_opengl.c @@ -1640,7 +1640,8 @@ static int opengl_set_property (vo_driver_t *this_gen, this->yuv2rgb_factory->set_csc_levels (this->yuv2rgb_factory, this->yuv2rgb_brightness, this->yuv2rgb_contrast, - this->yuv2rgb_saturation); + this->yuv2rgb_saturation, + CM_DEFAULT); this->sc.force_redraw = 1; break; case VO_PROP_CONTRAST: @@ -1648,7 +1649,8 @@ static int opengl_set_property (vo_driver_t *this_gen, this->yuv2rgb_factory->set_csc_levels (this->yuv2rgb_factory, this->yuv2rgb_brightness, this->yuv2rgb_contrast, - this->yuv2rgb_saturation); + this->yuv2rgb_saturation, + CM_DEFAULT); this->sc.force_redraw = 1; break; case VO_PROP_SATURATION: @@ -1656,7 +1658,8 @@ static int opengl_set_property (vo_driver_t *this_gen, this->yuv2rgb_factory->set_csc_levels (this->yuv2rgb_factory, this->yuv2rgb_brightness, this->yuv2rgb_contrast, - this->yuv2rgb_saturation); + this->yuv2rgb_saturation, + CM_DEFAULT); this->sc.force_redraw = 1; break; default: @@ -1889,7 +1892,8 @@ static vo_driver_t *opengl_open_plugin (video_driver_class_t *class_gen, const v this->yuv2rgb_factory->set_csc_levels (this->yuv2rgb_factory, this->yuv2rgb_brightness, this->yuv2rgb_contrast, - this->yuv2rgb_saturation); + this->yuv2rgb_saturation, + CM_DEFAULT); XLockDisplay (this->display); this->xoverlay = x11osd_create (this->xine, this->display, this->screen, |