Lines Matching refs:MIN2
38 * MIN2(x,y) minimum of x and y
45 #ifndef MIN2
46 #define MIN2(x, y) ((x) < (y) ? (x) : (y))
49 #define MIN3(x, y, z) ((x) < (y) ? MIN2(x, z) : MIN2(y, z))
207 *py = MAX2(MIN2(py_temp, 1023), 0);
208 *pcb = MAX2(MIN2(pcb_temp, 1023), 0);
209 *pcr = MAX2(MIN2(pcr_temp, 1023), 0);
254 *py = MAX2(MIN2(py_temp, 255), 0);
255 *pcb = MAX2(MIN2(pcb_temp, 255), 0);
256 *pcr = MAX2(MIN2(pcr_temp, 255), 0);