Lines Matching refs:rgb
38 int rgb[] = { 0x0, 0x0, 0x0 }; in main() local
79 m = (rgb[2] > 255) ? (512 - rgb[2]) : (rgb[2]); in main()
82 m = (rgb[1] > 255) ? (512 - rgb[1]) : (rgb[1]); in main()
85 m = (rgb[0] > 255) ? (512 - rgb[0]) : (rgb[0]); in main()
110 rgb[2] += rgb_step; in main()
111 if (rgb[2] > 511) { in main()
112 rgb[2] = 0; in main()
113 rgb[1] += rgb_step; in main()
115 if (rgb[1] > 511) { in main()
116 rgb[1] = 0; in main()
117 rgb[0] += rgb_step; in main()
119 if (rgb[0] > 511) { in main()
120 rgb[0] = 0; in main()