• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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))]
12 pub(crate) mod dummy;
13 #[cfg(feature = "v4l2")]
14 pub mod v4l2;
15 #[cfg(feature = "vaapi")]
16 pub mod vaapi;
17