Lines Matching defs:width
136 return 0; /* manual width */
145 uint32_t width, height;
150 width = jpegxl_width_from_ratio(height, get_bits(gb, 3));
151 if (!width)
152 width = (get_bits(gb, 5) + 1) << 3;
156 width = jpegxl_width_from_ratio(height, get_bits(gb, 3));
157 if (!width)
158 width = 1 + jxl_u32(gb, 0, 0, 0, 0, 9, 13, 18, 30);
160 if (width > (1 << 18) || height > (1 << 18)
161 || (width >> 4) * (height >> 4) > (1 << 20))
173 uint32_t width, height;
176 /* coded height and width divided by eight */
178 width = jpegxl_width_from_ratio(height, get_bits(gb, 3));
179 if (!width)
180 width = jxl_u32(gb, 16, 32, 1, 33, 0, 0, 5, 9) << 3;
182 /* full height and width coded */
184 width = jpegxl_width_from_ratio(height, get_bits(gb, 3));
185 if (!width)
186 width = jxl_u32(gb, 1, 65, 321, 1345, 6, 8, 10, 12);
188 if (width > 4096 || height > 4096)