mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-12 13:25:40 +00:00
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> |
||
---|---|---|
.. | ||
cros-codecs | ||
ffmpeg | ||
libva | ||
libvda |