web_sys/features/
gen_VideoPixelFormat.rs1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use wasm_bindgen::prelude::*;
4#[cfg(web_sys_unstable_apis)]
5#[wasm_bindgen]
6#[doc = "The `VideoPixelFormat` enum."]
7#[doc = ""]
8#[doc = "*This API requires the following crate features to be activated: `VideoPixelFormat`*"]
9#[doc = ""]
10#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
11#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
12#[derive(Debug, Clone, Copy, PartialEq, Eq)]
13pub enum VideoPixelFormat {
14 I420 = "I420",
15 I420p10 = "I420P10",
16 I420p12 = "I420P12",
17 I420a = "I420A",
18 I420ap10 = "I420AP10",
19 I420ap12 = "I420AP12",
20 I422 = "I422",
21 I422p10 = "I422P10",
22 I422p12 = "I422P12",
23 I422a = "I422A",
24 I422ap10 = "I422AP10",
25 I422ap12 = "I422AP12",
26 I444 = "I444",
27 I444p10 = "I444P10",
28 I444p12 = "I444P12",
29 I444a = "I444A",
30 I444ap10 = "I444AP10",
31 I444ap12 = "I444AP12",
32 Nv12 = "NV12",
33 Rgba = "RGBA",
34 Rgbx = "RGBX",
35 Bgra = "BGRA",
36 Bgrx = "BGRX",
37}