Home
last modified time | relevance | path

Searched refs:in_pixel (Results 1 – 2 of 2) sorted by relevance

/external/libpng/contrib/examples/
Dsimpleover.c133 const png_uint_16 *in_pixel = buffer + (y * image->width + x)*4; in sprite_op() local
134 png_uint_32 in_alpha = in_pixel[3]; in sprite_op()
165 out_pixel[c] = tmp + in_pixel[c] in sprite_op()
175 out_pixel[0] = in_pixel[0], in sprite_op()
176 out_pixel[1] = in_pixel[1], in sprite_op()
177 out_pixel[2] = in_pixel[2], in sprite_op()
178 out_pixel[3] = in_pixel[3]; in sprite_op()
/external/libpng/contrib/libtests/
Dpngvalid.c6837 image_pixel in_pixel, out_pixel; in transform_image_validate() local
6841 image_pixel_init(&in_pixel, std, in_ct, in_bd, x, dp->this.palette, in transform_image_validate()
6844 in_pixel.red_sBIT = red_sBIT; in transform_image_validate()
6845 in_pixel.green_sBIT = green_sBIT; in transform_image_validate()
6846 in_pixel.blue_sBIT = blue_sBIT; in transform_image_validate()
6847 in_pixel.alpha_sBIT = alpha_sBIT; in transform_image_validate()
6848 in_pixel.have_tRNS = have_tRNS != 0; in transform_image_validate()
6851 r = in_pixel.red; in transform_image_validate()
6852 g = in_pixel.green; in transform_image_validate()
6853 b = in_pixel.blue; in transform_image_validate()
[all …]