Lines Matching refs:comp_C2
78 int32 comp_C2, comp_C1, comp_C0, temp;
92 comp_C2 = input_C2;
113 comp_C2 = (look_up_table[comp_C2] >> 16) & 0xFF;
121 temp = comp_C2;
122 comp_C2 = comp_C1;
127 temp1 = comp_C0 * matrix[0] + comp_C1 * matrix[1] + comp_C2 * matrix[2];
128 temp2 = comp_C0 * matrix[3] + comp_C1 * matrix[4] + comp_C2 * matrix[5];
129 temp3 = comp_C0 * matrix[6] + comp_C1 * matrix[7] + comp_C2 * matrix[8];
133 comp_C2 = temp3 + 0x100;
138 comp_C2 >>= 9;
143 comp_C2 += bias_vector[2];
158 if (comp_C2 < 0)
159 comp_C2 = 0;
161 if (comp_C2 > 255)
162 comp_C2 = 255;
177 if (comp_C2 < C_low_limit)
178 comp_C2 = C_low_limit;
180 if (comp_C2 > C_high_limit)
181 comp_C2 = C_high_limit;
183 output = (comp_C2 << 16) | (comp_C1 << 8) | comp_C0;
193 int32 comp_C2, comp_C1, comp_C0, temp;
207 comp_C2 = input_C2;
240 if (comp_C2 < C_low_limit)
241 comp_C2 = C_low_limit;
243 if (comp_C2 > C_high_limit)
244 comp_C2 = C_high_limit;
252 comp_C2 -= bias_vector[2];
255 temp1 = comp_C0 * matrix[0] + comp_C1 * matrix[1] + comp_C2 * matrix[2];
256 temp2 = comp_C0 * matrix[3] + comp_C1 * matrix[4] + comp_C2 * matrix[5];
257 temp3 = comp_C0 * matrix[6] + comp_C1 * matrix[7] + comp_C2 * matrix[8];
261 comp_C2 = temp3 + 0x100;
266 comp_C2 >>= 9;
271 comp_C1 = comp_C2;
272 comp_C2 = temp;
287 if (comp_C2 < 0)
288 comp_C2 = 0;
290 if (comp_C2 > 255)
291 comp_C2 = 255;
295 comp_C2 = (look_up_table[comp_C2] >> 16) & 0xFF;
300 output = (comp_C2 << 16) | (comp_C1 << 8) | comp_C0;