diff options
author | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-07-11 21:03:42 +0000 |
---|---|---|
committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-07-11 21:03:42 +0000 |
commit | 2d1062ff48227cebf157d4efd91be9cab91e2d81 (patch) | |
tree | 77142e5007a09e8c4853dc20dfa58bec5bbcba1c | |
parent | 1d1c29e5c5ebd797fc94273cb9108cf395cb0188 (diff) | |
download | xine-lib-2d1062ff48227cebf157d4efd91be9cab91e2d81.tar.gz xine-lib-2d1062ff48227cebf157d4efd91be9cab91e2d81.tar.bz2 |
fixed 15 bit support (mmx)
CVS patchset: 271
CVS date: 2001/07/11 21:03:42
-rw-r--r-- | src/video_out/yuv2rgb.c | 3 | ||||
-rw-r--r-- | 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; |