third_party/pixman/pixman/pixman-access.c
static uint32_t
fetch_pixel_generic_lossy_32 (bits_image_t *image,
			      int           offset,
			      int           line)
{
    argb_t pixel64 = image->fetch_pixel_float (image, offset, line);
    uint32_t result;

    pixman_contract_from_float (&result, &pixel64, 1);

    return result;
}
/*
 * XXX: The transformed fetch path only works at 32-bpp so far.  When all
 * paths have wide versions, this can be removed.
 *
 * WARNING: This function loses precision!
 */
The transformed fetch path only works at 32-bpp so far.  When all
paths have wide versions, this can be removed.

This function loses precision!
The transformed fetch path only works at 32 - bpp so far . When all paths have wide versions this can be removed . This function loses precision!
static uint32_t
fetch_pixel_generic_lossy_32 (bits_image_t *image,
			      int           offset,
			      int           line)
{
    argb_t pixel64 = image->fetch_pixel_float (image, offset, line);
    uint32_t result;
    pixman_contract_from_float (&result, &pixel64, 1);
    return result;
}
static uint32_t fetch_pixel_generic_lossy_32 ( bits_image_t * image , int offset , int line ) { argb_t pixel64 = image -> fetch_pixel_float ( image , offset , line ) ; uint32_t result ; pixman_contract_from_float ( & result , & pixel64 , 1 ) ; return result ; }
XXX: The transformed fetch path only works at 32-bpp so far.
XXX : The transformed fetch path only works at 32 - bpp so far .