[FFmpeg-devel] [PATCH 13/42] avcodec/vulkan_decode: Use RefStruct API for shared_ref

Lynne dev at lynne.ee
Mon Oct 2 15:31:20 EEST 2023


Sep 19, 2023, 21:58 by andreas.rheinhardt at outlook.com:

> Avoids allocations, error checks and indirections.
> Also increases type-safety.
>
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> ---
>  libavcodec/vulkan_av1.c    |  2 +-
>  libavcodec/vulkan_decode.c | 49 ++++++++++++++++----------------------
>  libavcodec/vulkan_decode.h |  2 +-
>  libavcodec/vulkan_h264.c   |  2 +-
>  libavcodec/vulkan_hevc.c   |  2 +-
>  5 files changed, 24 insertions(+), 33 deletions(-)
>

Like the other patch, LGTM


More information about the ffmpeg-devel mailing list