scale2x/scale2x.c
/**
 * Scale by a factor of 2x4 a row of pixels of 16 bits.
 * \note Like scale2x_16_def();
 */
Scale by a factor of 2x4 a row of pixels of 16 bits.
Scale by a factor of 2x4 a row of pixels of 16 bits .
void scale2x4_16_def(scale2x_uint16* dst0, scale2x_uint16* dst1, scale2x_uint16* dst2, scale2x_uint16* dst3, const scale2x_uint16* src0, const scale2x_uint16* src1, const scale2x_uint16* src2, unsigned count)
{
#ifdef USE_SCALE_RANDOMWRITE
	scale2x_16_def_whole(dst0, dst3, src0, src1, src2, count);
	scale2x_16_def_center(dst1, src0, src1, src2, count);
	scale2x_16_def_center(dst2, src0, src1, src2, count);
#else
	scale2x_16_def_border(dst0, src0, src1, src2, count);
	scale2x_16_def_center(dst1, src0, src1, src2, count);
	scale2x_16_def_center(dst2, src0, src1, src2, count);
	scale2x_16_def_border(dst3, src2, src1, src0, count);
#endif
}
void scale2x4_16_def ( scale2x_uint16 * dst0 , scale2x_uint16 * dst1 , scale2x_uint16 * dst2 , scale2x_uint16 * dst3 , const scale2x_uint16 * src0 , const scale2x_uint16 * src1 , const scale2x_uint16 * src2 , unsigned count ) { #ifdef USE_SCALE_RANDOMWRITE scale2x_16_def_whole ( dst0 , dst3 , src0 , src1 , src2 , count ) ; scale2x_16_def_center ( dst1 , src0 , src1 , src2 , count ) ; scale2x_16_def_center ( dst2 , src0 , src1 , src2 , count ) ; #else scale2x_16_def_border ( dst0 , src0 , src1 , src2 , count ) ; scale2x_16_def_center ( dst1 , src0 , src1 , src2 , count ) ; scale2x_16_def_center ( dst2 , src0 , src1 , src2 , count ) ; scale2x_16_def_border ( dst3 , src2 , src1 , src0 , count ) ; #endif }
Scale by a factor of 2x4 a row of pixels of 16 bits.
Scale by a factor of 2x4 a row of pixels of 16 bits .