aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/dialoguenhance_template.c
diff options
context:
space:
mode:
authorLynne <dev@lynne.ee>2024-10-06 06:27:16 +0200
committerLynne <dev@lynne.ee>2024-11-18 07:54:22 +0100
commited2391d3410e253bf37e5e7274cc945c866bd337 (patch)
tree6c71f21ec32cab76f25bd65a95001b38056f1fd8 /libavfilter/dialoguenhance_template.c
parenta6c58353ac033798fb799cd761e6a78b4fb12d60 (diff)
downloadffmpeg-ed2391d3410e253bf37e5e7274cc945c866bd337.tar.gz
ffv1enc: add a Vulkan encoder
This commit implements a standard, compliant, version 3 and version 4 FFv1 encoder, entirely in Vulkan. The encoder is written in standard GLSL and requires a Vulkan 1.3 supporting GPU with the BDA extension. The encoder can use any amount of slices, but nominally, should use 32x32 slices (1024 in total) to maximize parallelism. All features are supported, as well as all pixel formats. This includes: - Rice - Range coding with a custom quantization table - PCM encoding CRC calculation is also massively parallelized on the GPU. Encoding of unaligned dimensions on subsampled data requires version 4, or requires oversizing the image to 64-pixel alignment and cropping out the padding via container flags. Performance-wise, this makes 1080p real-time screen capture possible at 60fps on even modest GPUs.
Diffstat (limited to 'libavfilter/dialoguenhance_template.c')
0 files changed, 0 insertions, 0 deletions