diff options
author | Niklas Haas <git@haasn.dev> | 2025-03-06 17:27:10 +0100 |
---|---|---|
committer | Niklas Haas <git@haasn.dev> | 2025-09-01 19:28:36 +0200 |
commit | f8f7935a972d9f1a47b2de9b74a273231cd42b3a (patch) | |
tree | ac616dd86daf6325552150550e665e3154381dc6 /doc/patchwork | |
parent | 5e6ffa0376b6b9fdc0a093d7ba702a88caf23a84 (diff) | |
download | ffmpeg-f8f7935a972d9f1a47b2de9b74a273231cd42b3a.tar.gz |
swscale/format: add new format decode/encode logic
This patch adds format handling code for the new operations. This entails
fully decoding a format to standardized RGB, and the inverse.
Handling it this way means we can always guarantee that a conversion path
exists from A to B without having to explicitly cover logic for each path;
and choosing RGB instead of YUV as the intermediate (as was done in swscale
v1) is more flexible with regards to enabling further operations such as
primaries conversions, linear scaling, etc.
In the case of YUV->YUV transform, the redundant matrix multiplication will
be canceled out anyways.
Diffstat (limited to 'doc/patchwork')
0 files changed, 0 insertions, 0 deletions