Home
last modified time | relevance | path

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

/external/pdfium/testing/image_diff/
Dimage_diff_png.cpp63 const unsigned char* pixel_in = &input[x * 4]; in ConvertBetweenBGRAandRGBA() local
65 pixel_out[0] = pixel_in[2]; in ConvertBetweenBGRAandRGBA()
66 pixel_out[1] = pixel_in[1]; in ConvertBetweenBGRAandRGBA()
67 pixel_out[2] = pixel_in[0]; in ConvertBetweenBGRAandRGBA()
68 pixel_out[3] = pixel_in[3]; in ConvertBetweenBGRAandRGBA()
77 const unsigned char* pixel_in = &bgr[x * 3]; in ConvertBGRtoRGB() local
79 pixel_out[0] = pixel_in[2]; in ConvertBGRtoRGB()
80 pixel_out[1] = pixel_in[1]; in ConvertBGRtoRGB()
81 pixel_out[2] = pixel_in[0]; in ConvertBGRtoRGB()
90 const unsigned char* pixel_in = &rgba[x * 4]; in ConvertRGBAtoRGB() local
[all …]
/external/libxcam/cl_kernel/
Dkernel_csc.cl69 float4 pixel_in = read_imagef(input, sampler, (int2)(x, y));
71 X = 0.433910f * pixel_in.x + 0.376220f * pixel_in.y + 0.189860f * pixel_in.z;
72 Y = 0.212649f * pixel_in.x + 0.715169f * pixel_in.y + 0.072182f * pixel_in.z;
73 Z = 0.017756f * pixel_in.x + 0.109478f * pixel_in.y + 0.872915f * pixel_in.z;
95 float4 pixel_in = read_imagef(input, sampler, (int2)(x, y));
96 write_imagef(output, (int2)(x, y), pixel_in);
/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 …]