1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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(test)]
pub(crate) mod dummy;
#[cfg(feature = "vaapi")]
pub(crate) mod vaapi;