[FFmpeg-devel] [PATCH 1/5] avutil: add hwcontext_amf.
Mironov, Mikhail
Mikhail.Mironov at amd.com
Mon Nov 4 20:33:11 EET 2024
[AMD Official Use Only - AMD Internal Distribution Only]
> Why yet another crappy hardware API? There is a million of those.
> Why yet another crappy special snowflake hardware decoder? We have more of
> those than we want (which is 0).
>
> As Mark has also previously commented, the hwcontext implementation seems to be
> to a large extent a cargo cult.
> --
> Anton Khirnov
There are several reasons for bringing up AMF HW context, decoder,
scaler, color converter:
- VCN power management control for decoder
- Ability to specify which VCN instance to use for decoding (like for encoder)
- Optimizations for direct video memory access from CPU
- Several GPU filters like Frame Rate Conversion, Super Resolution,
Compression Artefact Removal could be easily integrated
- AMD will soon introduce full AMF API for multimedia accelerator MA35D
including encoder, decoder, scaler, color converter, Windows and Linux.
With AMF API, integration will be much easier: GPU and the accelerator
will have the same API.
https://www.amd.com/en/products/accelerators/alveo/ma35d.html
Mikhail Mironov
More information about the ffmpeg-devel
mailing list