edith_codecs
Clone
https://git.tahinli.com/Tahinli/edith_codecs.git
0 watching0 forksRust370.3 MiB9b67700Tahinli3 days ago4021 commits
| 1 | //! Codec parameter buffers for stateless VA-API decoding. |
| 2 | //! |
| 3 | //! Each codec module builds its parameters as plain Rust values and converts |
| 4 | //! them, field for field, into cros-libva's typed buffers |
| 5 | //! (`BufferType::PictureParameter(PictureParameter::H264(..))` and friends). |
| 6 | //! cros-libva owns the `#[repr(C)]` transcriptions and their ABI checks, so |
| 7 | //! nothing in this crate reinterprets memory. |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | use VA_INVALID_SURFACE; |
| 15 | |
| 16 | /// `VA_INVALID_SURFACE`: the id a driver expects in an unused reference slot. |
| 17 | pub const INVALID_SURFACE: u32 = VA_INVALID_SURFACE; |