Lines Matching defs:depth
376 auto format = create_pixel_format(session.params.depth,
406 if (session.params.depth == 16) {
471 auto format = create_pixel_format(session.params.depth,
508 if (session.params.depth == 16) {
624 if (session.params.depth == 16) {
906 if (s.params.depth != 8 && s.params.depth != 16) {
907 throw SaneException("Unsupported depth setting %d", s.params.depth);
975 s.output_channel_bytes = multiply_by_depth_ceil(s.output_pixels, s.params.depth);
1028 auto output_channel_bytes_raw = multiply_by_depth_ceil(output_pixels_raw, s.params.depth);
1033 s.params.depth);
1089 s.params.get_requested_pixels() * s.params.channels, s.params.depth);
1118 if (s.params.depth == 16) {
1132 auto format = create_pixel_format(session.params.depth,
1135 auto depth = get_pixel_format_depth(format);
1180 if (depth == 16) {
1957 /* copy result according to bit depth */