Lines Matching defs:width
175 .width = OV2680_ACTIVE_WIDTH,
331 unsigned int width, unsigned int height)
334 fmt->width = width;
343 int width = sensor->mode.fmt.width;
345 int orig_width = width;
348 if (width <= (sensor->mode.crop.width / 2) &&
351 width *= 2;
358 (sensor->mode.crop.width - width) / 2) & ~1;
362 min(sensor->mode.h_start + width + OV2680_END_MARGIN - 1,
638 unsigned int width, height;
644 /* Limit set_fmt max size to crop width / height */
645 width = clamp_val(ALIGN(format->format.width, 2),
646 OV2680_MIN_CROP_WIDTH, crop->width);
650 ov2680_fill_format(sensor, &format->format, width, height);
691 sel->r.width = OV2680_NATIVE_WIDTH;
725 rect.width = clamp_val(ALIGN(sel->r.width, 2),
731 rect.width = min_t(unsigned int, rect.width,
739 if (rect.width != crop->width || rect.height != crop->height) {
746 format->width = rect.width;
784 fse->min_width = crop->width / (fse->index + 1);
808 if (fie->width == fse.min_width &&