Lines Matching defs:height
114 static uint32_t jpegxl_width_from_ratio(uint32_t height, int ratio)
116 uint64_t height64 = height; /* avoid integer overflow */
119 return height;
145 uint32_t width, height;
149 height = (get_bits(gb, 5) + 1) << 3;
150 width = jpegxl_width_from_ratio(height, get_bits(gb, 3));
155 height = 1 + jxl_u32(gb, 0, 0, 0, 0, 9, 13, 18, 30);
156 width = jpegxl_width_from_ratio(height, get_bits(gb, 3));
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 */
177 height = jxl_u32(gb, 16, 32, 1, 33, 0, 0, 5, 9) << 3;
178 width = jpegxl_width_from_ratio(height, get_bits(gb, 3));
182 /* full height and width coded */
183 height = jxl_u32(gb, 1, 65, 321, 1345, 6, 8, 10, 12);
184 width = jpegxl_width_from_ratio(height, get_bits(gb, 3));
188 if (width > 4096 || height > 4096)