| /drivers/tty/vt/ |
| D | defkeymap.map | 291 compose '`' 'A' to '�' 292 compose '`' 'a' to '�' 293 compose '\'' 'A' to '�' 294 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 '�' [all …]
|
| /drivers/media/platform/st/stm32/stm32-dcmipp/ |
| D | dcmipp-byteproc.c | 103 struct v4l2_rect *compose) in dcmipp_byteproc_adjust_crop() argument 107 v4l2_rect_map_inside(r, compose); in dcmipp_byteproc_adjust_crop() 218 struct v4l2_rect *compose; in dcmipp_byteproc_enum_frame_size() local 230 compose = v4l2_subdev_state_get_compose(sd_state, 0); in dcmipp_byteproc_enum_frame_size() 231 fse->max_width = compose->width; in dcmipp_byteproc_enum_frame_size() 232 fse->max_height = compose->height; in dcmipp_byteproc_enum_frame_size() 244 struct v4l2_rect *crop, *compose; in dcmipp_byteproc_set_fmt() local 252 compose = v4l2_subdev_state_get_compose(sd_state, 0); in dcmipp_byteproc_set_fmt() 264 *compose = *crop; in dcmipp_byteproc_set_fmt() 278 struct v4l2_rect *crop, *compose; in dcmipp_byteproc_get_selection() local [all …]
|
| /drivers/staging/media/imx/ |
| D | imx-media-csi.c | 82 struct v4l2_rect compose; member 428 image.rect = vdev->compose; in csi_idmac_setup_channel() 730 priv->crop.width == 2 * priv->compose.width, in csi_setup() 731 priv->crop.height == 2 * priv->compose.height); in csi_setup() 1189 return &priv->compose; in __csi_get_compose() 1435 struct v4l2_rect *compose, in csi_try_fmt() argument 1449 sdformat->format.width = compose->width; in csi_try_fmt() 1450 sdformat->format.height = compose->height; in csi_try_fmt() 1503 compose->left = 0; in csi_try_fmt() 1504 compose->top = 0; in csi_try_fmt() [all …]
|
| D | imx-media-capture.c | 140 __capture_try_fmt(struct v4l2_pix_format *pixfmt, struct v4l2_rect *compose) in __capture_try_fmt() argument 174 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() [all …]
|
| /drivers/media/test-drivers/vivid/ |
| D | vivid-vid-out.c | 449 struct v4l2_rect *compose = &dev->compose_out; in vivid_s_fmt_vid_out() local 500 v4l2_rect_set_min_size(compose, &min_r); in vivid_s_fmt_vid_out() 501 v4l2_rect_set_max_size(compose, &max_r); in vivid_s_fmt_vid_out() 502 v4l2_rect_map_inside(compose, &dev->compose_bounds_out); in vivid_s_fmt_vid_out() 515 v4l2_rect_set_min_size(compose, &min_r); in vivid_s_fmt_vid_out() 516 v4l2_rect_set_max_size(compose, &max_r); in vivid_s_fmt_vid_out() 517 v4l2_rect_map_inside(compose, &dev->compose_bounds_out); in vivid_s_fmt_vid_out() 522 v4l2_rect_set_size_to(compose, &r); in vivid_s_fmt_vid_out() 523 v4l2_rect_map_inside(compose, &dev->compose_bounds_out); in vivid_s_fmt_vid_out() 527 v4l2_rect_set_size_to(compose, &r); in vivid_s_fmt_vid_out() [all …]
|
| D | vivid-vid-cap.c | 668 struct v4l2_rect *compose = &dev->compose_cap; in vivid_s_fmt_vid_cap() local 695 v4l2_rect_map_inside(compose, &r); in vivid_s_fmt_vid_cap() 697 *compose = r; in vivid_s_fmt_vid_cap() 716 compose->width / MAX_ZOOM, in vivid_s_fmt_vid_cap() 717 factor * compose->height / MAX_ZOOM in vivid_s_fmt_vid_cap() 721 compose->width * MAX_ZOOM, in vivid_s_fmt_vid_cap() 722 factor * compose->height * MAX_ZOOM in vivid_s_fmt_vid_cap() 735 v4l2_rect_set_size_to(compose, &r); in vivid_s_fmt_vid_cap() 737 v4l2_rect_map_inside(compose, &r); in vivid_s_fmt_vid_cap() 742 compose->top *= factor; in vivid_s_fmt_vid_cap() [all …]
|
| /drivers/media/platform/renesas/vsp1/ |
| D | vsp1_brx.c | 151 struct v4l2_rect *compose; in brx_set_format() local 153 compose = v4l2_subdev_state_get_compose(state, fmt->pad); in brx_set_format() 154 compose->left = 0; in brx_set_format() 155 compose->top = 0; in brx_set_format() 156 compose->width = format->width; in brx_set_format() 157 compose->height = format->height; in brx_set_format() 216 struct v4l2_rect *compose; in brx_set_selection() local 249 compose = v4l2_subdev_state_get_compose(state, sel->pad); in brx_set_selection() 250 *compose = sel->r; in brx_set_selection()
|
| D | vsp1_hgt.c | 135 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()
|
| D | vsp1_hgo.c | 139 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()
|
| D | vsp1_rpf.c | 155 const struct v4l2_rect *compose; in rpf_configure_stream() local 157 compose = v4l2_subdev_state_get_compose(pipe->brx->state, in rpf_configure_stream() 159 left = compose->left; in rpf_configure_stream() 160 top = compose->top; in rpf_configure_stream()
|
| D | vsp1_drm.h | 64 struct v4l2_rect compose; member
|
| D | vsp1_histo.c | 281 struct v4l2_rect *compose; in histo_set_compose() local 318 compose = v4l2_subdev_state_get_compose(sd_state, sel->pad); in histo_set_compose() 319 *compose = sel->r; in histo_set_compose()
|
| /drivers/media/platform/renesas/rcar-vin/ |
| D | rcar-dma.c | 176 vin->compose.width == vin->format.width && in rvin_scaler_needed() 178 vin->compose.height == vin->format.height); in rvin_scaler_needed() 564 if (crop_height != vin->compose.height) in rvin_scaler_gen2() 565 ys = (4096 * crop_height) / vin->compose.height; in rvin_scaler_gen2() 569 if (vin->crop.width != vin->compose.width) in rvin_scaler_gen2() 570 xs = (4096 * vin->crop.width) / vin->compose.width; in rvin_scaler_gen2() 631 ratio_h = rvin_uds_scale_ratio(vin->crop.width, vin->compose.width); in rvin_scaler_gen3() 634 ratio_v = rvin_uds_scale_ratio(vin->crop.height, vin->compose.height); in rvin_scaler_gen3() 637 clip_size = vin->compose.width << 16; in rvin_scaler_gen3() 645 clip_size |= vin->compose.height / 2; in rvin_scaler_gen3() [all …]
|
| D | rcar-v4l2.c | 242 vin->compose.top = 0; in rvin_reset_format() 243 vin->compose.left = 0; in rvin_reset_format() 244 vin->compose.width = vin->format.width; in rvin_reset_format() 245 vin->compose.height = vin->format.height; in rvin_reset_format() 349 v4l2_rect_map_inside(&vin->compose, &fmt_rect); in rvin_s_fmt_vid_cap() 504 s->r = vin->compose; in rvin_g_selection() 574 vin->compose = s->r = r; in rvin_s_selection() 912 vin->compose = vin->crop; in rvin_mc_s_fmt_vid_cap()
|
| /drivers/media/platform/mediatek/mdp3/ |
| D | mtk-mdp3-regs.c | 284 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()
|
| D | mtk-mdp3-m2m.c | 102 task.composes[0] = &frame->compose; in mdp_m2m_device_run() 156 &capture->compose, in mdp_m2m_start_streaming() 347 capture->compose.left = 0; in mdp_m2m_s_fmt_mplane() 348 capture->compose.top = 0; in mdp_m2m_s_fmt_mplane() 349 capture->compose.width = f->fmt.pix_mp.width; in mdp_m2m_s_fmt_mplane() 350 capture->compose.height = f->fmt.pix_mp.height; in mdp_m2m_s_fmt_mplane() 393 s->r = frame->compose; in mdp_m2m_g_selection() 449 capture->compose = r; in mdp_m2m_s_selection()
|
| D | mtk-mdp3-regs.h | 312 struct v4l2_rect compose; member 369 const struct v4l2_rect *compose, s32 rotation,
|
| /drivers/media/common/v4l2-tpg/ |
| D | v4l2-tpg-core.c | 94 tpg->crop.width = tpg->compose.width = w; in tpg_init() 95 tpg->crop.height = tpg->compose.height = h; in tpg_init() 508 const struct v4l2_rect *compose) in tpg_s_crop_compose() argument 511 tpg->compose = *compose; in tpg_s_crop_compose() 512 tpg->scaled_width = (tpg->src_width * tpg->compose.width + 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() 540 tpg->compose.height = tpg->buf_height; in tpg_reset_source() 2012 if (y + 16 >= tpg->compose.height || x + 8 >= tpg->compose.width) in tpg_gen_text() 2015 if (len > (tpg->compose.width - x) / 8) in tpg_gen_text() [all …]
|
| /drivers/media/platform/nxp/imx8-isi/ |
| D | imx8-isi-pipe.c | 242 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/media/i2c/ |
| D | mt9m114.c | 1645 struct v4l2_rect *compose; in mt9m114_ifp_init_state() local 1665 compose = v4l2_subdev_state_get_compose(state, 0); in mt9m114_ifp_init_state() 1667 compose->left = 0; in mt9m114_ifp_init_state() 1668 compose->top = 0; in mt9m114_ifp_init_state() 1669 compose->width = crop->width; in mt9m114_ifp_init_state() 1670 compose->height = crop->height; in mt9m114_ifp_init_state() 1674 format->width = compose->width; in mt9m114_ifp_init_state() 1675 format->height = compose->height; in mt9m114_ifp_init_state() 1882 struct v4l2_rect *compose; in mt9m114_ifp_set_selection() local 1894 compose = v4l2_subdev_state_get_compose(state, 0); in mt9m114_ifp_set_selection() [all …]
|
| /drivers/s390/char/ |
| D | defkeymap.map | 189 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/ |
| D | camss-vfe.c | 1005 return &line->compose; in __vfe_get_compose() 1139 struct v4l2_rect *compose; in vfe_try_crop() local 1141 compose = __vfe_get_compose(line, sd_state, which); in vfe_try_crop() 1143 if (rect->width > compose->width) in vfe_try_crop() 1144 rect->width = compose->width; in vfe_try_crop() 1146 if (rect->width + rect->left > compose->width) in vfe_try_crop() 1147 rect->left = compose->width - rect->width; in vfe_try_crop() 1149 if (rect->height > compose->height) in vfe_try_crop() 1150 rect->height = compose->height; in vfe_try_crop() 1152 if (rect->height + rect->top > compose->height) in vfe_try_crop() [all …]
|
| D | camss-vfe-4-1.c | 651 output = line->compose.width; in vfe_set_scale_cfg() 661 output = line->compose.height; in vfe_set_scale_cfg() 673 output = line->compose.width / 2; in vfe_set_scale_cfg() 683 output = line->compose.height; in vfe_set_scale_cfg() 685 output = line->compose.height / 2; in vfe_set_scale_cfg()
|
| D | camss-vfe-4-8.c | 776 output = line->compose.width - 1; in vfe_set_scale_cfg() 786 output = line->compose.height - 1; in vfe_set_scale_cfg() 798 output = line->compose.width / 2 - 1; in vfe_set_scale_cfg() 808 output = line->compose.height - 1; in vfe_set_scale_cfg() 810 output = line->compose.height / 2 - 1; in vfe_set_scale_cfg()
|
| D | camss-vfe-4-7.c | 805 output = line->compose.width - 1; in vfe_set_scale_cfg() 815 output = line->compose.height - 1; in vfe_set_scale_cfg() 827 output = line->compose.width / 2 - 1; in vfe_set_scale_cfg() 837 output = line->compose.height - 1; in vfe_set_scale_cfg() 839 output = line->compose.height / 2 - 1; in vfe_set_scale_cfg()
|