Lines Matching refs:height

251 	pix_size = frame->rect.width * frame->rect.height;  in camif_prepare_addr()
458 size = (pix->width * pix->height * fmt->depth) / 8; in queue_setup()
723 pix->height = frame->f_height; in s3c_camif_vidioc_g_fmt()
751 pix->width, pix->height, crop->width, crop->height, in __camif_video_try_format()
758 sc_vrmax = min(SCALER_MAX_RATIO, 1 << (ffs(crop->height) - 1)); in __camif_video_try_format()
762 hmin = max_t(u32, 8, crop->height / sc_vrmax); in __camif_video_try_format()
767 &pix->height, hmin, pix_lim->max_height, 0, 0); in __camif_video_try_format()
770 pix->sizeimage = (pix->width * pix->height * fmt->depth) / 8; in __camif_video_try_format()
776 pix->width, pix->height, wmin, hmin, sc_hrmax, sc_vrmax); in __camif_video_try_format()
809 out_frame->f_height = pix->height; in s3c_camif_vidioc_s_fmt()
813 out_frame->rect.height = pix->height; in s3c_camif_vidioc_s_fmt()
822 pix->width * pix->height * fmt->depth, fmt->depth, in s3c_camif_vidioc_s_fmt()
847 src_fmt.format.height != camif->mbus_fmt.height || in camif_pipeline_validate()
1013 sel->r.height = vp->out_frame.f_height; in s3c_camif_g_selection()
1058 sel->r.left, sel->r.top, sel->r.width, sel->r.height); in s3c_camif_s_selection()
1256 mf->height = camif->camif_crop.height; in s3c_camif_subdev_get_fmt()
1286 &mf->height, 8, CAMIF_MAX_PIX_HEIGHT, 0, in __camif_subdev_try_format()
1292 &mf->height, 8, crop->height, in __camif_subdev_try_format()
1296 v4l2_dbg(1, debug, &camif->subdev, "%ux%u\n", mf->width, mf->height); in __camif_subdev_try_format()
1309 fmt->pad, mf->code, mf->width, mf->height); in s3c_camif_subdev_set_fmt()
1339 crop->height = mf->height; in s3c_camif_subdev_set_fmt()
1350 frame->f_height = mf->height; in s3c_camif_subdev_set_fmt()
1358 mf->height = crop->height; in s3c_camif_subdev_set_fmt()
1390 sel->r.height = mf->height; in s3c_camif_subdev_get_selection()
1399 crop->height, mf->width, mf->height); in s3c_camif_subdev_get_selection()
1420 &r->height, 0, mf->height, 1, 0); in __camif_try_crop()
1424 &top, 0, mf->height - r->height, 2, 0); in __camif_try_crop()
1429 r->height = mf->height - top; in __camif_try_crop()
1441 if ((or->width > r->width) == (or->height > r->height)) in __camif_try_crop()
1450 r->left, r->top, r->width, r->height, mf->width, mf->height); in __camif_try_crop()
1490 __func__, crop->left, crop->top, crop->width, crop->height, in s3c_camif_subdev_set_selection()
1491 camif->mbus_fmt.width, camif->mbus_fmt.height); in s3c_camif_subdev_set_selection()
1652 f->rect.height = CAMIF_DEF_HEIGHT; in s3c_camif_set_defaults()
1663 camif->mbus_fmt.height = CAMIF_DEF_HEIGHT; in s3c_camif_set_defaults()
1668 camif->camif_crop.height = CAMIF_DEF_HEIGHT; in s3c_camif_set_defaults()