[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdemultimedia/mpeglib/lib/util/render/dither2YUV
From: Adrian Schroeter <adrian () suse ! de>
Date: 2002-12-15 18:01:57
[Download RAW message or body]
CVS commit by adrian:
compile fix for non-mmx systems
M +5 -5 dither2YUV.cpp 1.4
M +3 -2 rgb2yuv16.cpp 1.5
M +3 -2 rgb2yuv32.cpp 1.3
--- kdemultimedia/mpeglib/lib/util/render/dither2YUV/dither2YUV.cpp #1.3:1.4
@@ -45,5 +45,5 @@ void Dither2YUV::doDither(YUVPicture* pi
break;
default:
- cout << "unknown RGB type:"<<inputType<<" in Dither2YUV"<<endl;
+ std::cout << "unknown RGB type:"<<inputType<<" in Dither2YUV"<<std::endl;
exit(0);
}
@@ -60,8 +60,8 @@ void Dither2YUV::doDitherRGB_NORMAL(YUVP
break;
case _SIZE_DOUBLE:
- cout << "double not supported for RGB"<<endl;
+ std::cout << "double not supported for RGB"<<std::endl;
break;
default:
- cout << "unknown size:"<<ditherSize<<" in Dither2YUV"<<endl;
+ std::cout << "unknown size:"<<ditherSize<<" in Dither2YUV"<<std::endl;
exit(0);
}
@@ -85,5 +85,5 @@ void Dither2YUV::doDither2YUV_std(YUVPic
switch (depth) {
case 8:
- cout << "8 bit dither to yuv not supported"<<endl;
+ std::cout << "8 bit dither to yuv not supported"<<std::endl;
exit(0);
break;
@@ -117,5 +117,5 @@ void Dither2YUV::doDither2YUV_std(YUVPic
break;
default:
- cout << "cannot dither depth:"<<depth<<endl;
+ std::cout << "cannot dither depth:"<<depth<<std::endl;
}
--- kdemultimedia/mpeglib/lib/util/render/dither2YUV/rgb2yuv16.cpp #1.4:1.5
@@ -17,4 +17,5 @@
#include "rgb2yuv16.h"
+#include <iostream>
static unsigned short KEEPR[4] = { 63488, 63488, 63488, 63488 };
@@ -57,5 +58,5 @@ void dummyRGB2YUV16Bit() {
void rgb2yuv16bit_mmx(unsigned char* ,unsigned char* ,unsigned char* ,
unsigned char* ,int , int ) {
- cout << "RGB->YUV not compiled with INTEL"<<endl;
+ std::cout << "RGB->YUV not compiled with INTEL" << std::endl;
exit(0);
}
@@ -63,5 +64,5 @@ void rgb2yuv16bit_mmx(unsigned char* ,un
void rgb2yuv16bit_mmx_fast(unsigned char* ,unsigned char* ,unsigned char* ,
unsigned char* ,int , int ) {
- cout << "RGB->YUV not compiled with INTEL"<<endl;
+ std::cout << "RGB->YUV not compiled with INTEL" << std::endl;
exit(0);
}
--- kdemultimedia/mpeglib/lib/util/render/dither2YUV/rgb2yuv32.cpp #1.2:1.3
@@ -17,4 +17,5 @@
#include "rgb2yuv32.h"
+#include <iostream>
void rgb2yuv32(unsigned char* rgb, unsigned char* dest)
@@ -102,5 +103,5 @@ void rgb2yuv24bit_mmx(unsigned char* rgb
unsigned char* cr,
unsigned char* cb,int height, int width) {
- cout << "RGB->YUV render not compiled for INTEL"<<endl;
+ std::cout << "RGB->YUV render not compiled for INTEL"<<std::endl;
exit(0);
}
@@ -110,5 +111,5 @@ void rgb2yuv32bit_mmx(unsigned char* rgb
unsigned char* cr,
unsigned char* cb,int height, int width) {
- cout << "RGB->YUV render not compiled for INTEL"<<endl;
+ std::cout << "RGB->YUV render not compiled for INTEL"<<std::endl;
exit(0);
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic