Home
last modified time | relevance | path

Searched refs:plane_formats (Results 1 – 8 of 8) sorted by relevance

/external/crosvm/devices/src/virtio/video/
Dparams.rs30 pub plane_formats: Vec<PlaneFormat>, field
46 plane_formats,
51 if num_planes as usize > plane_formats.len() {
54 plane_formats.len(),
59 let plane_formats = plane_formats[0..num_planes as usize] localVariable
72 plane_formats,
87 plane_formats, in to_virtio_video_params()
89 let num_planes = Le32::from(plane_formats.len() as u32); in to_virtio_video_params()
92 for (i, pf) in plane_formats.iter().enumerate() { in to_virtio_video_params()
108 plane_formats: p_fmts, in to_virtio_video_params()
Dprotocol.rs334 pub plane_formats: [virtio_video_plane_format; 8usize], field
/external/mesa3d/src/amd/vulkan/
Dvk_format_parse.py116 …, le_swizzles, be_channels, be_swizzles, colorspace, width_divisor, height_divisor, plane_formats): argument
127 self.plane_count = len(plane_formats)
130 self.plane_formats = plane_formats
132 while len(self.plane_formats) < 3:
133 self.plane_formats.append("VK_FORMAT_UNDEFINED")
404 plane_formats = [name]
406 plane_formats = []
410 plane_formats.append(fields[i])
411 assert (len(plane_formats) > 1)
413 …s, le_swizzles, be_channels, be_swizzles, colorspace, width_divisor, height_divisor, plane_formats)
Dvk_format_table.py146 …print(" {%s, %s, %s}," % (format.plane_formats[0], format.plane_formats[1], format.plane_formats
Dvk_format.h145 VkFormat plane_formats[3]; member
581 return desc->plane_formats[plane_id]; in vk_format_get_plane_format()
/external/crosvm/devices/src/virtio/video/encoder/
Dencoder.rs156 let plane_formats = match format_desc.format { in populate_src_params() localVariable
176 src_params.plane_formats = plane_formats; in populate_src_params()
200 dst_params.plane_formats = vec![PlaneFormat { in populate_dst_params()
Dmod.rs240 self.dst_params.plane_formats[0].plane_size = output_buffer_size; in require_input_buffers()
622 if num_planes != stream.src_params.plane_formats.len() { in resource_create()
650 if num_planes != stream.dst_params.plane_formats.len() { in resource_create()
699 if data_sizes.len() != stream.src_params.plane_formats.len() { in resource_queue()
762 if data_sizes.len() != stream.dst_params.plane_formats.len() { in resource_queue()
948 plane_formats: Vec<PlaneFormat>, in set_params()
963 if plane_formats.is_empty() { in set_params()
974 plane_formats[0].stride, in set_params()
988 if plane_formats.len() != 1 { in set_params()
996 plane_formats[0].plane_size, in set_params()
[all …]
/external/crosvm/devices/src/virtio/video/decoder/
Dmod.rs196 plane_formats: vec![Default::default()], in new()
226 for fmt in self.out_params.plane_formats.iter_mut() { in output_pending_picture()
314 let plane_formats = vec![ in handle_provide_picture_buffers() localVariable
333 plane_formats, in handle_provide_picture_buffers()
700 ctx.in_params.plane_formats = params.plane_formats; in set_params()