Searched refs:clamp_size (Results 1 – 2 of 2) sorted by relevance
/external/crosvm/devices/src/virtio/video/ |
D | format.rs | 234 fn clamp_size(size: u32, min: u32, step: u32) -> u32 { in clamp_size() function 262 let allowed_width = clamp_size(desired_width, width.min, width.step); in find_closest_resolution() 263 let allowed_height = clamp_size(desired_height, height.min, height.step); in find_closest_resolution()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_cb_drawpixels.c | 1193 clamp_size(struct pipe_context *pipe, GLsizei *width, GLsizei *height, in clamp_size() function 1336 clamp_size(st->pipe, &width, &height, &clippedUnpack); in st_DrawPixels()
|