crosvm/media
Daniel Almeida af92d04e75 media: cros-codecs: decoders: allow for polling the decoders
Allow for polling the decoders. This will return any pending decode
requests that happen to be ready. If block is set to true, it will
block until they are all ready.

This is different from flush, in that flush will empty the decoder's
internal state, altering the DPB, whereas poll will not.

BUG=b:214478588
TEST=cd media/cros-codecs && cargo test --features vaapi

Change-Id: I56b1b9d7b704c17d75bbe93d4fd4eb0a9a468af7
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3918838
Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org>
Reviewed-by: Alexandre Courbot <acourbot@chromium.org>
Commit-Queue: Alexandre Courbot <acourbot@chromium.org>
2022-10-28 07:41:58 +00:00
..
cros-codecs media: cros-codecs: decoders: allow for polling the decoders 2022-10-28 07:41:58 +00:00
ffmpeg
libva video: decoder: vaapi: raw_cap should not depend on rt_format 2022-10-28 06:33:31 +00:00
libvda media: libvda: allow to build without linking to libvda 2022-10-21 13:57:31 +00:00