[FFmpeg-devel] Added HW accelerated H.264 and HEVC encoding for AMD GPUs based on AMF SDK

wm4 nfxjfg at googlemail.com
Thu Sep 28 21:05:30 EEST 2017


On Thu, 28 Sep 2017 13:58:02 -0500
mmironov <mikhail.mironov at amd.com> wrote:

> From 4a47f0e1ee57239fbbc597c0084f486e815ec267 Mon Sep 17 00:00:00 2001
> From: mmironov <mikhail.mironov at amd.com>
> Date: Thu, 28 Sep 2017 12:30:30 -0400
> Subject: [PATCH] Added HW accelerated H.264 and HEVC encoding for AMD GPUs
>  based on AMF SDK
> 
> Signed-off-by: mmironov <mikhail.mironov at amd.com>
> ---
>  Changelog                                          |    2 +
>  compat/amd/amf/LICENSE.txt                         |   31 +
>  compat/amd/amf/README.md                           |   32 +
>  .../include/components/Ambisonic2SRenderer.h       |   79 +
>  .../amd/amf/public/include/components/Component.h  |  393 +++++
>  .../amf/public/include/components/ComponentCaps.h  |  172 ++
>  .../include/components/FFMPEGAudioConverter.h      |   62 +
>  .../public/include/components/FFMPEGAudioDecoder.h |   68 +
>  .../public/include/components/FFMPEGAudioEncoder.h |   66 +
>  .../public/include/components/FFMPEGComponents.h   |   50 +
>  .../public/include/components/FFMPEGFileDemuxer.h  |   88 +
>  .../public/include/components/FFMPEGFileMuxer.h    |   80 +
>  .../amf/public/include/components/MediaSource.h    |   79 +
>  .../amf/public/include/components/VideoConverter.h |   87 +
>  .../public/include/components/VideoDecoderUVD.h    |   87 +
>  .../public/include/components/VideoEncoderHEVC.h   |  189 +++
>  .../public/include/components/VideoEncoderVCE.h    |  222 +++
>  compat/amd/amf/public/include/core/AudioBuffer.h   |  184 +++
>  compat/amd/amf/public/include/core/Buffer.h        |  160 ++
>  compat/amd/amf/public/include/core/Compute.h       |  284 ++++
>  .../amd/amf/public/include/core/ComputeFactory.h   |  146 ++

First thing first...

I don't think we can dump the entire AMF API into the compat dir. I
know we have some copies of external APIs there (like nvenc for
nvidia), but these are tiny and subsets. The AMF API has a considerable
size.


More information about the ffmpeg-devel mailing list