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-fps-down | |
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-fps-down')
-rw-r--r-- | tests/ref/fate/filter-fps-down | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/tests/ref/fate/filter-fps-down b/tests/ref/fate/filter-fps-down index 0b6725f037..0407a3e044 100644 --- a/tests/ref/fate/filter-fps-down +++ b/tests/ref/fate/filter-fps-down @@ -3,14 +3,14 @@ #codec_id 0: rawvideo #dimensions 0: 320x240 #sar 0: 1/1 -0, 0, 0, 1, 115200, 0x0c1062d6 -0, 1, 1, 1, 115200, 0x278d887e -0, 2, 2, 1, 115200, 0x75e1a17b -0, 3, 3, 1, 115200, 0x686b77e7 -0, 4, 4, 1, 115200, 0x1fc2d693 -0, 5, 5, 1, 115200, 0x2d0ba5a4 -0, 6, 6, 1, 115200, 0x40426f99 -0, 7, 7, 1, 115200, 0xc705ccd9 -0, 8, 8, 1, 115200, 0x5635daa5 -0, 9, 9, 1, 115200, 0x7161ef8f -0, 10, 10, 1, 115200, 0xccf02fed +0, 0, 0, 1, 115200, 0xb986bcbd +0, 1, 1, 1, 115200, 0xed18e21f +0, 2, 2, 1, 115200, 0x6fedfa63 +0, 3, 3, 1, 115200, 0xa4e0d22b +0, 4, 4, 1, 115200, 0x32332c36 +0, 5, 5, 1, 115200, 0xa611fd70 +0, 6, 6, 1, 115200, 0x0fa5c984 +0, 7, 7, 1, 115200, 0x127c21d0 +0, 8, 8, 1, 115200, 0x4194305c +0, 9, 9, 1, 115200, 0x274845a7 +0, 10, 10, 1, 115200, 0x9aa1765a |