Lines Matching refs:bitDepthList
765 static SANE_Word *bitDepthList = NULL;
2242 * the values to the bitDepthList.
2245 bitDepthList = malloc (sizeof (SANE_Word) * 4);
2246 if (bitDepthList == NULL)
2252 bitDepthList[0] = 1; /* we start with one element in the list */
2253 bitDepthList[1] = 8; /* 8bit is the default */
2259 bitDepthList[0]++;
2260 bitDepthList[bitDepthList[0]] = 16;
2267 bitDepthList[0]++;
2268 bitDepthList[bitDepthList[0]] = 14;
2274 bitDepthList[0]++;
2275 bitDepthList[bitDepthList[0]] = 12;
2833 s->opt[OPT_BIT_DEPTH].constraint.word_list = bitDepthList;
2835 s->val[OPT_BIT_DEPTH].w = bitDepthList[1]; /* the first "real" element is the default */
2837 if (bitDepthList[0] == 1) /* only one element in the list -> hide the option */
4070 if (bitDepthList[0] == 1)