Home
last modified time | relevance | path

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

123

/Linux-v6.6/arch/m68k/hp300/
Dhp300map.map185 compose '`' 'A' to '�'
186 compose '`' 'a' to '�'
187 compose '\'' 'A' to '�'
188 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 '�'
[all …]
/Linux-v6.6/drivers/tty/vt/
Ddefkeymap.map291 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 …]
/Linux-v6.6/drivers/staging/media/imx/
Dimx-media-csi.c82 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()
1175 return &priv->compose; in __csi_get_compose()
1421 struct v4l2_rect *compose, in csi_try_fmt() argument
1435 sdformat->format.width = compose->width; in csi_try_fmt()
1436 sdformat->format.height = compose->height; in csi_try_fmt()
1489 compose->left = 0; in csi_try_fmt()
1490 compose->top = 0; in csi_try_fmt()
[all …]
Dimx-media-capture.c140 __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()
694 if (priv->vdev.compose.width != fmt_src.format.width || in capture_validate_fmt()
695 priv->vdev.compose.height != fmt_src.format.height) in capture_validate_fmt()
[all …]
/Linux-v6.6/Documentation/userspace-api/media/v4l/
Dselection-api-examples.rst45 /* 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;
Dv4l2-selection-targets.rst68 - Bounds of the compose rectangle. All valid compose rectangles fit
69 inside the compose bounds rectangle.
Ddev-subdev.rst242 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
437 pad crop rectangle. The location of the compose rectangle specifies
438 the location of the actual sink compose rectangle in the sink compose
[all …]
/Linux-v6.6/drivers/media/platform/renesas/vsp1/
Dvsp1_brx.c159 struct v4l2_rect *compose; in brx_set_format() local
161 compose = brx_get_compose(brx, config, fmt->pad); in brx_set_format()
162 compose->left = 0; in brx_set_format()
163 compose->top = 0; in brx_set_format()
164 compose->width = format->width; in brx_set_format()
165 compose->height = format->height; in brx_set_format()
225 struct v4l2_rect *compose; in brx_set_selection() local
260 compose = brx_get_compose(brx, config, sel->pad); in brx_set_selection()
261 *compose = sel->r; in brx_set_selection()
Dvsp1_hgt.c134 struct v4l2_rect *compose; in hgt_configure_stream() local
144 compose = vsp1_entity_get_pad_selection(entity, entity->config, in hgt_configure_stream()
167 hratio = crop->width * 2 / compose->width / 3; in hgt_configure_stream()
168 vratio = crop->height * 2 / compose->height / 3; in hgt_configure_stream()
Dvsp1_hgo.c138 struct v4l2_rect *compose; in hgo_configure_stream() local
145 compose = vsp1_entity_get_pad_selection(entity, entity->config, in hgo_configure_stream()
164 hratio = crop->width * 2 / compose->width / 3; in hgo_configure_stream()
165 vratio = crop->height * 2 / compose->height / 3; in hgo_configure_stream()
Dvsp1_rpf.c166 const struct v4l2_rect *compose; in rpf_configure_stream() local
168 compose = vsp1_entity_get_pad_selection(pipe->brx, in rpf_configure_stream()
172 left = compose->left; in rpf_configure_stream()
173 top = compose->top; in rpf_configure_stream()
Dvsp1_drm.h62 struct v4l2_rect compose; member
Dvsp1_histo.c297 struct v4l2_rect *compose; in histo_set_compose() local
336 compose = vsp1_entity_get_pad_selection(&histo->entity, sd_state, in histo_set_compose()
339 *compose = sel->r; in histo_set_compose()
/Linux-v6.6/drivers/media/test-drivers/vivid/
Dvivid-vid-out.c453 struct v4l2_rect *compose = &dev->compose_out; in vivid_s_fmt_vid_out() local
504 v4l2_rect_set_min_size(compose, &min_r); in vivid_s_fmt_vid_out()
505 v4l2_rect_set_max_size(compose, &max_r); in vivid_s_fmt_vid_out()
506 v4l2_rect_map_inside(compose, &dev->compose_bounds_out); in vivid_s_fmt_vid_out()
519 v4l2_rect_set_min_size(compose, &min_r); in vivid_s_fmt_vid_out()
520 v4l2_rect_set_max_size(compose, &max_r); in vivid_s_fmt_vid_out()
521 v4l2_rect_map_inside(compose, &dev->compose_bounds_out); in vivid_s_fmt_vid_out()
526 v4l2_rect_set_size_to(compose, &r); in vivid_s_fmt_vid_out()
527 v4l2_rect_map_inside(compose, &dev->compose_bounds_out); in vivid_s_fmt_vid_out()
531 v4l2_rect_set_size_to(compose, &r); in vivid_s_fmt_vid_out()
[all …]
Dvivid-vid-cap.c674 struct v4l2_rect *compose = &dev->compose_cap; in vivid_s_fmt_vid_cap() local
701 v4l2_rect_map_inside(compose, &r); in vivid_s_fmt_vid_cap()
703 *compose = r; in vivid_s_fmt_vid_cap()
722 compose->width / MAX_ZOOM, in vivid_s_fmt_vid_cap()
723 factor * compose->height / MAX_ZOOM in vivid_s_fmt_vid_cap()
727 compose->width * MAX_ZOOM, in vivid_s_fmt_vid_cap()
728 factor * compose->height * MAX_ZOOM in vivid_s_fmt_vid_cap()
741 v4l2_rect_set_size_to(compose, &r); in vivid_s_fmt_vid_cap()
743 v4l2_rect_map_inside(compose, &r); in vivid_s_fmt_vid_cap()
748 compose->top *= factor; in vivid_s_fmt_vid_cap()
[all …]
/Linux-v6.6/drivers/media/platform/renesas/rcar-vin/
Drcar-dma.c176 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 …]
Drcar-v4l2.c242 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()
909 vin->compose = vin->crop; in rvin_mc_s_fmt_vid_cap()
/Linux-v6.6/drivers/media/common/v4l2-tpg/
Dv4l2-tpg-core.c94 tpg->crop.width = tpg->compose.width = w; in tpg_init()
95 tpg->crop.height = tpg->compose.height = h; in tpg_init()
476 const struct v4l2_rect *compose) in tpg_s_crop_compose() argument
479 tpg->compose = *compose; in tpg_s_crop_compose()
480 tpg->scaled_width = (tpg->src_width * tpg->compose.width + in tpg_s_crop_compose()
506 tpg->compose.top = tpg->compose.left = 0; in tpg_reset_source()
507 tpg->compose.width = width; in tpg_reset_source()
508 tpg->compose.height = tpg->buf_height; in tpg_reset_source()
1977 if (y + 16 >= tpg->compose.height || x + 8 >= tpg->compose.width) in tpg_gen_text()
1980 if (len > (tpg->compose.width - x) / 8) in tpg_gen_text()
[all …]
/Linux-v6.6/drivers/media/platform/nxp/imx8-isi/
Dimx8-isi-pipe.c242 const struct v4l2_rect *compose; in mxc_isi_pipe_enable() local
268 compose = v4l2_subdev_get_try_compose(sd, 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_cfg() local
372 compose = mxc_isi_pipe_get_pad_compose(pipe, state, in mxc_isi_pipe_init_cfg()
376 compose->left = 0; in mxc_isi_pipe_init_cfg()
377 compose->top = 0; in mxc_isi_pipe_init_cfg()
378 compose->width = MXC_ISI_DEF_WIDTH; in mxc_isi_pipe_init_cfg()
379 compose->height = MXC_ISI_DEF_HEIGHT; in mxc_isi_pipe_init_cfg()
[all …]
/Linux-v6.6/drivers/media/platform/mediatek/mdp3/
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()
456 out->buffer.format.width = frame->compose.width; in mdp_set_dst_config()
457 out->buffer.format.height = frame->compose.height; in mdp_set_dst_config()
492 frame->compose.width = frame->format.fmt.pix_mp.width; in mdp_frameparam_init()
493 frame->compose.height = frame->format.fmt.pix_mp.height; in mdp_frameparam_init()
Dmtk-mdp3-m2m.c99 task.composes[0] = &frame->compose; in mdp_m2m_device_run()
141 &capture->compose, in mdp_m2m_start_streaming()
332 capture->compose.left = 0; in mdp_m2m_s_fmt_mplane()
333 capture->compose.top = 0; in mdp_m2m_s_fmt_mplane()
334 capture->compose.width = f->fmt.pix_mp.width; in mdp_m2m_s_fmt_mplane()
335 capture->compose.height = f->fmt.pix_mp.height; in mdp_m2m_s_fmt_mplane()
378 s->r = frame->compose; in mdp_m2m_g_selection()
434 capture->compose = r; in mdp_m2m_s_selection()
Dmtk-mdp3-regs.h312 struct v4l2_rect compose; member
369 const struct v4l2_rect *compose, s32 rotation,
/Linux-v6.6/drivers/s390/char/
Ddefkeymap.map189 compose '^' 'c' to Control_c
190 compose '^' 'd' to Control_d
191 compose '^' 'z' to Control_z
192 compose '^' '\012' to nul
/Linux-v6.6/drivers/media/platform/qcom/camss/
Dcamss-vfe.c797 return &line->compose; in __vfe_get_compose()
932 struct v4l2_rect *compose; in vfe_try_crop() local
934 compose = __vfe_get_compose(line, sd_state, which); in vfe_try_crop()
936 if (rect->width > compose->width) in vfe_try_crop()
937 rect->width = compose->width; in vfe_try_crop()
939 if (rect->width + rect->left > compose->width) in vfe_try_crop()
940 rect->left = compose->width - rect->width; in vfe_try_crop()
942 if (rect->height > compose->height) in vfe_try_crop()
943 rect->height = compose->height; in vfe_try_crop()
945 if (rect->height + rect->top > compose->height) in vfe_try_crop()
[all …]
/Linux-v6.6/fs/hfsplus/
Dunicode.c131 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()

123