sdl1/clonekeen/scale2x/scale2x.c
/**
 * Scale by a factor of 2x4 a row of pixels of 8 bits.
 * This function operates like scale2x_8_mmx() but with an expansion
 * factor of 2x4 instead of 2x2.
 */
Scale by a factor of 2x4 a row of pixels of 8 bits.
This function operates like scale2x_8_mmx() but with an expansion
factor of 2x4 instead of 2x2.
Scale by a factor of 2x4 a row of pixels of 8 bits . This function operates like scale2x_8_mmx () but with an expansion factor of 2x4 instead of 2x2 .
void scale2x4_8_mmx(scale2x_uint8* dst0, scale2x_uint8* dst1, scale2x_uint8* dst2, scale2x_uint8* dst3, const scale2x_uint8* src0, const scale2x_uint8* src1, const scale2x_uint8* src2, unsigned count)
{
	if (count % 8 != 0 || count < 16) {
		scale2x4_8_def(dst0, dst1, dst2, dst3, src0, src1, src2, count);
	} else {
		scale2x_8_mmx_border(dst0, src0, src1, src2, count);
		scale2x_8_def_center(dst1, src0, src1, src2, count);
		scale2x_8_def_center(dst2, src0, src1, src2, count);
		scale2x_8_mmx_border(dst3, src2, src1, src0, count);
	}
}
void scale2x4_8_mmx ( scale2x_uint8 * dst0 , scale2x_uint8 * dst1 , scale2x_uint8 * dst2 , scale2x_uint8 * dst3 , const scale2x_uint8 * src0 , const scale2x_uint8 * src1 , const scale2x_uint8 * src2 , unsigned count ) { if ( count % 8 != 0 || count < 16 ) { scale2x4_8_def ( dst0 , dst1 , dst2 , dst3 , src0 , src1 , src2 , count ) ; } else { scale2x_8_mmx_border ( dst0 , src0 , src1 , src2 , count ) ; scale2x_8_def_center ( dst1 , src0 , src1 , src2 , count ) ; scale2x_8_def_center ( dst2 , src0 , src1 , src2 , count ) ; scale2x_8_mmx_border ( dst3 , src2 , src1 , src0 , count ) ; } }
Scale by a factor of 2x4 a row of pixels of 8 bits.
Scale by a factor of 2x4 a row of pixels of 8 bits .