Home
last modified time | relevance | path

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

/external/pdfium/samples/
Dimage_diff_png.cc50 const unsigned char* pixel_in = &input[x * 4]; in ConvertBetweenBGRAandRGBA() local
52 pixel_out[0] = pixel_in[2]; in ConvertBetweenBGRAandRGBA()
53 pixel_out[1] = pixel_in[1]; in ConvertBetweenBGRAandRGBA()
54 pixel_out[2] = pixel_in[0]; in ConvertBetweenBGRAandRGBA()
55 pixel_out[3] = pixel_in[3]; in ConvertBetweenBGRAandRGBA()
62 const unsigned char* pixel_in = &rgba[x * 4]; in ConvertRGBAtoRGB() local
64 pixel_out[0] = pixel_in[0]; in ConvertRGBAtoRGB()
65 pixel_out[1] = pixel_in[1]; in ConvertRGBAtoRGB()
66 pixel_out[2] = pixel_in[2]; in ConvertRGBAtoRGB()
124 const unsigned char* pixel_in = &rgb[x * 3]; in ConvertRGBtoRGBA() local
[all …]
/external/libpng/contrib/libtests/
Dpngstest.c2472 char pixel_in[64], pixel_calc[64], pixel_out[64], pixel_loc[64]; in logpixel() local
2475 print_pixel(pixel_in, in, in_format); in logpixel()
2517 pixel_in, background_info, pixel_out, pixel_calc); in logpixel()
2528 pixel_loc, reason, via_linear, pixel_in, background_info, pixel_out, in logpixel()
2541 Pixel pixel_in, pixel_calc, pixel_out; in cmppixel() local
2543 transform->in_gp(&pixel_in, in); in cmppixel()
2546 transform->transform(&pixel_calc, &pixel_in, transform->background); in cmppixel()
2550 transform->transform(&pixel_out, &pixel_in, transform->background); in cmppixel()
2604 if (pixel_in.a >= transform->in_opaque) in cmppixel()
2610 else if (pixel_in.a > 0) in cmppixel()
[all …]