Lines Matching refs:dst
138 unpack_8_mono (SANE_Byte * src, unsigned int *dst, SANE_Int pixels_per_line)
140 for (; pixels_per_line > 0; ++src, ++dst, --pixels_per_line)
142 *dst = (((unsigned int) *src) << 8) | *src;
147 unpack_8_rgb (SANE_Byte * src, unsigned int *dst, SANE_Int pixels_per_line)
149 for (; pixels_per_line > 0; src += 3, ++dst, --pixels_per_line)
151 *dst = (((unsigned int) *src) << 8) | *src;
158 unpack_12_le_mono (SANE_Byte * src, unsigned int *dst,
161 for (; pixels_per_line > 0; src += 3, dst += 2, pixels_per_line -= 2)
163 dst[0] = ((((unsigned int) (src[1] & 0x0f)) << 12)
165 dst[1] = ((((unsigned int) src[2]) << 8)
199 unpack_16_le_mono (SANE_Byte * src, unsigned int *dst,
202 for (; pixels_per_line > 0; src += 2, dst++, --pixels_per_line)
204 *dst = (((unsigned int) src[1]) << 8) | src[0];
209 unpack_16_le_rgb (SANE_Byte * src, unsigned int *dst,
212 for (; pixels_per_line > 0; src += 6, ++dst, --pixels_per_line)
214 *dst = (((unsigned int) src[1]) << 8) | src[0];