Home
last modified time | relevance | path

Searched refs:f_width (Results 1 – 16 of 16) sorted by relevance

/Linux-v4.19/drivers/media/platform/exynos4-is/
Dfimc-lite.c365 unsigned long wh = frame->f_width * frame->f_height; in queue_setup()
616 v4l_bound_align_image(&r->width, 0, frame->f_width, 0, in fimc_lite_try_crop()
620 r->left = clamp_t(u32, r->left, 0, frame->f_width - r->width); in fimc_lite_try_crop()
626 frame->f_width, frame->f_height); in fimc_lite_try_crop()
640 r->left = clamp_t(u32, r->left, 0, frame->f_width - r->width); in fimc_lite_try_compose()
646 frame->f_width, frame->f_height); in fimc_lite_try_compose()
691 plane_fmt->bytesperline = (frame->f_width * fmt->depth[0]) / 8; in fimc_lite_g_fmt_mplane()
696 pixm->width = frame->f_width; in fimc_lite_g_fmt_mplane()
773 frame->f_width = pixm->width; in fimc_lite_s_fmt_mplane()
794 sink_fmt.format.width = ff->f_width; in fimc_pipeline_validate()
[all …]
Dfimc-lite-reg.c155 cfg |= (f->f_width << 16) | f->f_height; in flite_hw_set_source_format()
172 hoff2 = f->f_width - f->rect.width - f->rect.left; in flite_hw_set_window_offset()
257 cfg |= (f->f_height << 16) | f->f_width; in flite_hw_set_dma_window()
Dfimc-capture.c349 unsigned long wh = frame->f_width * frame->f_height; in queue_setup()
622 *width = ctx->s_frame.f_width; in fimc_capture_try_format()
647 dst->f_width, dst->f_height); in fimc_capture_try_format()
667 r->width = sink->f_width; in fimc_capture_try_selection()
699 rotate ? sink->f_height : sink->f_width); in fimc_capture_try_selection()
703 min_w = min_t(u32, max_w, sink->f_width / max_sc_h); in fimc_capture_try_selection()
714 r->left = clamp_t(u32, r->left, 0, sink->f_width - r->width); in fimc_capture_try_selection()
720 sink->f_width, sink->f_height); in fimc_capture_try_selection()
941 ctx->s_frame.f_width = pix->width; in __video_try_or_set_format()
1147 sink_fmt.format.width = ff->f_width; in fimc_pipeline_validate()
[all …]
Dfimc-lite.h89 u16 f_width; member
Dfimc-core.h250 u32 f_width; member
511 f->f_width = width; in set_frame_bounds()
Dfimc-reg.c156 cfg = (frame->f_height << 16) | frame->f_width; in fimc_hw_set_out_dma_size()
161 if (frame->f_width >= 1280) /* HD */ in fimc_hw_set_out_dma_size()
416 cfg_o |= (frame->f_height << 16) | frame->f_width; in fimc_hw_set_in_dma_size()
Dfimc-m2m.c336 frame->f_width = pixm->width; in __set_frame_format()
469 f->f_width, f->f_height); in fimc_m2m_try_crop()
/Linux-v4.19/drivers/media/platform/s3c-camif/
Dcamif-regs.c228 cfg |= (frame->f_width << 16) | frame->f_height; in camif_hw_set_out_dma_size()
305 pr_debug("fw: %d, fh: %d color: %d\n", frame->f_width, in camif_hw_set_target_format()
337 cfg |= (frame->f_height << 16) | frame->f_width; in camif_hw_set_target_format()
339 cfg |= (frame->f_width << 16) | frame->f_height; in camif_hw_set_target_format()
345 cfg |= (frame->f_width * frame->f_height); in camif_hw_set_target_format()
Dcamif-capture.c60 f->dma_offset.initial = f->rect.top * f->f_width + f->rect.left; in camif_prepare_dma_offset()
61 f->dma_offset.line = f->f_width - (f->rect.left + f->rect.width); in camif_prepare_dma_offset()
452 size = (frame->f_width * frame->f_height * fmt->depth) / 8; in queue_setup()
706 pix->bytesperline = frame->f_width * fmt->ybpp; in s3c_camif_vidioc_g_fmt()
710 pix->width = frame->f_width; in s3c_camif_vidioc_g_fmt()
796 out_frame->f_width = pix->width; in s3c_camif_vidioc_s_fmt()
809 out_frame->f_width, out_frame->f_height, vp->payload, fmt->name, in s3c_camif_vidioc_s_fmt()
1000 sel->r.width = vp->out_frame.f_width; in s3c_camif_g_selection()
1339 frame->f_width = mf->width; in s3c_camif_subdev_set_fmt()
1639 f->f_width = CAMIF_DEF_WIDTH; in s3c_camif_set_defaults()
[all …]
Dcamif-core.h122 u16 f_width; member
/Linux-v4.19/drivers/pinctrl/sh-pfc/
Dsh_pfc.h116 #define PINMUX_CFG_REG(name, r, r_width, f_width) \ argument
117 .reg = r, .reg_width = r_width, .field_width = f_width, \
118 .enum_ids = (const u16 [(r_width / f_width) * (1 << f_width)])
Dcore.c254 unsigned int f_width = config_reg->field_width; in sh_pfc_get_config_reg() local
267 if (f_width) in sh_pfc_get_config_reg()
268 curr_width = f_width; in sh_pfc_get_config_reg()
/Linux-v4.19/drivers/media/platform/exynos-gsc/
Dgsc-core.c257 frame->f_width = width; in gsc_set_frame_size()
517 pix_mp->width = frame->f_width; in gsc_g_fmt_mplane()
525 pix_mp->plane_fmt[i].bytesperline = (frame->f_width * in gsc_g_fmt_mplane()
578 max_w = f->f_width; in gsc_try_crop()
602 max_h = f->f_width; in gsc_try_crop()
848 pix_size = frame->f_width * frame->f_height; in gsc_prepare_addr()
Dgsc-regs.c136 cfg = GSC_SRCIMG_WIDTH(frame->f_width); in gsc_hw_set_in_size()
249 cfg = GSC_DSTIMG_WIDTH(frame->f_width); in gsc_hw_set_out_size()
Dgsc-core.h199 u32 f_width; member
Dgsc-m2m.c369 pr_debug("f_w: %d, f_h: %d", frame->f_width, frame->f_height); in gsc_m2m_s_fmt_mplane()
476 s->r.width = frame->f_width; in gsc_m2m_g_selection()