Lines Matching defs:offset
671 int *offset, int *max_gain, int *min_offset)
674 *offset = (int) (-1.0 * min / (512.0 * 0.0195));
678 *offset = (int) -3.0 * min / (512.0 * 0.0195);
685 if (*offset < -31)
686 *offset = -31;
687 else if (*offset > 31)
688 *offset = 31;
773 DBG (DBG_error, "error: color %d has bad gain/offset table\n", color);
777 fprintf (stderr, "color %d gain/offset table is good\n", color);
785 int *offset, int *max_gain, int *min_offset)
820 if (*offset < 31)
822 (*offset)++;
824 *min_offset = *offset;
835 if (*offset > *min_offset)
837 (*offset)--;