aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/hwconfig.h
Commit message (Collapse)AuthorAgeFilesLines
* avcodec: add D3D12VA hardware accelerated H264 decodingWu Jianhua2023-12-211-0/+2
| | | | | | | | | | | | | | | | The implementation is based on: https://learn.microsoft.com/en-us/windows/win32/medfound/direct3d-12-video-overview With the Direct3D 12 video decoding support, we can render or process the decoded images by the pixel shaders or compute shaders directly without the extra copy overhead, which is beneficial especially if you are trying to render or post-process a 4K or 8K video. The command below is how to enable d3d12va: ffmpeg -hwaccel d3d12va -i input.mp4 output.mp4 Signed-off-by: Wu Jianhua <toqsxw@outlook.com> Signed-off-by: Tong Wu <tong1.wu@intel.com>
* avcodec/avcodec: Add FFHWAccel, hide internals of AVHWAccelAndreas Rheinhardt2023-08-071-1/+1
| | | | | | | | | This commit is the AVHWAccel analogue of commit 20f972701806be20a77f808db332d9489343bb78: It moves the private fields of AVHWAccel to a new struct FFHWAccel extending AVHWAccel in an internal header (namely hwaccel_internal.h). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/hwconfig: Move HWACCEL_CAP_* to a new headerAndreas Rheinhardt2023-08-071-5/+0
| | | | | | | | | | | | | | libavcodec/hwconfig.h currently contains HWACCEL_CAP_* flags as well as the definition of AVCodecHWConfigInternal and some macros to create them. The users of these two are nearly disjoint: The flags are used by files providing AVHWAccels whereas AVCodecHWConfigInternal is used by files providing codecs (for FFCodec.hw_configs). This patch therefore moves these flags to a new file hwaccel_internal.h. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* libavcodec: add Vulkan common video codeLynne2023-05-291-0/+2
|
* lavc/pthread_frame: add support for thread-safe hwaccelsAnton Khirnov2023-05-291-0/+1
|
* lavc/decode: stop duplicating code from hwaccel_uninit()Anton Khirnov2023-05-291-0/+1
|
* lavc/mpeg*: drop the XvMC hwaccel codeAnton Khirnov2022-02-151-2/+0
| | | | | XvMC was last relevant over 10 years ago, if ever. There is no reason to use it today.
* lavc: Extend hardware config metadata to encodersMark Thompson2020-04-261-0/+18
|
* lavc: Rename hwaccel.h to hwconfig.hMark Thompson2020-04-261-0/+84
This already applied to decoders as well as hwaccels, and adding encoder support was going to make the name even more inaccurate.