crosvm/media
Alexandre Courbot 80b9fa53d7 media: cros-codecs: move methods from StatelessDecoderBackend to VideoDecoderBackend
Move some methods that are common for all codecs from the `HandleType`
type from StatelessDecoderBackend to VideoDecoderBackend.

This makes the `StatelessDecoderBackend` traits implement the
codec-specific part of the backend (which requires a custom interface),
while the `VideoDecoderBackend` trait implements the shared behavior
of the backend, regardless of the underlying codec.

This separation will also allow us to factorize the implementations of
these methods further down this series.

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

Change-Id: Id9f6874a1a57531ff092975f3692b10f7c1afcae
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4123654
Commit-Queue: Alexandre Courbot <acourbot@chromium.org>
Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org>
Reviewed-by: Daniel Almeida <daniel.almeida@collabora.corp-partner.google.com>
2023-01-27 02:54:02 +00:00
..
cros-codecs media: cros-codecs: move methods from StatelessDecoderBackend to VideoDecoderBackend 2023-01-27 02:54:02 +00:00
ffmpeg Add conditional compilation for unix-only crates 2023-01-19 21:21:59 +00:00
libva Add conditional compilation for unix-only crates 2023-01-19 21:21:59 +00:00
libvda Add conditional compilation for unix-only crates 2023-01-19 21:21:59 +00:00