Lines Matching defs:comp_C1
78 int32 comp_C2, comp_C1, comp_C0, temp;
91 comp_C1 = input_C1;
114 comp_C1 = (look_up_table[comp_C1] >> 8) & 0xFF;
122 comp_C2 = comp_C1;
123 comp_C1 = comp_C0;
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];
132 comp_C1 = temp2 + 0x100;
137 comp_C1 >>= 9;
142 comp_C1 += bias_vector[1];
152 if (comp_C1 < 0)
153 comp_C1 = 0;
155 if (comp_C1 > 255)
156 comp_C1 = 255;
171 if (comp_C1 < C_low_limit)
172 comp_C1 = C_low_limit;
174 if (comp_C1 > C_high_limit)
175 comp_C1 = C_high_limit;
183 output = (comp_C2 << 16) | (comp_C1 << 8) | comp_C0;
193 int32 comp_C2, comp_C1, comp_C0, temp;
206 comp_C1 = input_C1;
234 if (comp_C1 < C_low_limit)
235 comp_C1 = C_low_limit;
237 if (comp_C1 > C_high_limit)
238 comp_C1 = C_high_limit;
251 comp_C1 -= bias_vector[1];
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];
260 comp_C1 = temp2 + 0x100;
265 comp_C1 >>= 9;
270 comp_C0 = comp_C1;
271 comp_C1 = comp_C2;
281 if (comp_C1 < 0)
282 comp_C1 = 0;
284 if (comp_C1 > 255)
285 comp_C1 = 255;
296 comp_C1 = (look_up_table[comp_C1] >> 8) & 0xFF;
300 output = (comp_C2 << 16) | (comp_C1 << 8) | comp_C0;