Lines Matching defs:height
307 vratio = DIV_ROUND_CLOSEST(crop->height, format->height);
329 ret = mt9t001_write(client, MT9T001_WINDOW_HEIGHT, crop->height - 1);
382 unsigned int height;
389 /* Clamp the width and height to avoid dividing by zero. */
394 height = clamp_t(unsigned int, ALIGN(format->format.height, 2),
395 max_t(unsigned int, __crop->height / 8,
397 __crop->height);
400 vratio = DIV_ROUND_CLOSEST(__crop->height, height);
405 __format->height = __crop->height / vratio;
449 rect.height = clamp_t(unsigned int, ALIGN(sel->r.height, 2),
455 rect.height = min_t(unsigned int, rect.height,
460 if (rect.width != __crop->width || rect.height != __crop->height) {
467 __format->height = rect.height;
805 crop->height = MT9T001_WINDOW_HEIGHT_DEF + 1;
810 format->height = MT9T001_WINDOW_HEIGHT_DEF + 1;
931 mt9t001->crop.height = MT9T001_WINDOW_HEIGHT_DEF + 1;
935 mt9t001->format.height = MT9T001_WINDOW_HEIGHT_DEF + 1;