diff options
author | Philip Langdale <philipl@overt.org> | 2023-06-15 22:10:37 -0700 |
---|---|---|
committer | Philip Langdale <philipl@overt.org> | 2023-06-16 10:40:21 -0700 |
commit | 3c07c2489d94ea0da0b575a4b2bb59f13de0bf6f (patch) | |
tree | a1b0774ee01d56eceafedce5dcc348ea417e92d2 /compat/cuda | |
parent | f42df8384aedeb435b6d427e1b704fda2bd87d5b (diff) | |
download | ffmpeg-3c07c2489d94ea0da0b575a4b2bb59f13de0bf6f.tar.gz |
avfilter/scale_cuda: add support for rgb32/bgr32 conversions
As we are introducing two new formats and supporting conversions
between them, and also with the existing 0rgb32/0bgr32 formats, we get
a combinatorial explosion of kernels. I introduced a few new macros to
keep the things mostly managable.
The conversions are all simple, following existing patterns, with four
specific exceptions. When converting from 0rgb32/0bgr32 to rgb32/bgr32,
we need to ensure the alpha value is set to 1. In all other cases, it
can just be passed through, either to be used or ignored.
Diffstat (limited to 'compat/cuda')
0 files changed, 0 insertions, 0 deletions