Searched refs:frame_formats (Results 1 – 4 of 4) sorted by relevance
216 pub frame_formats: Vec<FrameFormat>, field228 num_frames: Le32::from(self.frame_formats.len() as u32), in write()230 self.frame_formats.iter().try_for_each(|ff| ff.write(w)) in write()251 frame_formats: &[FrameFormat], in find_closest_resolution()255 for FrameFormat { width, height, .. } in frame_formats.iter() { in find_closest_resolution()268 match frame_formats in find_closest_resolution()
25 let frame_formats = vec![FrameFormat { in from_pixel_format() localVariable34 frame_formats, in from_pixel_format()62 frame_formats: vec![Default::default()], in new()
51 frame_formats: vec![FrameFormat { in new()138 frame_formats: vec![FrameFormat { in new()
150 find_closest_resolution(&format_desc.frame_formats, desired_width, desired_height); in populate_src_params()