summaryrefslogtreecommitdiff
path: root/src/video_out/yuv2rgb_mmx.c
diff options
context:
space:
mode:
authoruid56437 <none@none>2001-07-04 14:01:50 +0000
committeruid56437 <none@none>2001-07-04 14:01:50 +0000
commit2806c8c5cd03db19886b75fa05b6e50d7d4815e1 (patch)
treee2d53ad177487c5d502c328a4c250c4416a99315 /src/video_out/yuv2rgb_mmx.c
parent42f2eda318a4ab08536f46d344fd5e7ef6e96611 (diff)
downloadxine-lib-2806c8c5cd03db19886b75fa05b6e50d7d4815e1.tar.gz
xine-lib-2806c8c5cd03db19886b75fa05b6e50d7d4815e1.tar.bz2
* mediaLib accelerated yuv2rgb conversion routines (for sparc solaris)
* fix a few compiler warnings in video_out_syncfb.c * yuv2rgb overwrites memory when vertical scale factor is exactly 2.0 (step_dy == 16384) CVS patchset: 244 CVS date: 2001/07/04 14:01:50
Diffstat (limited to 'src/video_out/yuv2rgb_mmx.c')
-rw-r--r--src/video_out/yuv2rgb_mmx.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/video_out/yuv2rgb_mmx.c b/src/video_out/yuv2rgb_mmx.c
index 7cbebf8c1..0a21f874f 100644
--- a/src/video_out/yuv2rgb_mmx.c
+++ b/src/video_out/yuv2rgb_mmx.c
@@ -425,7 +425,7 @@ static inline void yuv420_rgb16 (yuv2rgb_t *this,
dy += this->step_dy;
image += rgb_stride;
- while (dy <= 32768) {
+ while (dy < 32768) {
memcpy (image, image-rgb_stride, this->dest_width*2);
@@ -531,7 +531,7 @@ static inline void yuv420_rgb15 (yuv2rgb_t *this,
dy += this->step_dy;
image += rgb_stride;
- while (dy <= 32768) {
+ while (dy < 32768) {
memcpy (image, image-rgb_stride, this->dest_width*2);
@@ -635,7 +635,7 @@ static inline void yuv420_rgb24 (yuv2rgb_t *this,
dy += this->step_dy;
image += rgb_stride;
- while (dy <= 32768) {
+ while (dy < 32768) {
memcpy (image, image-rgb_stride, this->dest_width*3);
@@ -740,7 +740,7 @@ static inline void yuv420_argb32 (yuv2rgb_t *this,
dy += this->step_dy;
image += rgb_stride;
- while (dy <= 32768) {
+ while (dy < 32768) {
memcpy (image, image-rgb_stride, this->dest_width*4);