crosvm/media
Alexandre Courbot 595b5ad257 media: cros-codecs: vaapi: move number of surfaces to stream metadata
This information is obtained from the stream metadata, so it should
belong here. Besides doing this makes the open() methods rely only on
metadata_state, which will allow us to factorize them on the next CL.

BUG=b:214478588
TEST=cargo test --features vaapi -p cros-codecs

Change-Id: Ie4cdf1e27ca47a6c1d85334ab17d685d5aacb705
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4123655
Reviewed-by: Daniel Almeida <daniel.almeida@collabora.corp-partner.google.com>
Commit-Queue: Alexandre Courbot <acourbot@chromium.org>
Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org>
2023-01-27 03:03:03 +00:00
..
cros-codecs media: cros-codecs: vaapi: move number of surfaces to stream metadata 2023-01-27 03:03:03 +00:00
ffmpeg Add conditional compilation for unix-only crates 2023-01-19 21:21:59 +00:00
libva Add conditional compilation for unix-only crates 2023-01-19 21:21:59 +00:00
libvda Add conditional compilation for unix-only crates 2023-01-19 21:21:59 +00:00