[FFmpeg-devel] [PATCH v2 1/3] avcodec: make a local copy of executor

Lynne dev at lynne.ee
Tue Oct 1 10:51:23 EEST 2024


On 01/10/2024 08:55, Nuo Mi wrote:
> We still need several refactors to improve the current VVC decoder's performance,
> which will frequently break the API/ABI. To mitigate this, we've copied the executor from
> avutil to avcodec. Once the API/ABI is stable, we will move this class back to avutil
> ---
>   libavcodec/Makefile     |   1 +
>   libavcodec/executor.c   | 221 ++++++++++++++++++++++++++++++++++++++++
>   libavcodec/executor.h   |  73 +++++++++++++
>   libavcodec/vvc/thread.c |   2 +-
>   4 files changed, 296 insertions(+), 1 deletion(-)
>   create mode 100644 libavcodec/executor.c
>   create mode 100644 libavcodec/executor.h
> 
> diff --git a/libavcodec/Makefile b/libavcodec/Makefile
> index a4fcce3b42..da1a1aa945 100644
> --- a/libavcodec/Makefile
> +++ b/libavcodec/Makefile
> @@ -43,6 +43,7 @@ OBJS = ac3_parser.o                                                     \
>          dirac.o                                                          \
>          dv_profile.o                                                     \
>          encode.o                                                         \
> +       executor.o                                                       \
>          get_buffer.o                                                     \
>          imgconvert.o                                                     \
>          jni.o                                                            \

You're adding a single field to a structure. This wouldn't break API or 
ABI. I don't think this is needed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xA2FEA5F03F034464.asc
Type: application/pgp-keys
Size: 624 bytes
Desc: OpenPGP public key
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20241001/08a0157e/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20241001/08a0157e/attachment.sig>


More information about the ffmpeg-devel mailing list