Revision 6e1c66bc postproc/swscale-example.c

View differences:

postproc/swscale-example.c
104 104
	sws_scale(dstContext, src, srcStride, 0, srcH, dst, dstStride);
105 105
	sws_scale(outContext, dst, dstStride, 0, dstH, out, refStride);
106 106

  
107
#ifdef ARCH_X86
107
#if defined(ARCH_X86) || defined(ARCH_X86_64)
108 108
	asm volatile ("emms\n\t");
109 109
#endif
110 110
	     
......
199 199
			rgb_data[ x + y*4*W]= random();
200 200
		}
201 201
	}
202
#ifdef ARCH_X86
202
#if defined(ARCH_X86) || defined(ARCH_X86_64)
203 203
	sws_rgb2rgb_init(SWS_CPU_CAPS_MMX*0);
204 204
#else
205 205
	sws_rgb2rgb_init(0);
206 206
#endif
207 207
	sws_scale(sws, rgb_src, rgb_stride, 0, H   , src, stride);
208 208

  
209
#ifdef ARCH_X86
209
#if defined(ARCH_X86) || defined(ARCH_X86_64)
210 210
	asm volatile ("emms\n\t");
211 211
#endif
212 212

  

Also available in: Unified diff