mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-08 19:33:07 +00:00
While the current design works well for progressive content, in interlaced content a common strategy is to decode both fields to the same Surface. Thus, add support for sharing the underlying Surface. This means that we can only retrieve the Surface if we are the last Picture with a reference to it. While we are at it: only retrieve Surfaces if we are the last users In preparation for interlaced decoding support, only retrieve Surfaces back into the surface pool if we are the last users. This means that the surface will not be dropped until both of its fields have been dropped. BUG=b:214478588 TEST="cargo build --features=video-decoder,vaapi" successfully builds the libva crate Change-Id: I80412a86f51ab639fab6af229572fb7bc800a928 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3946300 Reviewed-by: Alexandre Courbot <acourbot@chromium.org> Commit-Queue: Alexandre Courbot <acourbot@chromium.org> |
||
---|---|---|
.. | ||
ffmpeg | ||
libva | ||
libvda | ||
vp8 |