| 165 | /// Buffer layout type for video frames. |
| 166 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] |
| 167 | enum BufferLayout { |
| 168 | /// Packed format: pixels stored continuously (YUYV, UYVY, RGB) |
| 169 | Packed, |
| 170 | /// Planar format: separate Y and UV planes (NV12, YV12) |
| 171 | Planar, |
| 172 | } |
| 173 | |
| 174 | impl BufferLayout { |
| 175 | /// Determines the buffer layout from a pixel format. |
nothing calls this directly
no outgoing calls
no test coverage detected