Home
last modified time | relevance | path

Searched refs:dims (Results 1 – 22 of 22) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/i915/display/
Dintel_fb.c1334 struct fb_plane_view_dims *dims) in init_plane_view_dims() argument
1336 dims->width = width; in init_plane_view_dims()
1337 dims->height = height; in init_plane_view_dims()
1339 intel_tile_dims(&fb->base, color_plane, &dims->tile_width, &dims->tile_height); in init_plane_view_dims()
1344 const struct fb_plane_view_dims *dims) in plane_view_src_stride_tiles() argument
1347 dims->tile_width * fb->base.format->cpp[color_plane]); in plane_view_src_stride_tiles()
1384 const struct fb_plane_view_dims *dims, in plane_view_width_tiles() argument
1387 return DIV_ROUND_UP(x + dims->width, dims->tile_width); in plane_view_width_tiles()
1392 const struct fb_plane_view_dims *dims, in plane_view_height_tiles() argument
1395 return DIV_ROUND_UP(y + dims->height, dims->tile_height); in plane_view_height_tiles()
[all …]
/linux-6.6.21/include/media/
Dv4l2-ctrls.h287 u32 dims[V4L2_CTRL_MAX_DIMS]; member
455 u32 dims[V4L2_CTRL_MAX_DIMS]; member
986 u32 dims[V4L2_CTRL_MAX_DIMS]);
1008 u32 dims[V4L2_CTRL_MAX_DIMS]) in v4l2_ctrl_modify_dimensions()
1013 rval = __v4l2_ctrl_modify_dimensions(ctrl, dims); in v4l2_ctrl_modify_dimensions()
/linux-6.6.21/drivers/media/v4l2-core/
Dv4l2-ctrls-api.c267 unsigned int max_size = ctrl->dims[0] * ctrl->elem_size; in prepare_ext_ctrls()
984 u32 dims[V4L2_CTRL_MAX_DIMS]) in __v4l2_ctrl_modify_dimensions()
996 elems *= dims[i]; in __v4l2_ctrl_modify_dimensions()
1010 ctrl->dims[i] = dims[i]; in __v4l2_ctrl_modify_dimensions()
1103 memcpy(qc->dims, ctrl->dims, qc->nr_of_dims * sizeof(qc->dims[0])); in v4l2_query_ext_ctrl()
Dv4l2-ctrls-core.c263 pr_cont("[%u]", ctrl->dims[i]); in v4l2_ctrl_type_op_log()
1754 const u32 dims[V4L2_CTRL_MAX_DIMS], u32 elem_size, in v4l2_ctrl_new()
1771 while (dims && dims[nr_of_dims]) { in v4l2_ctrl_new()
1772 elems *= dims[nr_of_dims]; in v4l2_ctrl_new()
1955 memcpy(ctrl->dims, dims, nr_of_dims * sizeof(dims[0])); in v4l2_ctrl_new()
2040 cfg->dims, cfg->elem_size, in v4l2_ctrl_new_custom()
Dv4l2-ioctl.c538 p->dims[0], p->dims[1], p->dims[2], p->dims[3]); in v4l_print_query_ext_ctrl()
/linux-6.6.21/drivers/media/platform/nxp/dw100/
Ddw100.c389 mw = ctrl->dims[0]; in dw100_ctrl_dewarping_map_init()
390 mh = ctrl->dims[1]; in dw100_ctrl_dewarping_map_init()
428 .dims = { DW100_DEF_LUT_W, DW100_DEF_LUT_H },
848 u32 dims[V4L2_CTRL_MAX_DIMS] = {}; in dw100_s_fmt() local
851 dims[0] = dw100_get_n_vertices_from_length(q_data->pix_fmt.width); in dw100_s_fmt()
852 dims[1] = dw100_get_n_vertices_from_length(q_data->pix_fmt.height); in dw100_s_fmt()
854 ret = v4l2_ctrl_modify_dimensions(ctrl, dims); in dw100_s_fmt()
/linux-6.6.21/drivers/media/test-drivers/visl/
Dvisl-core.c186 .cfg.dims = { 600 },
202 .cfg.dims = { 256 },
/linux-6.6.21/drivers/media/platform/renesas/vsp1/
Dvsp1_hgt.c121 .dims = { 12 },
Dvsp1_lut.c88 .dims = { LUT_SIZE },
Dvsp1_clu.c95 .dims = { 17, 17, 17 },
/linux-6.6.21/drivers/media/test-drivers/vivid/
Dvivid-ctrls.c194 .dims = { 1 },
207 .dims = { 100 },
219 .dims = { 8, 16 },
231 .dims = { 2, 3, 4, 5 },
243 .dims = { 640 / PIXEL_ARRAY_DIV, 360 / PIXEL_ARRAY_DIV },
255 .dims = { 2 },
267 .dims = { 5 },
Dvivid-vid-cap.c377 u32 dims[V4L2_CTRL_MAX_DIMS] = {}; in vivid_update_format_cap() local
462 dims[0] = roundup(dev->src_rect.width, PIXEL_ARRAY_DIV); in vivid_update_format_cap()
463 dims[1] = roundup(dev->src_rect.height, PIXEL_ARRAY_DIV); in vivid_update_format_cap()
464 v4l2_ctrl_modify_dimensions(dev->pixel_array, dims); in vivid_update_format_cap()
/linux-6.6.21/drivers/staging/media/sunxi/cedrus/
Dcedrus.c196 .dims = { 1 },
210 .dims = { 256 },
/linux-6.6.21/Documentation/userspace-api/media/v4l/
Dvidioc-queryctrl.rst252 ``p + ((z * dims[1] + y) * dims[0] + x) * elem_size``.
266 - ``dims[V4L2_CTRL_MAX_DIMS]``
657 ``dims[0]``. So setting the control with a differently sized
/linux-6.6.21/drivers/media/platform/mediatek/vcodec/decoder/
Dmtk_vcodec_dec_stateless.c176 .dims = { V4L2_AV1_MAX_TILE_COUNT },
/linux-6.6.21/drivers/media/usb/uvc/
Duvc_v4l2.c1059 memset(qec->dims, 0, sizeof(qec->dims)); in uvc_ioctl_query_ext_ctrl()
/linux-6.6.21/drivers/media/usb/go7007/
Dgo7007-v4l2.c1007 .dims = { 576 / 16, 720 / 16 },
/linux-6.6.21/drivers/media/platform/verisilicon/
Dhantro_drv.c579 .dims = { V4L2_AV1_MAX_TILE_COUNT },
/linux-6.6.21/drivers/media/radio/si4713/
Dsi4713.c1422 .dims = { 1 },
/linux-6.6.21/drivers/media/pci/solo6x10/
Dsolo6x10-v4l2-enc.c1200 .dims = { SOLO_MOTION_SZ, SOLO_MOTION_SZ },
/linux-6.6.21/drivers/media/pci/tw5864/
Dtw5864-video.c936 .dims = {MD_CELLS_HOR, MD_CELLS_VERT},
/linux-6.6.21/include/uapi/linux/
Dvideodev2.h1945 __u32 dims[V4L2_CTRL_MAX_DIMS]; member