aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/graph.c
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2025-03-06 17:27:10 +0100
committerNiklas Haas <git@haasn.dev>2025-09-01 19:28:36 +0200
commitf8f7935a972d9f1a47b2de9b74a273231cd42b3a (patch)
treeac616dd86daf6325552150550e665e3154381dc6 /libswscale/graph.c
parent5e6ffa0376b6b9fdc0a093d7ba702a88caf23a84 (diff)
downloadffmpeg-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 'libswscale/graph.c')
0 files changed, 0 insertions, 0 deletions