Lines Matching +full:3 +full:b
2 unsigned int b) in rgb_to_pixel8() argument
4 return ((r >> 5) << 5) | ((g >> 5) << 2) | (b >> 6); in rgb_to_pixel8()
8 unsigned int b) in rgb_to_pixel15() argument
10 return ((r >> 3) << 10) | ((g >> 3) << 5) | (b >> 3); in rgb_to_pixel15()
14 unsigned int b) in rgb_to_pixel15bgr() argument
16 return ((b >> 3) << 10) | ((g >> 3) << 5) | (r >> 3); in rgb_to_pixel15bgr()
20 unsigned int b) in rgb_to_pixel16() argument
22 return ((r >> 3) << 11) | ((g >> 2) << 5) | (b >> 3); in rgb_to_pixel16()
26 unsigned int b) in rgb_to_pixel16bgr() argument
28 return ((b >> 3) << 11) | ((g >> 2) << 5) | (r >> 3); in rgb_to_pixel16bgr()
32 unsigned int b) in rgb_to_pixel24() argument
34 return (r << 16) | (g << 8) | b; in rgb_to_pixel24()
38 unsigned int b) in rgb_to_pixel24bgr() argument
40 return (b << 16) | (g << 8) | r; in rgb_to_pixel24bgr()
44 unsigned int b) in rgb_to_pixel32() argument
46 return (r << 16) | (g << 8) | b; in rgb_to_pixel32()
50 unsigned int b) in rgb_to_pixel32bgr() argument
52 return (b << 16) | (g << 8) | r; in rgb_to_pixel32bgr()