Lines Matching refs:pixel_in
50 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
126 pixel_out[0] = pixel_in[0]; in ConvertRGBtoRGBA()
127 pixel_out[1] = pixel_in[1]; in ConvertRGBtoRGBA()
128 pixel_out[2] = pixel_in[2]; in ConvertRGBtoRGBA()
136 const unsigned char* pixel_in = &rgb[x * 3]; in ConvertRGBtoBGRA() local
138 pixel_out[0] = pixel_in[2]; in ConvertRGBtoBGRA()
139 pixel_out[1] = pixel_in[1]; in ConvertRGBtoBGRA()
140 pixel_out[2] = pixel_in[0]; in ConvertRGBtoBGRA()
388 const unsigned char* pixel_in = &bgra[x * 4]; in ConvertBGRAtoRGB() local
390 pixel_out[0] = pixel_in[2]; in ConvertBGRAtoRGB()
391 pixel_out[1] = pixel_in[1]; in ConvertBGRAtoRGB()
392 pixel_out[2] = pixel_in[0]; in ConvertBGRAtoRGB()