Lines Matching refs:rgb24
2280 static void read_rgb(struct igt_vec4 *rgb, const uint8_t *rgb24) in read_rgb() argument
2282 rgb->d[0] = rgb24[2]; in read_rgb()
2283 rgb->d[1] = rgb24[1]; in read_rgb()
2284 rgb->d[2] = rgb24[0]; in read_rgb()
2288 static void write_rgb(uint8_t *rgb24, const struct igt_vec4 *rgb) in write_rgb() argument
2290 rgb24[2] = clamprgb(rgb->d[0]); in write_rgb()
2291 rgb24[1] = clamprgb(rgb->d[1]); in write_rgb()
2292 rgb24[0] = clamprgb(rgb->d[2]); in write_rgb()
2517 uint8_t *rgb24 = cvt->dst.ptr; in convert_yuv_to_rgb24() local
2539 uint8_t *rgb_tmp = rgb24; in convert_yuv_to_rgb24()
2561 rgb24 += rgb24_stride; in convert_yuv_to_rgb24()
2579 const uint8_t *rgb24 = cvt->src.ptr; in convert_rgb24_to_yuv() local
2597 const uint8_t *rgb_tmp = rgb24; in convert_rgb24_to_yuv()
2649 rgb24 += rgb24_stride; in convert_rgb24_to_yuv()
2659 static void read_rgbf(struct igt_vec4 *rgb, const float *rgb24) in read_rgbf() argument
2661 rgb->d[0] = rgb24[0]; in read_rgbf()
2662 rgb->d[1] = rgb24[1]; in read_rgbf()
2663 rgb->d[2] = rgb24[2]; in read_rgbf()
2667 static void write_rgbf(float *rgb24, const struct igt_vec4 *rgb) in write_rgbf() argument
2669 rgb24[0] = rgb->d[0]; in write_rgbf()
2670 rgb24[1] = rgb->d[1]; in write_rgbf()
2671 rgb24[2] = rgb->d[2]; in write_rgbf()