Searched refs:pixel_out (Results 1 – 2 of 2) sorted by relevance
/external/pdfium/samples/ |
D | image_diff_png.cc | 51 unsigned char* pixel_out = &output[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() 63 unsigned char* pixel_out = &rgb[x * 3]; 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() 125 unsigned char* pixel_out = &rgba[x * 4]; in ConvertRGBtoRGBA() local [all …]
|
/external/libpng/contrib/libtests/ |
D | pngstest.c | 2472 char pixel_in[64], pixel_calc[64], pixel_out[64], pixel_loc[64]; in logpixel() local 2477 print_pixel(pixel_out, out, out_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 2550 transform->transform(&pixel_out, &pixel_in, transform->background); in cmppixel() 2551 transform->from_linear(&pixel_calc, &pixel_out, NULL); in cmppixel() 2554 transform->out_gp(&pixel_out, out); in cmppixel() 2557 if (pixel_calc.a == pixel_out.a && pixel_calc.r == pixel_out.r && in cmppixel() 2558 pixel_calc.g == pixel_out.g && pixel_calc.b == pixel_out.b) in cmppixel() [all …]
|