Lines Matching defs:depth
32 unsigned depth;
63 return desc.depth;
79 std::size_t depth = get_pixel_format_depth(format) * get_pixel_channels(format);
80 std::size_t total_bits = depth * width;
86 std::size_t depth = get_pixel_format_depth(format) * get_pixel_channels(format);
87 return (row_bytes * 8) / depth;
90 PixelFormat create_pixel_format(unsigned depth, unsigned channels, ColorOrder order)
93 if (desc.depth == depth && desc.channels == channels && desc.order == order) {
97 throw SaneException("Unknown pixel format %d %d %d", depth, channels,