summaryrefslogtreecommitdiff
path: root/src/video_out/yuv2rgb.c
diff options
context:
space:
mode:
authorEwald Snel <esnel@users.sourceforge.net>2003-02-02 13:38:24 +0000
committerEwald Snel <esnel@users.sourceforge.net>2003-02-02 13:38:24 +0000
commit64209c1471e0233275f034fde449e353ae42772a (patch)
treed630fe5029cacec668423065fdb3fd7af94c748c /src/video_out/yuv2rgb.c
parent9fefd435c683d35684017b2f60163d3d93c63f4e (diff)
downloadxine-lib-64209c1471e0233275f034fde449e353ae42772a.tar.gz
xine-lib-64209c1471e0233275f034fde449e353ae42772a.tar.bz2
Fix brightness, saturation control for MMX yuv2rgb using the XShm driver
TODO: don't use globals, fix contrast, fix non-MMX yuv2rgb CVS patchset: 4089 CVS date: 2003/02/02 13:38:24
Diffstat (limited to 'src/video_out/yuv2rgb.c')
-rw-r--r--src/video_out/yuv2rgb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_out/yuv2rgb.c b/src/video_out/yuv2rgb.c
index 76ee74e5b..94664721f 100644
--- a/src/video_out/yuv2rgb.c
+++ b/src/video_out/yuv2rgb.c
@@ -22,7 +22,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
- * $Id: yuv2rgb.c,v 1.38 2003/02/02 12:44:05 esnel Exp $
+ * $Id: yuv2rgb.c,v 1.39 2003/02/02 13:38:24 esnel Exp $
*/
#include "config.h"
@@ -3136,7 +3136,7 @@ void yuv2rgb_set_csc_levels (yuv2rgb_factory_t *this,
(uint8_t *)this->table_bU[i] += this->entry_size*(gamma - this->gamma);
}
#ifdef ARCH_X86
- mmx_yuv2rgb_set_gamma(gamma);
+ mmx_yuv2rgb_set_csc_levels (this, brightness, contrast, saturation);
#endif
this->gamma = gamma;
}