crosvm/media
Tatsuyuki Ishi 61d72266e4 media: ffmpeg: Take AvBuffer directly in AvPacket::new_owned.
With more types going to support AvPacket in the future, it's probably
more maintainable to separate the construction of AvBuffer from the
consumer types.

The borrowing constructor will still take AvBufferSource generically as
it doesn't have a buffer object to construct.

As AvBuffer is directly used in the interface now, make its definition
and methods public.

BUG=None
TEST=cargo test --features "video-decoder,ffmpeg" -p ffmpeg -p video

Change-Id: I0959d383438a94d562fc6ff34c40389e98be7bfd
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3833772
Reviewed-by: Alexandre Courbot <acourbot@chromium.org>
Reviewed-by: Junichi Uekawa <uekawa@chromium.org>
Commit-Queue: Tatsuyuki Ishi <ishitatsuyuki@google.com>
Tested-by: Tatsuyuki Ishi <ishitatsuyuki@google.com>
2022-09-01 03:13:29 +00:00
..
ffmpeg media: ffmpeg: Take AvBuffer directly in AvPacket::new_owned. 2022-09-01 03:13:29 +00:00
libva media: libva: open DRM fd as O_RDWR 2022-08-24 01:15:19 +00:00
libvda Remove redundant {self} imports 2022-08-01 21:27:54 +00:00
vp8 Reformat imports 2022-07-28 00:15:50 +00:00