Lines Matching refs:comp_C0
78 int32 comp_C2, comp_C1, comp_C0, temp;
90 comp_C0 = input_C0;
115 comp_C0 = (look_up_table[comp_C0] >> 0) & 0xFF;
123 comp_C1 = comp_C0;
124 comp_C0 = temp;
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];
131 comp_C0 = temp1 + 0x100;
136 comp_C0 >>= 9;
141 comp_C0 += bias_vector[0];
146 if (comp_C0 < 0)
147 comp_C0 = 0;
149 if (comp_C0 > 255)
150 comp_C0 = 255;
165 if (comp_C0 < Y_low_limit)
166 comp_C0 = Y_low_limit;
168 if (comp_C0 > Y_high_limit)
169 comp_C0 = Y_high_limit;
183 output = (comp_C2 << 16) | (comp_C1 << 8) | comp_C0;
193 int32 comp_C2, comp_C1, comp_C0, temp;
205 comp_C0 = input_C0;
228 if (comp_C0 < Y_low_limit)
229 comp_C0 = Y_low_limit;
231 if (comp_C0 > Y_high_limit)
232 comp_C0 = Y_high_limit;
250 comp_C0 -= bias_vector[0];
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];
259 comp_C0 = temp1 + 0x100;
264 comp_C0 >>= 9;
269 temp = comp_C0;
270 comp_C0 = comp_C1;
275 if (comp_C0 < 0)
276 comp_C0 = 0;
278 if (comp_C0 > 255)
279 comp_C0 = 255;
297 comp_C0 = (look_up_table[comp_C0] >> 0) & 0xFF;
300 output = (comp_C2 << 16) | (comp_C1 << 8) | comp_C0;