crosvm/media
Tatsuyuki Ishi cb509c8972 media: ffmpeg: Add is_writable and make_writable helpers for AvFrame.
These covers the "writable" notion exposed by FFmpeg. If a non-writable
frame is passed to a codec, the codec will clone the frame before
writing to it. Some interfaces (notably swscale) doesn't respect this
convention yet; for those, we'll add our own checks for writeability so
ideally this copy-on-write convention is held everywhere within our
bindings.

BUG=b:239897269
TEST=cargo test --features "video-decoder,ffmpeg" -p ffmpeg -p devices

Change-Id: I566f44a44491a7507bd6446e1bf8e1f8550f16d6
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3920257
Reviewed-by: Alexandre Courbot <acourbot@chromium.org>
2022-09-29 04:13:01 +00:00
..
ffmpeg media: ffmpeg: Add is_writable and make_writable helpers for AvFrame. 2022-09-29 04:13:01 +00:00
libva media: libva: Also export VASurfaceID 2022-09-21 03:03:57 +00:00
libvda health-check: enforce blank line after copyright 2022-09-13 22:24:35 +00:00
vp8 Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00