mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-08 19:33:07 +00:00
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:
parent
02eff72038
commit
9206613bdc
3 changed files with 6 additions and 6 deletions
|
@ -57,10 +57,10 @@ use crate::DecodedFormat;
|
||||||
use crate::Resolution;
|
use crate::Resolution;
|
||||||
|
|
||||||
/// Resolves to the type used as Handle by the backend.
|
/// 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.
|
/// 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.
|
/// Keeps track of where the backend is in the negotiation process.
|
||||||
#[derive(Clone, Debug)]
|
#[derive(Clone, Debug)]
|
||||||
|
|
|
@ -49,10 +49,10 @@ use crate::DecodedFormat;
|
||||||
use crate::Resolution;
|
use crate::Resolution;
|
||||||
|
|
||||||
/// Resolves to the type used as Handle by the backend.
|
/// 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.
|
/// 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.
|
/// The number of surfaces to allocate for this codec. Same as GStreamer's vavp8dec.
|
||||||
const NUM_SURFACES: usize = 7;
|
const NUM_SURFACES: usize = 7;
|
||||||
|
|
|
@ -64,10 +64,10 @@ use crate::DecodedFormat;
|
||||||
use crate::Resolution;
|
use crate::Resolution;
|
||||||
|
|
||||||
/// Resolves to the type used as Handle by the backend.
|
/// 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.
|
/// 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.
|
/// The number of surfaces to allocate for this codec.
|
||||||
const NUM_SURFACES: usize = 12;
|
const NUM_SURFACES: usize = 12;
|
||||||
|
|
Loading…
Reference in a new issue