mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-08 19:33:07 +00:00
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> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |