Lines Matching defs:offset
9910 /* can be detected and gives this offset to the origin of the */
10064 { auto settings doesn't use offset
10065 offset = 0x000;
10070 offset = 0x000;
10210 int gain, int offset)
10226 if (gain != 0 || offset != 0)
10290 offset, &bpp, &tw, &th);
10564 int color, int gain, int offset, int *rbpp,
10756 dcRed = (offset & 0xF00) >> 8;
10757 dcGreen = (offset & 0x0F0) >> 4;
10758 dcBlue = offset & 0x00F;
11514 * computes DC offset to have black pixel really black out of
11559 /* offset calibration, scan 24 bytes of black in each color */
11695 * computes DC offset to have black pixel really black out of
11732 int offset;
11758 /* offset to the max */
11760 offset = 0x10;
11763 offset--;
11766 /* sets for the current offset */
11767 motor[12] = (offset << 2) | 0x40 | 0x01;
11768 lm9811[7] = offset << 4;
11788 while ((offset > 0) && ((level * 2) / w > 1));
11789 *offGreen = offset;
11791 /* offset calibration for the two other channels when in color */
11796 offset = 0x10;
11799 offset--;
11801 /* sets for the current offset */
11802 motor[13] = 0x90 | offset;
11803 lm9811[7] = offset << 4;
11823 while ((offset > 0) && ((level * 2) / w > 1));
11824 *offBlue = offset;
11830 offset = 0x10;
11833 offset--;
11835 /* sets for the current offset */
11836 motor[11] = offset << 4;
11837 lm9811[7] = offset << 4;
11863 while ((offset > 0) && ((level * 2) / w > 1));
11864 *offRed = offset;
11876 * generic offset calibration function
11935 * lm9811[6]= 0x40 | DC offset
12418 * computes PGA offset for each pixel of the ccd.
12420 * offset to push the result in the correctable range
12446 * lm9811[6]= 0x40 | DC offset
12638 * offset to push the result in the correctable range
12664 * lm9811[6]= 0x40 | DC offset