Skip to main content

kodecs_vaapi/
codec.rs

1// Vendored from discord/cros-codecs (BSD-3-Clause): the H.264 and H.265 DPBs.
2// kodecs-h264 parses and writes the H.264 syntax, and kodecs-h265 parses the H.265 syntax.
3pub mod h264;
4pub mod h265;
5
6/// A video coding format.
7#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
8pub enum Codec {
9	/// H.264 (AVC).
10	H264,
11	/// H.265 (HEVC).
12	H265,
13}