Home
last modified time | relevance | path

Searched refs:compose (Results 1 – 25 of 39) sorted by relevance

12

/drivers/tty/vt/
A Ddefkeymap.map291 compose '`' 'A' to '�'
292 compose '`' 'a' to '�'
295 compose '^' 'A' to '�'
296 compose '^' 'a' to '�'
297 compose '~' 'A' to '�'
298 compose '~' 'a' to '�'
299 compose '"' 'A' to '�'
300 compose '"' 'a' to '�'
301 compose 'O' 'A' to '�'
302 compose 'o' 'a' to '�'
[all …]
/drivers/media/platform/st/stm32/stm32-dcmipp/
A Ddcmipp-byteproc.c119 struct v4l2_rect *compose) in dcmipp_byteproc_adjust_crop() argument
123 v4l2_rect_map_inside(r, compose); in dcmipp_byteproc_adjust_crop()
234 struct v4l2_rect *compose; in dcmipp_byteproc_enum_frame_size() local
247 fse->max_width = compose->width; in dcmipp_byteproc_enum_frame_size()
279 *compose = *crop; in dcmipp_byteproc_set_fmt()
322 s->r = *compose; in dcmipp_byteproc_get_selection()
325 s->r = *compose; in dcmipp_byteproc_get_selection()
382 *compose = s->r; in dcmipp_byteproc_set_selection()
390 compose->left, compose->top, in dcmipp_byteproc_set_selection()
391 compose->width, compose->height); in dcmipp_byteproc_set_selection()
[all …]
/drivers/staging/media/imx/
A Dimx-media-csi.c82 struct v4l2_rect compose; member
1189 return &priv->compose; in __csi_get_compose()
1503 compose->left = 0; in csi_try_fmt()
1504 compose->top = 0; in csi_try_fmt()
1564 compose, &outcc); in csi_set_fmt()
1620 sel->r = *compose; in csi_get_selection()
1634 *compose != crop && *compose != crop / 2) in csi_set_scale()
1640 *compose = crop / 2; in csi_set_scale()
1642 *compose = crop; in csi_set_scale()
1709 *compose = sel->r; in csi_set_selection()
[all …]
A Dimx-media-capture.c174 if (compose) { in __capture_try_fmt()
175 compose->width = fmt_src.width; in __capture_try_fmt()
176 compose->height = fmt_src.height; in __capture_try_fmt()
200 cc = __capture_try_fmt(&f->fmt.pix, &priv->vdev.compose); in capture_s_fmt_vid_cap()
218 s->r = priv->vdev.compose; in capture_g_selection()
471 priv->vdev.compose.width = fmt_src.format.width; in capture_legacy_s_fmt_vid_cap()
472 priv->vdev.compose.height = fmt_src.format.height; in capture_legacy_s_fmt_vid_cap()
697 if (priv->vdev.compose.width != fmt_src.format.width || in capture_validate_fmt()
698 priv->vdev.compose.height != fmt_src.format.height) in capture_validate_fmt()
896 vdev->compose.width = fmt_src.format.width; in capture_init_format()
[all …]
/drivers/media/test-drivers/vivid/
A Dvivid-vid-out.c520 v4l2_rect_set_size_to(compose, &r); in vivid_s_fmt_vid_out()
525 v4l2_rect_set_size_to(compose, &r); in vivid_s_fmt_vid_out()
528 v4l2_rect_set_max_size(compose, &r); in vivid_s_fmt_vid_out()
532 v4l2_rect_set_size_to(crop, compose); in vivid_s_fmt_vid_out()
542 v4l2_rect_set_size_to(compose, &r); in vivid_s_fmt_vid_out()
725 v4l2_rect_set_size_to(compose, &s->r); in vivid_vid_out_s_selection()
792 *compose = s->r; in vivid_vid_out_s_selection()
835 win->w.width = compose->width; in vidioc_g_fmt_vid_out_overlay()
836 win->w.height = compose->height; in vidioc_g_fmt_vid_out_overlay()
856 win->w.width = compose->width; in vidioc_try_fmt_vid_out_overlay()
[all …]
A Dvivid-vid-cap.c698 *compose = r; in vivid_s_fmt_vid_cap()
717 compose->width / MAX_ZOOM, in vivid_s_fmt_vid_cap()
722 compose->width * MAX_ZOOM, in vivid_s_fmt_vid_cap()
738 v4l2_rect_map_inside(compose, &r); in vivid_s_fmt_vid_cap()
743 compose->top *= factor; in vivid_s_fmt_vid_cap()
744 compose->height *= factor; in vivid_s_fmt_vid_cap()
746 v4l2_rect_map_inside(compose, &r); in vivid_s_fmt_vid_cap()
747 compose->top /= factor; in vivid_s_fmt_vid_cap()
748 compose->height /= factor; in vivid_s_fmt_vid_cap()
765 v4l2_rect_set_size_to(compose, &r); in vivid_s_fmt_vid_cap()
[all …]
/drivers/media/platform/renesas/vsp1/
A Dvsp1_brx.c158 struct v4l2_rect *compose; in brx_set_format() local
160 compose = v4l2_subdev_state_get_compose(state, fmt->pad); in brx_set_format()
161 compose->left = 0; in brx_set_format()
162 compose->top = 0; in brx_set_format()
163 compose->width = format->width; in brx_set_format()
164 compose->height = format->height; in brx_set_format()
223 struct v4l2_rect *compose; in brx_set_selection() local
256 compose = v4l2_subdev_state_get_compose(state, sel->pad); in brx_set_selection()
257 *compose = sel->r; in brx_set_selection()
A Dvsp1_hgt.c135 struct v4l2_rect *compose; in hgt_configure_stream() local
144 compose = v4l2_subdev_state_get_compose(state, HISTO_PAD_SINK); in hgt_configure_stream()
165 hratio = crop->width * 2 / compose->width / 3; in hgt_configure_stream()
166 vratio = crop->height * 2 / compose->height / 3; in hgt_configure_stream()
A Dvsp1_hgo.c139 struct v4l2_rect *compose; in hgo_configure_stream() local
145 compose = v4l2_subdev_state_get_compose(state, HISTO_PAD_SINK); in hgo_configure_stream()
162 hratio = crop->width * 2 / compose->width / 3; in hgo_configure_stream()
163 vratio = crop->height * 2 / compose->height / 3; in hgo_configure_stream()
A Dvsp1_rpf.c187 const struct v4l2_rect *compose; in rpf_configure_stream() local
189 compose = v4l2_subdev_state_get_compose(pipe->brx->state, in rpf_configure_stream()
191 left = compose->left; in rpf_configure_stream()
192 top = compose->top; in rpf_configure_stream()
A Dvsp1_drm.h64 struct v4l2_rect compose; member
A Dvsp1_histo.c279 struct v4l2_rect *compose; in histo_set_compose() local
316 compose = v4l2_subdev_state_get_compose(sd_state, sel->pad); in histo_set_compose()
317 *compose = sel->r; in histo_set_compose()
/drivers/media/platform/renesas/rcar-vin/
A Drcar-dma.c184 vin->compose.width == vin->format.width && in rvin_scaler_needed()
186 vin->compose.height == vin->format.height); in rvin_scaler_needed()
567 if (vin->crop.height != vin->compose.height) in rvin_scaler_gen2()
572 if (vin->crop.width != vin->compose.width) in rvin_scaler_gen2()
573 xs = (4096 * vin->crop.width) / vin->compose.width; in rvin_scaler_gen2()
640 clip_size = vin->compose.width << 16; in rvin_scaler_gen3()
646 clip_size |= vin->compose.height / 2; in rvin_scaler_gen3()
649 clip_size |= vin->compose.height; in rvin_scaler_gen3()
661 vin->crop.top, vin->compose.width, vin->compose.height, in rvin_scaler_gen3()
662 vin->compose.left, vin->compose.top); in rvin_scaler_gen3()
[all …]
A Drcar-v4l2.c402 s->r = vin->compose; in rvin_g_selection()
472 vin->compose = s->r = r; in rvin_s_selection()
544 vin->compose = vin->crop; in rvin_mc_s_fmt_vid_cap()
/drivers/media/platform/mediatek/mdp3/
A Dmtk-mdp3-regs.c284 const struct v4l2_rect *compose, s32 rotation, in mdp_check_scaling_ratio() argument
292 comp_w = compose->height; in mdp_check_scaling_ratio()
293 comp_h = compose->width; in mdp_check_scaling_ratio()
295 comp_w = compose->width; in mdp_check_scaling_ratio()
296 comp_h = compose->height; in mdp_check_scaling_ratio()
320 r2 = frame->compose.width * frame->compose.height; in mdp_check_pp_enable()
474 out->buffer.format.width = frame->compose.width; in mdp_set_dst_config()
475 out->buffer.format.height = frame->compose.height; in mdp_set_dst_config()
510 frame->compose.width = frame->format.fmt.pix_mp.width; in mdp_frameparam_init()
511 frame->compose.height = frame->format.fmt.pix_mp.height; in mdp_frameparam_init()
A Dmtk-mdp3-m2m.c102 task.composes[0] = &frame->compose; in mdp_m2m_device_run()
156 &capture->compose, in mdp_m2m_start_streaming()
345 capture->compose.left = 0; in mdp_m2m_s_fmt_mplane()
346 capture->compose.top = 0; in mdp_m2m_s_fmt_mplane()
347 capture->compose.width = f->fmt.pix_mp.width; in mdp_m2m_s_fmt_mplane()
348 capture->compose.height = f->fmt.pix_mp.height; in mdp_m2m_s_fmt_mplane()
391 s->r = frame->compose; in mdp_m2m_g_selection()
447 capture->compose = r; in mdp_m2m_s_selection()
A Dmtk-mdp3-regs.h312 struct v4l2_rect compose; member
369 const struct v4l2_rect *compose, s32 rotation,
/drivers/media/i2c/
A Dmt9m114.c880 compose->width, &ret); in mt9m114_configure_ifp()
882 compose->height, &ret); in mt9m114_configure_ifp()
890 compose->width - 1, &ret); in mt9m114_configure_ifp()
1665 struct v4l2_rect *compose; in mt9m114_ifp_init_state() local
1687 compose->left = 0; in mt9m114_ifp_init_state()
1688 compose->top = 0; in mt9m114_ifp_init_state()
1689 compose->width = crop->width; in mt9m114_ifp_init_state()
1902 struct v4l2_rect *compose; in mt9m114_ifp_set_selection() local
1943 compose->left = 0; in mt9m114_ifp_set_selection()
1944 compose->top = 0; in mt9m114_ifp_set_selection()
[all …]
/drivers/media/common/v4l2-tpg/
A Dv4l2-tpg-core.c508 const struct v4l2_rect *compose) in tpg_s_crop_compose() argument
511 tpg->compose = *compose; in tpg_s_crop_compose()
538 tpg->compose.top = tpg->compose.left = 0; in tpg_reset_source()
539 tpg->compose.width = width; in tpg_reset_source()
2012 if (y + 16 >= tpg->compose.height || x + 8 >= tpg->compose.width) in tpg_gen_text()
2021 y += tpg->compose.top; in tpg_gen_text()
2022 x += tpg->compose.left; in tpg_gen_text()
2146 y += tpg->compose.top; in tpg_calc_buffer_line()
2254 pr_info("tpg compose: (%d,%d)/%ux%u\n", tpg->compose.left, tpg->compose.top, in tpg_log_status()
2255 tpg->compose.width, tpg->compose.height); in tpg_log_status()
[all …]
/drivers/media/platform/nxp/imx8-isi/
A Dimx8-isi-pipe.c242 const struct v4l2_rect *compose; in mxc_isi_pipe_enable() local
268 compose = v4l2_subdev_state_get_compose(state, MXC_ISI_PIPE_PAD_SINK); in mxc_isi_pipe_enable()
278 scale.width = compose->width; in mxc_isi_pipe_enable()
279 scale.height = compose->height; in mxc_isi_pipe_enable()
350 struct v4l2_rect *compose; in mxc_isi_pipe_init_state() local
372 compose = mxc_isi_pipe_get_pad_compose(pipe, state, in mxc_isi_pipe_init_state()
376 compose->left = 0; in mxc_isi_pipe_init_state()
377 compose->top = 0; in mxc_isi_pipe_init_state()
378 compose->width = MXC_ISI_DEF_WIDTH; in mxc_isi_pipe_init_state()
379 compose->height = MXC_ISI_DEF_HEIGHT; in mxc_isi_pipe_init_state()
[all …]
/drivers/s390/char/
A Ddefkeymap.map189 compose '^' 'c' to Control_c
190 compose '^' 'd' to Control_d
191 compose '^' 'z' to Control_z
192 compose '^' '\012' to nul
/drivers/media/platform/qcom/camss/
A Dcamss-vfe.c1278 return &line->compose; in __vfe_get_compose()
1412 struct v4l2_rect *compose; in vfe_try_crop() local
1414 compose = __vfe_get_compose(line, sd_state, which); in vfe_try_crop()
1416 if (rect->width > compose->width) in vfe_try_crop()
1417 rect->width = compose->width; in vfe_try_crop()
1419 if (rect->width + rect->left > compose->width) in vfe_try_crop()
1420 rect->left = compose->width - rect->width; in vfe_try_crop()
1422 if (rect->height > compose->height) in vfe_try_crop()
1423 rect->height = compose->height; in vfe_try_crop()
1425 if (rect->height + rect->top > compose->height) in vfe_try_crop()
[all …]
A Dcamss-vfe-4-1.c642 output = line->compose.width; in vfe_set_scale_cfg()
652 output = line->compose.height; in vfe_set_scale_cfg()
664 output = line->compose.width / 2; in vfe_set_scale_cfg()
674 output = line->compose.height; in vfe_set_scale_cfg()
676 output = line->compose.height / 2; in vfe_set_scale_cfg()
A Dcamss-vfe-4-7.c794 output = line->compose.width - 1; in vfe_set_scale_cfg()
804 output = line->compose.height - 1; in vfe_set_scale_cfg()
816 output = line->compose.width / 2 - 1; in vfe_set_scale_cfg()
826 output = line->compose.height - 1; in vfe_set_scale_cfg()
828 output = line->compose.height / 2 - 1; in vfe_set_scale_cfg()
A Dcamss-vfe-4-8.c765 output = line->compose.width - 1; in vfe_set_scale_cfg()
775 output = line->compose.height - 1; in vfe_set_scale_cfg()
787 output = line->compose.width / 2 - 1; in vfe_set_scale_cfg()
797 output = line->compose.height - 1; in vfe_set_scale_cfg()
799 output = line->compose.height / 2 - 1; in vfe_set_scale_cfg()

Completed in 755 milliseconds

12