crosvm/media
Alexandre Courbot 5e6927adeb media: cros-codecs: factorize DecodedHandle definitions
The DecodedHandle structs defined for each codec are basically identical
and can be simplified into a single one by adding an associated type.

Doing so required the H.264 types to be constrained with non-trivial
where clauses due to the fact the H264 PictureData is itself generic,
but there is a plan to simplify this too.

BUG=b:214478588
TEST=cargo test --features vaapi -p cros-codecs
TEST=`cros-codecs --include-ignored` passes on hatch.

Change-Id: Idcb0717740e6e700ae83d758f99ba0035981dcca
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3998375
Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org>
Reviewed-by: Daniel Almeida <daniel.almeida@collabora.corp-partner.google.com>
Commit-Queue: Alexandre Courbot <acourbot@chromium.org>
2022-11-09 01:47:41 +00:00
..
cros-codecs media: cros-codecs: factorize DecodedHandle definitions 2022-11-09 01:47:41 +00:00
ffmpeg Re-enable video-decoder feature 2022-10-06 18:28:56 +00:00
libva video: decoder: ffmpeg: fix H.264 decoding with ffmpeg in guest 2022-11-07 10:50:23 +00:00
libvda test_runner: Add separate cargo target dir for each platform 2022-10-31 21:33:33 +00:00