From 2d1062ff48227cebf157d4efd91be9cab91e2d81 Mon Sep 17 00:00:00 2001 From: Guenter Bartsch Date: Wed, 11 Jul 2001 21:03:42 +0000 Subject: fixed 15 bit support (mmx) CVS patchset: 271 CVS date: 2001/07/11 21:03:42 --- src/video_out/yuv2rgb.c | 3 ++- src/video_out/yuv2rgb_mmx.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/video_out/yuv2rgb.c b/src/video_out/yuv2rgb.c index ce88f95c5..e69d90824 100644 --- a/src/video_out/yuv2rgb.c +++ b/src/video_out/yuv2rgb.c @@ -64,9 +64,10 @@ int yuv2rgb_setup (yuv2rgb_t *this, int y_stride, int uv_stride, int dest_width, int dest_height, int rgb_stride) { - + /* printf ("yuv2rgb setup (%d x %d => %d x %d)\n", source_width, source_height, dest_width, dest_height); + */ this->source_width = source_width; this->source_height = source_height; this->y_stride = y_stride; diff --git a/src/video_out/yuv2rgb_mmx.c b/src/video_out/yuv2rgb_mmx.c index 0a21f874f..1bcf070d7 100644 --- a/src/video_out/yuv2rgb_mmx.c +++ b/src/video_out/yuv2rgb_mmx.c @@ -521,7 +521,7 @@ static inline void yuv420_rgb15 (yuv2rgb_t *this, /* printf ("i : %d\n",i); */ mmx_yuv2rgb (y_buf, u_buf, v_buf); - mmx_unpack_16rgb (img, cpu); + mmx_unpack_15rgb (img, cpu); y_buf += 8; u_buf += 4; v_buf += 4; -- cgit v1.2.3