mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-11 04:26:38 +00:00
776df2f6df
Currently the crosvm encoder device only supports single-buffer frames, yet the encoder requires as many buffers to be submitted as there are component planes in the frame (e.g. 2 for NV12). This is incorrect and in effect the encoder ignores all but the first plane, but nonetheless it expects the number of submitted buffers to be equal to the number of component planes. This makes it impossible to fix the issue at the kernel level using http://crrev.com/c/3358090. Change the expectation about the number of buffers to support both single-planar and multi-planar submissions. That way we won't break the encoder while fixing the problem on the guest side. BUG=b:212214039 TEST=arc.VideoEncodeAccel.h264_192p_i420_vm passes on zork-arc-r. Change-Id: I62763a9dd754697eaab0bae421604a25b0a2f7d3 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3358440 Reviewed-by: David Staessens <dstaessens@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Alexandre Courbot <acourbot@chromium.org> |
||
---|---|---|
.. | ||
src | ||
.build_test_serial | ||
Cargo.toml |