Home
last modified time | relevance | path

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

/external/pdfium/testing/image_diff/
Dimage_diff_png.cpp69 const uint8_t* pixel_in = &input[x * 4]; in ConvertBetweenBGRAandRGBA() local
71 pixel_out[0] = pixel_in[2]; in ConvertBetweenBGRAandRGBA()
72 pixel_out[1] = pixel_in[1]; in ConvertBetweenBGRAandRGBA()
73 pixel_out[2] = pixel_in[0]; in ConvertBetweenBGRAandRGBA()
74 pixel_out[3] = pixel_in[3]; in ConvertBetweenBGRAandRGBA()
83 const uint8_t* pixel_in = &bgr[x * 3]; in ConvertBGRtoRGB() local
85 pixel_out[0] = pixel_in[2]; in ConvertBGRtoRGB()
86 pixel_out[1] = pixel_in[1]; in ConvertBGRtoRGB()
87 pixel_out[2] = pixel_in[0]; in ConvertBGRtoRGB()
96 const uint8_t* pixel_in = &rgba[x * 4]; in ConvertRGBAtoRGB() local
[all …]
/external/libpng/contrib/libtests/
Dpngstest.c2355 char pixel_in[64], pixel_calc[64], pixel_out[64], pixel_loc[64]; in logpixel() local
2358 print_pixel(pixel_in, in, in_format); in logpixel()
2400 pixel_in, background_info, pixel_out, pixel_calc); in logpixel()
2411 pixel_loc, reason, via_linear, pixel_in, background_info, pixel_out, in logpixel()
2424 Pixel pixel_in, pixel_calc, pixel_out; in cmppixel() local
2426 transform->in_gp(&pixel_in, in); in cmppixel()
2429 transform->transform(&pixel_calc, &pixel_in, transform->background); in cmppixel()
2433 transform->transform(&pixel_out, &pixel_in, transform->background); in cmppixel()
2487 if (pixel_in.a >= transform->in_opaque) in cmppixel()
2493 else if (pixel_in.a > 0) in cmppixel()
[all …]