crosvm/media
Daniel Almeida 42bdf1de57 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>
2022-10-28 03:23:26 +00:00
..
cros-codecs media: cros-codecs: Introduce the cros-codecs crate 2022-10-28 03:23:26 +00:00
ffmpeg Re-enable video-decoder feature 2022-10-06 18:28:56 +00:00
libva media: libva: take ownership of SegmentParamVP9 in the wrapper 2022-10-12 12:55:23 +00:00
libvda media: libvda: allow to build without linking to libvda 2022-10-21 13:57:31 +00:00
vp8 Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00