Home
last modified time | relevance | path

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

/drivers/gpu/drm/i915/display/
Dintel_fb.c1280 struct fb_plane_view_dims *dims) in init_plane_view_dims() argument
1282 dims->width = width; in init_plane_view_dims()
1283 dims->height = height; in init_plane_view_dims()
1285 intel_tile_dims(&fb->base, color_plane, &dims->tile_width, &dims->tile_height); in init_plane_view_dims()
1290 const struct fb_plane_view_dims *dims) in plane_view_src_stride_tiles() argument
1293 dims->tile_width * fb->base.format->cpp[color_plane]); in plane_view_src_stride_tiles()
1330 const struct fb_plane_view_dims *dims, in plane_view_width_tiles() argument
1333 return DIV_ROUND_UP(x + dims->width, dims->tile_width); in plane_view_width_tiles()
1338 const struct fb_plane_view_dims *dims, in plane_view_height_tiles() argument
1341 return DIV_ROUND_UP(y + dims->height, dims->tile_height); in plane_view_height_tiles()
[all …]
/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.c258 pr_cont("[%u]", ctrl->dims[i]); in v4l2_ctrl_type_op_log()
1503 const u32 dims[V4L2_CTRL_MAX_DIMS], u32 elem_size, in v4l2_ctrl_new()
1520 while (dims && dims[nr_of_dims]) { in v4l2_ctrl_new()
1521 elems *= dims[nr_of_dims]; in v4l2_ctrl_new()
1692 memcpy(ctrl->dims, dims, nr_of_dims * sizeof(dims[0])); in v4l2_ctrl_new()
1777 cfg->dims, cfg->elem_size, in v4l2_ctrl_new_custom()
Dv4l2-ioctl.c547 p->dims[0], p->dims[1], p->dims[2], p->dims[3]); in v4l_print_query_ext_ctrl()
/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()
/drivers/media/platform/renesas/vsp1/
Dvsp1_hgt.c121 .dims = { 12 },
Dvsp1_lut.c88 .dims = { LUT_SIZE },
Dvsp1_clu.c95 .dims = { 17, 17, 17 },
/drivers/staging/media/sunxi/cedrus/
Dcedrus.c182 .dims = { 1 },
196 .dims = { 256 },
/drivers/media/test-drivers/vivid/
Dvivid-ctrls.c192 .dims = { 1 },
205 .dims = { 100 },
217 .dims = { 8, 16 },
229 .dims = { 2, 3, 4, 5 },
241 .dims = { 640 / PIXEL_ARRAY_DIV, 360 / PIXEL_ARRAY_DIV },
Dvivid-vid-cap.c384 u32 dims[V4L2_CTRL_MAX_DIMS] = {}; in vivid_update_format_cap() local
477 dims[0] = roundup(dev->src_rect.width, PIXEL_ARRAY_DIV); in vivid_update_format_cap()
478 dims[1] = roundup(dev->src_rect.height, PIXEL_ARRAY_DIV); in vivid_update_format_cap()
479 v4l2_ctrl_modify_dimensions(dev->pixel_array, dims); in vivid_update_format_cap()
/drivers/media/usb/uvc/
Duvc_v4l2.c1007 memset(qec->dims, 0, sizeof(qec->dims)); in uvc_ioctl_query_ext_ctrl()
/drivers/media/usb/go7007/
Dgo7007-v4l2.c1011 .dims = { 576 / 16, 720 / 16 },
/drivers/media/radio/si4713/
Dsi4713.c1422 .dims = { 1 },
/drivers/media/pci/solo6x10/
Dsolo6x10-v4l2-enc.c1200 .dims = { SOLO_MOTION_SZ, SOLO_MOTION_SZ },
/drivers/media/pci/tw5864/
Dtw5864-video.c936 .dims = {MD_CELLS_HOR, MD_CELLS_VERT},