cros_codecs/
backend.rs

1// Copyright 2023 The ChromiumOS Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5//! Shared code for codec backends.
6//!
7//! A backend is a provider of codec decoding or encoding, most likely hardware-accelerated like
8//! VAAPI. This module contains backend-related code that is not tied to any particular codec and
9//! can be shared between various parts of this crate.
10
11#[cfg(any(test, fuzzing))]
12pub(crate) mod dummy;
13#[cfg(feature = "v4l2")]
14pub mod v4l2;
15#[cfg(feature = "vaapi")]
16pub mod vaapi;