Lines Matching refs:channel
30 uint8 channel[4];
48 color.channel[kRed] = clamp(y + static_cast<int>(1.402 * v));
49 color.channel[kGreen] = clamp(y - static_cast<int>(0.344 * u + 0.714 * v));
50 color.channel[kBlue] = clamp(y + static_cast<int>(1.772 * u));
51 color.channel[kAlpha] = 0xFF;
103 color_out.channel[kRed] = color_in.channel[kGreen];
104 color_out.channel[kGreen] = color_in.channel[kBlue];
105 color_out.channel[kBlue] = color_in.channel[kAlpha];
106 color_out.channel[kAlpha] = color_in.channel[kRed];
120 r = color_in.channel[kRed];
121 g = color_in.channel[kGreen];
122 b = color_in.channel[kBlue];
123 a = color_in.channel[kAlpha];
146 color_out.channel[kRed] = h;
147 color_out.channel[kGreen] = s;
148 color_out.channel[kBlue] = v;
149 color_out.channel[kAlpha] = a;
162 r = color_in.channel[kRed];
163 g = color_in.channel[kGreen];
164 b = color_in.channel[kBlue];
166 color_out.channel[kRed] =
168 color_out.channel[kGreen] =
170 color_out.channel[kBlue] =
172 color_out.channel[kAlpha] = color_in.channel[kAlpha];