Ejemplo n.º 1
0
static void MC_put_o_8_mlib (uint8_t * dest, const uint8_t * ref,
			     int stride, int height)
{
    if (height == 8)
	mlib_VideoCopyRef_U8_U8_8x8 (dest, (uint8_t *) ref, stride);
    else
	mlib_VideoCopyRef_U8_U8_8x4 (dest, (uint8_t *) ref, stride);
}
Ejemplo n.º 2
0
static void put_pixels8_mlib (uint8_t * dest, const uint8_t * ref,
			      int stride, int height)
{
    assert(height == 16 || height == 8);
    if (height == 16)
	mlib_VideoCopyRef_U8_U8_8x16(dest, (uint8_t *)ref, stride);
    else
	mlib_VideoCopyRef_U8_U8_8x8 (dest, (uint8_t *)ref, stride);
}