diff options
author | rcombs <rcombs@rcombs.me> | 2022-06-02 03:48:25 -0500 |
---|---|---|
committer | rcombs <rcombs@rcombs.me> | 2022-06-19 19:18:34 -0500 |
commit | 6c3a82f0433de8ff9c35def971a736056cc8ff38 (patch) | |
tree | 5353f12b6994be4ab6e17bc500d376c673061e96 /tests/ref/fate/filter-mpdecimate | |
parent | a5b3b65dc067b900be55d7edcea3cecd65a133f0 (diff) |
lavfi/drawutils: improve colorspace support
- Introduce ff_draw_init2, which takes explicit colorspace and range
args
- Use lavu/csp and lavfi/colorspace for conversion, rather than the
lavu/colorspace.h macros
- Use the passed-in colorspace when performing RGB->YUV conversions
The upshot of this is:
- Support for YUV spaces other than BT601
- Better rounding for all conversions
- Particular rounding improvements in >8-bit formats, which previously
used simple left-shifts
- Support for limited-range RGB
- Support for full-range YUV in non-J pixfmts
Due to the rounding improvements, this results in a large number of
minor changes to FATE tests.
Signed-off-by: rcombs <rcombs@rcombs.me>
Diffstat (limited to 'tests/ref/fate/filter-mpdecimate')
-rw-r--r-- | tests/ref/fate/filter-mpdecimate | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/tests/ref/fate/filter-mpdecimate b/tests/ref/fate/filter-mpdecimate index d438dacc2e..76359bbc77 100644 --- a/tests/ref/fate/filter-mpdecimate +++ b/tests/ref/fate/filter-mpdecimate @@ -3,23 +3,23 @@ #codec_id 0: rawvideo #dimensions 0: 320x240 #sar 0: 1/1 -0, 0, 0, 1, 115200, 0x3744b3ed -0, 2, 2, 1, 115200, 0x6e318ba0 -0, 3, 3, 1, 115200, 0x48d65876 -0, 5, 5, 1, 115200, 0x9087e4f1 -0, 6, 6, 1, 115200, 0xc58d5c94 -0, 8, 8, 1, 115200, 0x8c4ad4f4 -0, 9, 9, 1, 115200, 0xf96f6755 -0, 11, 11, 1, 115200, 0x90beb7ba -0, 12, 12, 1, 115200, 0xa8f4f31b -0, 14, 14, 1, 115200, 0x21441a03 -0, 15, 15, 1, 115200, 0x393b3494 -0, 17, 17, 1, 115200, 0xc7aeec1d -0, 18, 18, 1, 115200, 0x2bd24a0e -0, 20, 20, 1, 115200, 0xea66d804 -0, 21, 21, 1, 115200, 0x237953c3 -0, 23, 23, 1, 115200, 0xff98a9b1 -0, 24, 24, 1, 115200, 0x056d40ca -0, 26, 26, 1, 115200, 0xa4374737 -0, 27, 27, 1, 115200, 0x3eaa3ae8 -0, 29, 29, 1, 115200, 0x7551e9ee +0, 0, 0, 1, 115200, 0xeba70ff3 +0, 2, 2, 1, 115200, 0xa764e4d5 +0, 3, 3, 1, 115200, 0x1dadb3a3 +0, 5, 5, 1, 115200, 0x2edb3aa4 +0, 6, 6, 1, 115200, 0xb8cdb7ac +0, 8, 8, 1, 115200, 0x72f1289d +0, 9, 9, 1, 115200, 0xb789c3ba +0, 11, 11, 1, 115200, 0xd779fa6d +0, 12, 12, 1, 115200, 0xd1084e35 +0, 14, 14, 1, 115200, 0xbbc3728b +0, 15, 15, 1, 115200, 0x7bbb8ede +0, 17, 17, 1, 115200, 0x045740bf +0, 18, 18, 1, 115200, 0x939ba4bd +0, 20, 20, 1, 115200, 0x3f712b13 +0, 21, 21, 1, 115200, 0x64f1af30 +0, 23, 23, 1, 115200, 0xbe2fec7d +0, 24, 24, 1, 115200, 0x782e9c2b +0, 26, 26, 1, 115200, 0x48e5a005 +0, 27, 27, 1, 115200, 0xfcdc9615 +0, 29, 29, 1, 115200, 0xa4473eed |