| /linux-6.15/arch/m68k/hp300/ |
| H A D | hp300map.map | 185 compose '`' 'A' to '�' 186 compose '`' 'a' to '�' 189 compose '^' 'A' to '�' 190 compose '^' 'a' to '�' 191 compose '~' 'A' to '�' 192 compose '~' 'a' to '�' 193 compose '"' 'A' to '�' 194 compose '"' 'a' to '�' 195 compose 'O' 'A' to '�' 196 compose 'o' 'a' to '�' [all …]
|
| /linux-6.15/drivers/tty/vt/ |
| H A D | defkeymap.map | 291 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 …]
|
| /linux-6.15/drivers/media/platform/st/stm32/stm32-dcmipp/ |
| H A D | dcmipp-byteproc.c | 119 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->width, compose->height, in dcmipp_byteproc_set_selection() 391 compose->left, compose->top); in dcmipp_byteproc_set_selection() [all …]
|
| /linux-6.15/Documentation/userspace-api/media/v4l/ |
| H A D | selection-api-examples.rst | 45 /* setting smaller compose rectangle */ 65 struct v4l2_selection compose = { 75 ret = ioctl(fd, VIDIOC_G_SELECTION, &compose); 83 hscale = (double)compose.r.width / crop.r.width; 84 vscale = (double)compose.r.height / crop.r.height;
|
| H A D | v4l2-selection-targets.rst | 68 - Bounds of the compose rectangle. All valid compose rectangles fit 69 inside the compose bounds rectangle.
|
| H A D | dev-subdev.rst | 242 compose selection rectangle 285 * - Configure scaler sink compose selection 310 values, as well as the compose rectangle on the scaler's sink pad. 320 propagates the size to the compose selection rectangle on the 323 4. The application configures the size of the compose selection 424 previous step. The exception to this rule is the sink compose 425 rectangle, which refers to the sink compose bounds rectangle --- if it 435 3. Sink pad actual compose selection. The size of the sink pad compose 438 the location of the actual sink compose rectangle in the sink compose 442 performed to the image in the sink compose bounds rectangle. [all …]
|
| /linux-6.15/drivers/media/platform/renesas/vsp1/ |
| H A 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()
|
| H A 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()
|
| H A 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()
|
| H A 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()
|
| H A D | vsp1_drm.h | 64 struct v4l2_rect compose; member
|
| /linux-6.15/drivers/staging/media/imx/ |
| H A D | imx-media-csi.c | 82 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 …]
|
| H A D | imx-media-capture.c | 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() 896 vdev->compose.width = fmt_src.format.width; in capture_init_format() [all …]
|
| /linux-6.15/drivers/media/test-drivers/vivid/ |
| H A D | vivid-vid-out.c | 520 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 …]
|
| H A D | vivid-vid-cap.c | 696 *compose = r; in vivid_s_fmt_vid_cap() 715 compose->width / MAX_ZOOM, in vivid_s_fmt_vid_cap() 720 compose->width * MAX_ZOOM, in vivid_s_fmt_vid_cap() 736 v4l2_rect_map_inside(compose, &r); in vivid_s_fmt_vid_cap() 741 compose->top *= factor; in vivid_s_fmt_vid_cap() 742 compose->height *= factor; in vivid_s_fmt_vid_cap() 744 v4l2_rect_map_inside(compose, &r); in vivid_s_fmt_vid_cap() 745 compose->top /= factor; in vivid_s_fmt_vid_cap() 746 compose->height /= factor; in vivid_s_fmt_vid_cap() 763 v4l2_rect_set_size_to(compose, &r); in vivid_s_fmt_vid_cap() [all …]
|
| /linux-6.15/drivers/media/platform/mediatek/mdp3/ |
| H A 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()
|
| H A D | mtk-mdp3-m2m.c | 102 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()
|
| /linux-6.15/drivers/media/platform/renesas/rcar-vin/ |
| H A D | rcar-dma.c | 178 vin->compose.width == vin->format.width && in rvin_scaler_needed() 180 vin->compose.height == vin->format.height); in rvin_scaler_needed() 566 if (crop_height != vin->compose.height) in rvin_scaler_gen2() 567 ys = (4096 * crop_height) / vin->compose.height; in rvin_scaler_gen2() 571 if (vin->crop.width != vin->compose.width) in rvin_scaler_gen2() 639 clip_size = vin->compose.width << 16; in rvin_scaler_gen3() 647 clip_size |= vin->compose.height / 2; in rvin_scaler_gen3() 650 clip_size |= vin->compose.height; in rvin_scaler_gen3() 662 vin->crop.top, vin->compose.width, vin->compose.height, in rvin_scaler_gen3() 663 vin->compose.left, vin->compose.top); in rvin_scaler_gen3() [all …]
|
| H A D | rcar-v4l2.c | 265 vin->compose.top = 0; in rvin_reset_format() 266 vin->compose.left = 0; in rvin_reset_format() 267 vin->compose.width = vin->format.width; in rvin_reset_format() 268 vin->compose.height = vin->format.height; in rvin_reset_format() 372 v4l2_rect_map_inside(&vin->compose, &fmt_rect); in rvin_s_fmt_vid_cap() 547 s->r = vin->compose; in rvin_g_selection() 617 vin->compose = s->r = r; in rvin_s_selection() 955 vin->compose = vin->crop; in rvin_mc_s_fmt_vid_cap()
|
| /linux-6.15/drivers/media/platform/nxp/imx8-isi/ |
| H A 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 …]
|
| /linux-6.15/drivers/media/common/v4l2-tpg/ |
| H A D | v4l2-tpg-core.c | 508 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 …]
|
| /linux-6.15/drivers/s390/char/ |
| H A 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
|
| /linux-6.15/drivers/media/i2c/ |
| H A D | mt9m114.c | 1653 struct v4l2_rect *compose; in mt9m114_ifp_init_state() local 1675 compose->left = 0; in mt9m114_ifp_init_state() 1676 compose->top = 0; in mt9m114_ifp_init_state() 1677 compose->width = crop->width; in mt9m114_ifp_init_state() 1678 compose->height = crop->height; in mt9m114_ifp_init_state() 1682 format->width = compose->width; in mt9m114_ifp_init_state() 1890 struct v4l2_rect *compose; in mt9m114_ifp_set_selection() local 1925 compose->width = crop->width; in mt9m114_ifp_set_selection() 1931 compose->left = 0; in mt9m114_ifp_set_selection() 1932 compose->top = 0; in mt9m114_ifp_set_selection() [all …]
|
| /linux-6.15/fs/hfsplus/ |
| H A D | unicode.c | 131 int i, len, ustrlen, res, compose; in hfsplus_uni2asc() local 138 compose = !test_bit(HFSPLUS_SB_NODECOMPOSE, &HFSPLUS_SB(sb)->flags); in hfsplus_uni2asc() 144 if (likely(compose)) in hfsplus_uni2asc() 180 if (likely(compose)) in hfsplus_uni2asc()
|
| /linux-6.15/drivers/media/platform/qcom/camss/ |
| H A D | camss-vfe.c | 1277 return &line->compose; in __vfe_get_compose() 1411 struct v4l2_rect *compose; in vfe_try_crop() local 1413 compose = __vfe_get_compose(line, sd_state, which); in vfe_try_crop() 1415 if (rect->width > compose->width) in vfe_try_crop() 1416 rect->width = compose->width; in vfe_try_crop() 1418 if (rect->width + rect->left > compose->width) in vfe_try_crop() 1419 rect->left = compose->width - rect->width; in vfe_try_crop() 1421 if (rect->height > compose->height) in vfe_try_crop() 1422 rect->height = compose->height; in vfe_try_crop() 1424 if (rect->height + rect->top > compose->height) in vfe_try_crop() [all …]
|