mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 10:32:10 +00:00
71b2ddb962
The current generic Worker code is being instanciated once per kind of video decoder and encoder. This results in quite a bit of duplication to avoid one virtual call per device event, and also prevents us from selecting the codec backend dynamically. Convert that code to use a Device trait object instead for both simplicity and flexibility. BUG=b:169295147 TEST=cargo build --features="video-decoder" Change-Id: I9aacd0286022d9eaa44bd57656d1959de78322a1 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2891143 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org> Commit-Queue: Alexandre Courbot <acourbot@chromium.org> |
||
---|---|---|
.. | ||
src | ||
.build_test_serial | ||
Cargo.toml |