[FFmpeg-devel] [PATCH 01/10, v3] avutil: add hwcontext_amf.

Lynne dev at lynne.ee
Thu May 30 17:34:53 EEST 2024


On 30/05/2024 15:08, Dmitrii Ovchinnikov wrote:
> Adds hwcontext_amf, which allows to use shared AMF
> context for the encoder, decoder and AMF-based filters,
> without copy to the host memory.
> It will also allow you to use some optimisations in
> the interaction of components (for example, SAV) and make a more
> manageable and optimal setup for using GPU devices with AMF
> in the case of a fully AMF pipeline.
> It will be a significant performance uplift when full AMF pipeline
> with filters is used.
> 
> We also plan to add Compression artefact removal filter in near feature.
> v2: cleanup header files
> v3: an unnecessary class has been removed.
> ---
>   libavutil/Makefile                 |   4 +
>   libavutil/hwcontext.c              |   4 +
>   libavutil/hwcontext.h              |   1 +
>   libavutil/hwcontext_amf.c          | 585 +++++++++++++++++++++++++++++
>   libavutil/hwcontext_amf.h          |  64 ++++
>   libavutil/hwcontext_amf_internal.h |  44 +++
>   libavutil/hwcontext_internal.h     |   1 +
>   libavutil/pixdesc.c                |   4 +
>   libavutil/pixfmt.h                 |   5 +
>   9 files changed, 712 insertions(+)
>   create mode 100644 libavutil/hwcontext_amf.c
>   create mode 100644 libavutil/hwcontext_amf.h
>   create mode 100644 libavutil/hwcontext_amf_internal.h

Still no answer to my question?
-------------- 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/20240530/15842eab/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/20240530/15842eab/attachment.sig>


More information about the ffmpeg-devel mailing list