forge
Explore
Log in

Don't you dare go Hollow

edith_codecs

Clone
★ 0

0 watching0 forksRust370.3 MiB9b67700Tahinli3 days ago4021 commits

mod.rs17 lines, 626 bytesHistoryRawDownload
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
9pub mod av1;
10pub mod h264;
11pub mod vp9;
12pub mod hevc;
13
14use ec_va::va::VA_INVALID_SURFACE;
15
16/// `VA_INVALID_SURFACE`: the id a driver expects in an unused reference slot.
17pub const INVALID_SURFACE: u32 = VA_INVALID_SURFACE;