(format: PixelFormat)
| 96 | } |
| 97 | |
| 98 | pub fn is_format_supported(format: PixelFormat) -> bool { |
| 99 | matches!( |
| 100 | format, |
| 101 | PixelFormat::Known(FourCC::YUYV) | PixelFormat::Known(FourCC::NV12) |
| 102 | ) |
| 103 | } |
nothing calls this directly
no outgoing calls
no test coverage detected