Re: [FFmpeg-devel] [PATCH v1 2/3] lavc/decode: Add internal surface re-allocate method for hwaccel

2022-08-16 Thread Anton Khirnov
Quoting Fei Wang (2022-08-12 14:55:44) > From: Linjie Fu > > Add HWACCEL_CAP_INTERNAL_ALLOC flag to indicate hwaccels are able to > re-allocate surface internally through ff_decode_get_hw_frames_ctx. > > Signed-off-by: Linjie Fu > Signed-off-by: Fei Wang > --- The commit message should explai

[FFmpeg-devel] [PATCH v1 2/3] lavc/decode: Add internal surface re-allocate method for hwaccel

2022-08-12 Thread Fei Wang
From: Linjie Fu Add HWACCEL_CAP_INTERNAL_ALLOC flag to indicate hwaccels are able to re-allocate surface internally through ff_decode_get_hw_frames_ctx. Signed-off-by: Linjie Fu Signed-off-by: Fei Wang --- libavcodec/decode.c | 36 libavcodec/hwconfig.h