예제 #1
0
static void MC_avg_x_16_mlib (uint8_t * dest, uint8_t * ref,
                              int stride, int height)
{
    if (height == 16)
        mlib_VideoInterpAveX_U8_U8_16x16 (dest, ref, stride, stride);
    else
        mlib_VideoInterpAveX_U8_U8_16x8 (dest, ref, stride, stride);
}
예제 #2
0
파일: dsputil_mlib.c 프로젝트: KoetseJ/xumo
static void avg_pixels16_x2_mlib (uint8_t * dest, const uint8_t * ref,
				  int stride, int height)
{
    assert(height == 16 || height == 8);
    if (height == 16)
	mlib_VideoInterpAveX_U8_U8_16x16(dest, (uint8_t *)ref, stride, stride);
    else
	mlib_VideoInterpAveX_U8_U8_16x8 (dest, (uint8_t *)ref, stride, stride);
}