Lines Matching refs:width
206 addr2 = addr1 + vou_dev->pix.width * vou_dev->pix.height; in sh_vou_schedule_next()
242 sh_vou_reg_ab_write(vou_dev, VOUAIR, vou_dev->pix.width * row_coeff); in sh_vou_stream_config()
253 int bytes_per_line = vou_fmt[vou_dev->pix_idx].bpp * pix->width / 8; in sh_vou_queue_setup()
269 unsigned bytes_per_line = vou_fmt[vou_dev->pix_idx].bpp * pix->width / 8; in sh_vou_buf_prepare()
478 dsr_h = rect->width + rect->left; in sh_vou_configure_geometry()
483 pix->width, frame_in_height, black_left, black_top, in sh_vou_configure_geometry()
487 sh_vou_reg_ab_write(vou_dev, VOUISR, (pix->width << 16) | frame_in_height); in sh_vou_configure_geometry()
542 unsigned int found = geo->output.width * vou_scale_h_den[i] / in vou_adjust_input()
618 err = abs(found - geo->output.width); in vou_adjust_output()
628 geo->output.width = best; in vou_adjust_output()
693 v4l_bound_align_image(&pix->width, in sh_vou_try_fmt_vid_out()
697 pix->bytesperline = pix->width * vou_fmt[pix_idx].bpl; in sh_vou_try_fmt_vid_out()
698 pix->sizeimage = pix->height * ((pix->width * vou_fmt[pix_idx].bpp) >> 3); in sh_vou_try_fmt_vid_out()
726 geo.in_width = pix->width; in sh_vou_set_fmt_vid_out()
732 mbfmt->width = geo.output.width; in sh_vou_set_fmt_vid_out()
741 geo.output.width, geo.output.height, mbfmt->width, mbfmt->height); in sh_vou_set_fmt_vid_out()
749 if ((unsigned)mbfmt->width > VOU_MAX_IMAGE_WIDTH || in sh_vou_set_fmt_vid_out()
754 if (mbfmt->width != geo.output.width || in sh_vou_set_fmt_vid_out()
756 geo.output.width = mbfmt->width; in sh_vou_set_fmt_vid_out()
764 pix->width = geo.in_width; in sh_vou_set_fmt_vid_out()
768 pix->width, pix->height); in sh_vou_set_fmt_vid_out()
850 vou_dev->rect.width = VOU_MAX_IMAGE_WIDTH; in sh_vou_s_std()
860 vou_dev->pix.width = vou_dev->rect.width; in sh_vou_s_std()
863 vou_dev->pix.width * vou_fmt[vou_dev->pix_idx].bpl; in sh_vou_s_std()
865 ((vou_dev->pix.width * vou_fmt[vou_dev->pix_idx].bpp) >> 3); in sh_vou_s_std()
925 sel->r.width = VOU_MAX_IMAGE_WIDTH; in sh_vou_g_selection()
968 v4l_bound_align_image(&rect->width, in sh_vou_s_selection()
973 if (rect->width + rect->left > VOU_MAX_IMAGE_WIDTH) in sh_vou_s_selection()
974 rect->left = VOU_MAX_IMAGE_WIDTH - rect->width; in sh_vou_s_selection()
980 geo.in_width = pix->width; in sh_vou_s_selection()
984 sd_crop.c.width = geo.output.width; in sh_vou_s_selection()
992 format.format.width = geo.output.width; in sh_vou_s_selection()
1001 if ((unsigned)format.format.width > VOU_MAX_IMAGE_WIDTH || in sh_vou_s_selection()
1006 geo.output.width = format.format.width; in sh_vou_s_selection()
1017 pix->width = geo.in_width; in sh_vou_s_selection()
1263 rect->width = VOU_MAX_IMAGE_WIDTH; in sh_vou_probe()
1265 pix->width = VOU_MAX_IMAGE_WIDTH; in sh_vou_probe()