Home
last modified time | relevance | path

Searched refs:horizontal_subsampling (Results 1 – 3 of 3) sorted by relevance

/external/crosvm/rutabaga_gfx/src/rutabaga_gralloc/
Dformats.rs54 horizontal_subsampling: [u32; 3], field
61 horizontal_subsampling: [1, 0, 0],
68 horizontal_subsampling: [1, 0, 0],
75 horizontal_subsampling: [1, 0, 0],
82 horizontal_subsampling: [1, 0, 0],
89 horizontal_subsampling: [1, 0, 0],
96 horizontal_subsampling: [1, 2, 0],
103 horizontal_subsampling: [1, 2, 2],
229 let horizontal_subsampling = layout.horizontal_subsampling[plane]; in stride_from_layout() localVariable
230 let subsampled_width = checked_arithmetic!(width / horizontal_subsampling)?; in stride_from_layout()
/external/virglrenderer/src/
Dvrend_winsys_gbm.c48 int horizontal_subsampling[VIRGL_GBM_MAX_PLANES]; member
60 .horizontal_subsampling = { 1 },
67 .horizontal_subsampling = { 1 },
74 .horizontal_subsampling = { 1 },
81 .horizontal_subsampling = { 1 },
88 .horizontal_subsampling = { 1, 2 },
95 .horizontal_subsampling = { 1, 2, 2 },
377 uint32_t subsampled_x = info->box->x / layout->horizontal_subsampling[plane]; in virgl_gbm_transfer()
379 uint32_t subsampled_width = info->box->width / layout->horizontal_subsampling[plane]; in virgl_gbm_transfer()
385 / layout->horizontal_subsampling[plane]; in virgl_gbm_transfer()
[all …]
/external/minigbm/
Ddrv_helpers.c24 int horizontal_subsampling[DRV_MAX_PLANES]; member
33 .horizontal_subsampling = { 1 },
40 .horizontal_subsampling = { 1 },
47 .horizontal_subsampling = { 1 },
54 .horizontal_subsampling = { 1 },
61 .horizontal_subsampling = { 1 },
68 .horizontal_subsampling = { 1, 2 },
75 .horizontal_subsampling = { 1, 2, 2 },
82 .horizontal_subsampling = { 1, 2 },
235 uint32_t plane_width = DIV_ROUND_UP(width, layout->horizontal_subsampling[plane]); in drv_stride_from_format()