Example #1
0
static void MC_put_y_16_mlib (uint8_t * dest, const uint8_t * ref,
			      int stride, int height)
{
    if (height == 16)
	mlib_VideoInterpY_U8_U8_16x16 (dest, (uint8_t *) ref, stride, stride);
    else
	mlib_VideoInterpY_U8_U8_16x8 (dest, (uint8_t *) ref, stride, stride);
}
Example #2
0
static void put_pixels16_y2_mlib (uint8_t * dest, const uint8_t * ref,
				  int stride, int height)
{
    assert(height == 16 || height == 8);
    if (height == 16)
	mlib_VideoInterpY_U8_U8_16x16(dest, (uint8_t *)ref, stride, stride);
    else
	mlib_VideoInterpY_U8_U8_16x8 (dest, (uint8_t *)ref, stride, stride);
}