media: cros-codecs: do not export module local types

These types do not need to be exported.

BUG=b:214478588
TEST=cargo test --features vaapi -p cros-codecs

Change-Id: I5310bb4ce34956d6f6edbbe8a8852b4c18b8130c
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4005487
Commit-Queue: Keiichi Watanabe <keiichiw@chromium.org>
Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org>
This commit is contained in:
Alexandre Courbot 2022-11-04 13:26:13 +09:00 committed by crosvm LUCI
parent 02eff72038
commit 9206613bdc
3 changed files with 6 additions and 6 deletions

View file

@ -57,10 +57,10 @@ use crate::DecodedFormat;
use crate::Resolution;
/// Resolves to the type used as Handle by the backend.
pub type AssociatedHandle = <Backend as StatelessDecoderBackend>::Handle;
type AssociatedHandle = <Backend as StatelessDecoderBackend>::Handle;
/// Resolves to the type used as BackendHandle by the backend.
pub type AssociatedBackendHandle = <AssociatedHandle as DecodedHandle>::BackendHandle;
type AssociatedBackendHandle = <AssociatedHandle as DecodedHandle>::BackendHandle;
/// Keeps track of where the backend is in the negotiation process.
#[derive(Clone, Debug)]

View file

@ -49,10 +49,10 @@ use crate::DecodedFormat;
use crate::Resolution;
/// Resolves to the type used as Handle by the backend.
pub type AssociatedHandle = <Backend as StatelessDecoderBackend>::Handle;
type AssociatedHandle = <Backend as StatelessDecoderBackend>::Handle;
/// Resolves to the type used as BackendHandle by the backend.
pub type AssociatedBackendHandle = <AssociatedHandle as DecodedHandle>::BackendHandle;
type AssociatedBackendHandle = <AssociatedHandle as DecodedHandle>::BackendHandle;
/// The number of surfaces to allocate for this codec. Same as GStreamer's vavp8dec.
const NUM_SURFACES: usize = 7;

View file

@ -64,10 +64,10 @@ use crate::DecodedFormat;
use crate::Resolution;
/// Resolves to the type used as Handle by the backend.
pub type AssociatedHandle = <Backend as StatelessDecoderBackend>::Handle;
type AssociatedHandle = <Backend as StatelessDecoderBackend>::Handle;
/// Resolves to the type used as BackendHandle by the backend.
pub type AssociatedBackendHandle = <AssociatedHandle as DecodedHandle>::BackendHandle;
type AssociatedBackendHandle = <AssociatedHandle as DecodedHandle>::BackendHandle;
/// The number of surfaces to allocate for this codec.
const NUM_SURFACES: usize = 12;