cros-codecs 0.0.6

Hardware-accelerated codecs for Linux
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2023 The ChromiumOS Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

//! Shared code for codec backends.
//!
//! A backend is a provider of codec decoding or encoding, most likely hardware-accelerated like
//! VAAPI. This module contains backend-related code that is not tied to any particular codec and
//! can be shared between various parts of this crate.

#[cfg(any(test, fuzzing))]
pub(crate) mod dummy;
#[cfg(feature = "v4l2")]
pub mod v4l2;
#[cfg(feature = "vaapi")]
pub mod vaapi;