Lines Matching refs:width

189 		addr2 = addr1 + vou_dev->pix.width * vou_dev->pix.height;  in sh_vou_schedule_next()
226 sh_vou_reg_ab_write(vou_dev, VOUAIR, vou_dev->pix.width * row_coeff); in sh_vou_stream_start()
247 *size = vou_fmt[vou_dev->pix_idx].bpp * vou_dev->pix.width * in sh_vou_buf_setup()
271 int bytes_per_line = vou_fmt[vou_dev->pix_idx].bpp * pix->width / 8; in sh_vou_buf_prepare()
276 if (vb->width != pix->width || in sh_vou_buf_prepare()
279 vb->width = pix->width; in sh_vou_buf_prepare()
487 dsr_h = rect->width + rect->left; in sh_vou_configure_geometry()
492 pix->width, frame_in_height, black_left, black_top, in sh_vou_configure_geometry()
496 sh_vou_reg_ab_write(vou_dev, VOUISR, (pix->width << 16) | frame_in_height); in sh_vou_configure_geometry()
549 unsigned int found = geo->output.width * vou_scale_h_den[i] / in vou_adjust_input()
625 err = abs(found - geo->output.width); in vou_adjust_output()
635 geo->output.width = best; in vou_adjust_output()
691 vou_dev->rect.width, vou_dev->rect.height, in sh_vou_s_fmt_vid_out()
692 pix->width, pix->height); in sh_vou_s_fmt_vid_out()
714 v4l_bound_align_image(&pix->width, 0, VOU_MAX_IMAGE_WIDTH, 2, in sh_vou_s_fmt_vid_out()
717 geo.in_width = pix->width; in sh_vou_s_fmt_vid_out()
723 mbfmt.width = geo.output.width; in sh_vou_s_fmt_vid_out()
732 geo.output.width, geo.output.height, mbfmt.width, mbfmt.height); in sh_vou_s_fmt_vid_out()
735 if ((unsigned)mbfmt.width > VOU_MAX_IMAGE_WIDTH || in sh_vou_s_fmt_vid_out()
740 if (mbfmt.width != geo.output.width || in sh_vou_s_fmt_vid_out()
742 geo.output.width = mbfmt.width; in sh_vou_s_fmt_vid_out()
750 pix->width = geo.in_width; in sh_vou_s_fmt_vid_out()
754 pix->width, pix->height); in sh_vou_s_fmt_vid_out()
778 v4l_bound_align_image(&pix->width, 0, VOU_MAX_IMAGE_WIDTH, 1, in sh_vou_try_fmt_vid_out()
955 rect->width, rect->height, rect->left, rect->top); in sh_vou_s_crop()
965 v4l_bound_align_image(&rect->width, 0, VOU_MAX_IMAGE_WIDTH, 1, in sh_vou_s_crop()
968 if (rect->width + rect->left > VOU_MAX_IMAGE_WIDTH) in sh_vou_s_crop()
969 rect->left = VOU_MAX_IMAGE_WIDTH - rect->width; in sh_vou_s_crop()
975 geo.in_width = pix->width; in sh_vou_s_crop()
979 sd_crop.c.width = geo.output.width; in sh_vou_s_crop()
987 mbfmt.width = geo.output.width; in sh_vou_s_crop()
996 if ((unsigned)mbfmt.width > VOU_MAX_IMAGE_WIDTH || in sh_vou_s_crop()
1001 geo.output.width = mbfmt.width; in sh_vou_s_crop()
1012 pix->width = geo.in_width; in sh_vou_s_crop()
1038 a->bounds.width = VOU_MAX_IMAGE_WIDTH; in sh_vou_cropcap()
1043 a->defrect.width = VOU_MAX_IMAGE_WIDTH; in sh_vou_cropcap()
1330 rect->width = VOU_MAX_IMAGE_WIDTH; in sh_vou_probe()
1332 pix->width = VOU_MAX_IMAGE_WIDTH; in sh_vou_probe()