lavfi/drawutils: reimplement ff_fill_rgba_map without hardcoding the list
authorrcombs <rcombs@rcombs.me>
Fri, 24 Dec 2021 01:19:28 +0000 (19:19 -0600)
committerrcombs <rcombs@rcombs.me>
Wed, 5 Jan 2022 02:01:10 +0000 (20:01 -0600)
commit74210138a433d6b8caea7836dd3cafc6437b45ac
treeaf25c39612bcd063a97e323af5429883fe8908f7
parentb059ded2a91064ee9997dba042bace49c2f65fa6
lavfi/drawutils: reimplement ff_fill_rgba_map without hardcoding the list

Same outputs, but computed instead of statically known, so new formats will be
supported more easily. Asserts in place to ensure we update this if we add
anything incompatible with its logic.
libavfilter/drawutils.c