Set the number of mmap buffers to allocate. 设置要分配的 mmap 缓冲区数量。 Recommended values by target fps: - 30 fps: 5 buffers (default) - 60 fps: 8 buffers - 120 fps: 12 buffers 根据目标帧率的推荐值: - 30 fps:5 个缓冲区(默认) - 60 fps:8 个缓冲区 - 120 fps:12 个缓冲区
(mut self, count: u32)
| 114 | /// - 60 fps:8 个缓冲区 |
| 115 | /// - 120 fps:12 个缓冲区 |
| 116 | pub fn buffer_count(mut self, count: u32) -> Self { |
| 117 | self.buffer_count = count; |
| 118 | self |
| 119 | } |
| 120 | } |
| 121 | |
| 122 | /// The actual configuration negotiated with the device driver. |
nothing calls this directly
no outgoing calls
no test coverage detected