(format: VideoPixelFormat)
| 1291 | }; |
| 1292 | |
| 1293 | const isRGBFormat = (format: VideoPixelFormat): boolean => { |
| 1294 | return ['RGBA', 'RGBX', 'BGRA', 'BGRX'].includes(format); |
| 1295 | }; |
| 1296 | |
| 1297 | const getEquivalentOpaqueFormat = (format: string) => { |
| 1298 | switch (format) { |