Revision 2ba1bff0

View differences:

postproc/swscale.c
68 68
//#define HAVE_3DNOW
69 69
//#undef HAVE_MMX
70 70
//#undef ARCH_X86
71
//#define WORDS_BIGENDIAN
71 72
#define DITHER1XBPP
72 73

  
73 74
#define FAST_BGR2YV12 // use 7 bit coeffs instead of 15bit
......
294 295
{
295 296
	if(dstFormat==IMGFMT_BGR32)
296 297
	{
298
		int i;
297 299
#ifdef WORDS_BIGENDIAN
298 300
	dest++;
299 301
#endif
300
		int i;
301 302
		for(i=0; i<(dstW>>1); i++){
302 303
			int j;
303 304
			int Y1=0;
postproc/swscale_template.c
992 992
#else
993 993
		if(dstFormat==IMGFMT_BGR32)
994 994
		{
995
			int i;
995 996
#ifdef WORDS_BIGENDIAN
996 997
			dest++;
997 998
#endif
998
			int i;
999 999
			for(i=0;i<dstW;i++){
1000 1000
				// vertical linear interpolation && yuv2rgb in a single step:
1001 1001
				int Y=yuvtab_2568[((buf0[i]*yalpha1+buf1[i]*yalpha)>>19)];
......
1118 1118
#else
1119 1119
		if(dstFormat==IMGFMT_BGR32)
1120 1120
		{
1121
			int i;
1121 1122
#ifdef WORDS_BIGENDIAN
1122 1123
			dest++;
1123 1124
#endif
1124
			int i;
1125 1125
			for(i=0; i<dstW-1; i+=2){
1126 1126
				// vertical linear interpolation && yuv2rgb in a single step:
1127 1127
				int Y1=yuvtab_2568[((buf0[i]*yalpha1+buf1[i]*yalpha)>>19)];
......
1399 1399

  
1400 1400
	if(dstFormat==IMGFMT_BGR32)
1401 1401
	{
1402
		int i;
1402 1403
#ifdef WORDS_BIGENDIAN
1403 1404
		dest++;
1404 1405
#endif
1405
		int i;
1406 1406
		for(i=0; i<dstW-1; i+=2){
1407 1407
			// vertical linear interpolation && yuv2rgb in a single step:
1408 1408
			int Y1=yuvtab_2568[buf0[i]>>7];

Also available in: Unified diff