mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 02:25:23 +00:00
673b9cea79
The virtio video decoder was working directly with libvda to provide the video decoding service to the guest. In the future we may want to add other ways of providing decoding support, like software-based decoding (useful for testing the virtio device and the guest support), or direct decoding using the host's native capabilities. Introduce a DecoderBackend interface that the decoder will use to perform the actual decoding, and start moving the libvda-related code as an implementation of it. At the moment the interface still uses libvda types for parameters and return values for the purpose of keeping the change simple, but we will replace them in the subsequent changes. BUG=b:169295147 BUG=b:161774071 TEST=Youtube video playback works on kukui-arc-r. TEST=Youtube video playback works on hatch-arc-r. Change-Id: I9d47cc934d34a0c706c2112831e827b6b1aa5d0a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2460526 Reviewed-by: Alexandre Courbot <acourbot@chromium.org> Tested-by: Alexandre Courbot <acourbot@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Alexandre Courbot <acourbot@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |