commit | 42bdf1de57f27d506ee5c55e8e640accbfa0fae4 | [log] [tgz] |
---|---|---|
author | Daniel Almeida <daniel.almeida@collabora.corp-partner.google.com> | Sat Sep 03 20:35:41 2022 -0300 |
committer | crosvm LUCI <crosvm-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Oct 28 03:23:26 2022 +0000 |
tree | 619d99ecad4383e71dcf4273a9d1a3f5d1acea16 | |
parent | 0fbe82466f7448497a7c8b8f56f53174d51c1649 [diff] |
media: cros-codecs: Introduce the cros-codecs crate Introduce the cros-codecs crate. This crate contains all the codec-related code and does not depend on CrosVM. The decoders are decoupled from the backends, which allows for the implementation of new backends without touching the decoder code. This crate comes with dummy backends to test the decoder functionality in isolation, but in order to decode frames, a real backend is needed. Currently this backend is the VAAPI backend. Using it adds a dependency on the libva crate. This change adds support for VP8, H264 and VP9. BUG=b:214478588 TEST="cd media/cros-codecs && cargo test --release --features vaapi -- --include-ignored" TEST="emerge-hatch chromeos-base/crosvm" completes successfully. Change-Id: I596d5db4dabcc96dcfdbce1f41c8092e01b64271 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3875043 Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org> Reviewed-by: Alexandre Courbot <acourbot@chromium.org> Commit-Queue: Alexandre Courbot <acourbot@chromium.org>
crosvm is a virtual machine monitor (VMM) based on Linux’s KVM hypervisor, with a focus on simplicity, security, and speed. crosvm is intended to run Linux guests, originally as a security boundary for running native applications on the Chrome OS platform. Compared to QEMU, crosvm doesn’t emulate architectures or real hardware, instead concentrating on paravirtualized devices, such as the virtio standard.
crosvm is currently used to run Linux/Android guests on Chrome OS devices.