Home
last modified time | relevance | path

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

12

/Linux-v5.4/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-v5.4/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-v5.4/drivers/staging/media/imx/
Dimx-media-csi.c80 struct v4l2_rect compose; member
427 image.rect = vdev->compose; in csi_idmac_setup_channel()
738 priv->crop.width == 2 * priv->compose.width, in csi_setup()
739 priv->crop.height == 2 * priv->compose.height); in csi_setup()
1180 return &priv->compose; in __csi_get_compose()
1423 struct v4l2_rect *compose, in csi_try_fmt() argument
1438 sdformat->format.width = compose->width; in csi_try_fmt()
1439 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.c206 struct v4l2_rect *compose) in __capture_try_fmt_vid_cap() argument
251 if (compose) { in __capture_try_fmt_vid_cap()
252 compose->left = 0; in __capture_try_fmt_vid_cap()
253 compose->top = 0; in __capture_try_fmt_vid_cap()
254 compose->width = fmt_src->format.width; in __capture_try_fmt_vid_cap()
255 compose->height = fmt_src->format.height; in __capture_try_fmt_vid_cap()
296 &priv->vdev.compose); in capture_s_fmt_vid_cap()
339 s->r = priv->vdev.compose; in capture_g_selection()
534 struct v4l2_rect compose; in capture_validate_fmt() local
546 ret = __capture_try_fmt_vid_cap(priv, &fmt_src, &f, &cc, &compose); in capture_validate_fmt()
[all …]
/Linux-v5.4/drivers/media/platform/vivid/
Dvivid-vid-out.c456 struct v4l2_rect *compose = &dev->compose_out; in vivid_s_fmt_vid_out() local
507 v4l2_rect_set_min_size(compose, &min_r); in vivid_s_fmt_vid_out()
508 v4l2_rect_set_max_size(compose, &max_r); in vivid_s_fmt_vid_out()
509 v4l2_rect_map_inside(compose, &dev->compose_bounds_out); in vivid_s_fmt_vid_out()
522 v4l2_rect_set_min_size(compose, &min_r); in vivid_s_fmt_vid_out()
523 v4l2_rect_set_max_size(compose, &max_r); in vivid_s_fmt_vid_out()
524 v4l2_rect_map_inside(compose, &dev->compose_bounds_out); in vivid_s_fmt_vid_out()
529 v4l2_rect_set_size_to(compose, &r); in vivid_s_fmt_vid_out()
530 v4l2_rect_map_inside(compose, &dev->compose_bounds_out); in vivid_s_fmt_vid_out()
534 v4l2_rect_set_size_to(compose, &r); in vivid_s_fmt_vid_out()
[all …]
Dvivid-vid-cap.c656 struct v4l2_rect *compose = &dev->compose_cap; in vivid_s_fmt_vid_cap() local
688 v4l2_rect_map_inside(compose, &r); in vivid_s_fmt_vid_cap()
690 *compose = r; in vivid_s_fmt_vid_cap()
709 compose->width / MAX_ZOOM, in vivid_s_fmt_vid_cap()
710 factor * compose->height / MAX_ZOOM in vivid_s_fmt_vid_cap()
714 compose->width * MAX_ZOOM, in vivid_s_fmt_vid_cap()
715 factor * compose->height * MAX_ZOOM in vivid_s_fmt_vid_cap()
728 v4l2_rect_set_size_to(compose, &r); in vivid_s_fmt_vid_cap()
730 v4l2_rect_map_inside(compose, &r); in vivid_s_fmt_vid_cap()
735 compose->top *= factor; in vivid_s_fmt_vid_cap()
[all …]
/Linux-v5.4/drivers/media/platform/vsp1/
Dvsp1_brx.c158 struct v4l2_rect *compose; in brx_set_format() local
160 compose = brx_get_compose(brx, config, 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()
224 struct v4l2_rect *compose; in brx_set_selection() local
258 compose = brx_get_compose(brx, config, sel->pad); in brx_set_selection()
259 *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.c114 const struct v4l2_rect *compose; in rpf_configure_stream() local
116 compose = vsp1_entity_get_pad_selection(pipe->brx, in rpf_configure_stream()
120 left = compose->left; in rpf_configure_stream()
121 top = compose->top; in rpf_configure_stream()
Dvsp1_drm.h62 struct v4l2_rect compose; member
Dvsp1_histo.c294 struct v4l2_rect *compose; in histo_set_compose() local
332 compose = vsp1_entity_get_pad_selection(&histo->entity, config, in histo_set_compose()
335 *compose = sel->r; in histo_set_compose()
/Linux-v5.4/Documentation/media/uapi/v4l/
Dselection-api-examples.rst52 /* setting smaller compose rectangle */
72 struct v4l2_selection compose = {
82 ret = ioctl(fd, VIDIOC_G_SELECTION, &compose);
90 hscale = (double)compose.r.width / crop.r.width;
91 vscale = (double)compose.r.height / crop.r.height;
Dv4l2-selection-targets.rst67 - Bounds of the compose rectangle. All valid compose rectangles fit
68 inside the compose bounds rectangle.
Ddev-subdev.rst240 compose selection rectangle
283 * - Configure scaler sink compose selection
308 values, as well as the compose rectangle on the scaler's sink pad.
318 propagates the size to the compose selection rectangle on the
321 4. The application configures the size of the compose selection
420 previous step. The exception to this rule is the sink compose
421 rectangle, which refers to the sink compose bounds rectangle --- if it
431 3. Sink pad actual compose selection. The size of the sink pad compose
433 pad crop rectangle. The location of the compose rectangle specifies
434 the location of the actual sink compose rectangle in the sink compose
[all …]
Dselection-api-intro.rst30 and position of such a window is controlled by the compose target.
/Linux-v5.4/drivers/media/platform/rcar-vin/
Drcar-v4l2.c175 vin->compose = vin->source; in rvin_reset_format()
182 struct v4l2_rect *crop, struct v4l2_rect *compose) in rvin_try_format() argument
236 if (compose) { in rvin_try_format()
237 compose->top = 0; in rvin_try_format()
238 compose->left = 0; in rvin_try_format()
239 compose->width = pix->width; in rvin_try_format()
240 compose->height = pix->height; in rvin_try_format()
273 struct v4l2_rect crop, compose; in rvin_s_fmt_vid_cap() local
280 &crop, &compose); in rvin_s_fmt_vid_cap()
286 vin->compose = compose; in rvin_s_fmt_vid_cap()
[all …]
Drcar-dma.c536 if (vin->crop.height != vin->compose.height) in rvin_crop_scale_comp_gen2()
537 ys = (4096 * vin->crop.height) / vin->compose.height; in rvin_crop_scale_comp_gen2()
541 if (vin->crop.width != vin->compose.width) in rvin_crop_scale_comp_gen2()
542 xs = (4096 * vin->crop.width) / vin->compose.width; in rvin_crop_scale_comp_gen2()
814 offsetx = vin->compose.left * fmt->bpp; in rvin_set_slot_addr()
815 offsety = vin->compose.top * vin->format.bytesperline; in rvin_set_slot_addr()
Drcar-vin.h217 struct v4l2_rect compose; member
/Linux-v5.4/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()
472 const struct v4l2_rect *compose) in tpg_s_crop_compose() argument
475 tpg->compose = *compose; in tpg_s_crop_compose()
476 tpg->scaled_width = (tpg->src_width * tpg->compose.width + in tpg_s_crop_compose()
502 tpg->compose.top = tpg->compose.left = 0; in tpg_reset_source()
503 tpg->compose.width = width; in tpg_reset_source()
504 tpg->compose.height = tpg->buf_height; in tpg_reset_source()
1969 if (y + 16 >= tpg->compose.height || x + 8 >= tpg->compose.width) in tpg_gen_text()
1972 if (len > (tpg->compose.width - x) / 8) in tpg_gen_text()
[all …]
/Linux-v5.4/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-v5.4/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()
/Linux-v5.4/drivers/media/platform/qcom/camss/
Dcamss-vfe.c1498 return &line->compose; in __vfe_get_compose()
1632 struct v4l2_rect *compose; in vfe_try_crop() local
1634 compose = __vfe_get_compose(line, cfg, which); in vfe_try_crop()
1636 if (rect->width > compose->width) in vfe_try_crop()
1637 rect->width = compose->width; in vfe_try_crop()
1639 if (rect->width + rect->left > compose->width) in vfe_try_crop()
1640 rect->left = compose->width - rect->width; in vfe_try_crop()
1642 if (rect->height > compose->height) in vfe_try_crop()
1643 rect->height = compose->height; in vfe_try_crop()
1645 if (rect->height + rect->top > compose->height) in vfe_try_crop()
[all …]
Dcamss-vfe-4-1.c693 output = line->compose.width; in vfe_set_scale_cfg()
703 output = line->compose.height; in vfe_set_scale_cfg()
715 output = line->compose.width / 2; in vfe_set_scale_cfg()
725 output = line->compose.height; in vfe_set_scale_cfg()
727 output = line->compose.height / 2; in vfe_set_scale_cfg()
Dcamss-vfe-4-7.c796 output = line->compose.width - 1; in vfe_set_scale_cfg()
806 output = line->compose.height - 1; in vfe_set_scale_cfg()
818 output = line->compose.width / 2 - 1; in vfe_set_scale_cfg()
828 output = line->compose.height - 1; in vfe_set_scale_cfg()
830 output = line->compose.height / 2 - 1; in vfe_set_scale_cfg()

12