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-up-round-up | |
parent | a5b3b65dc067b900be55d7edcea3cecd65a133f0 (diff) | |
download | ffmpeg-6c3a82f0433de8ff9c35def971a736056cc8ff38.tar.gz |
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-up-round-up')
-rw-r--r-- | tests/ref/fate/filter-fps-up-round-up | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/tests/ref/fate/filter-fps-up-round-up b/tests/ref/fate/filter-fps-up-round-up index 692c1d6c69..a8877f08f9 100644 --- a/tests/ref/fate/filter-fps-up-round-up +++ b/tests/ref/fate/filter-fps-up-round-up @@ -3,17 +3,17 @@ #codec_id 0: rawvideo #dimensions 0: 320x240 #sar 0: 1/1 -0, 0, 0, 1, 115200, 0x3744b3ed -0, 1, 1, 1, 115200, 0x3744b3ed -0, 2, 2, 1, 115200, 0x3744b3ed -0, 3, 3, 1, 115200, 0x60a58f35 -0, 4, 4, 1, 115200, 0x60a58f35 -0, 5, 5, 1, 115200, 0x09ffa4e1 -0, 6, 6, 1, 115200, 0x09ffa4e1 -0, 7, 7, 1, 115200, 0x33f15918 -0, 8, 8, 1, 115200, 0x33f15918 -0, 9, 9, 1, 115200, 0x33f15918 -0, 10, 10, 1, 115200, 0xb0dfacf8 -0, 11, 11, 1, 115200, 0xb0dfacf8 -0, 12, 12, 1, 115200, 0x53d5b181 -0, 13, 13, 1, 115200, 0x53d5b181 +0, 0, 0, 1, 115200, 0xeba70ff3 +0, 1, 1, 1, 115200, 0xeba70ff3 +0, 2, 2, 1, 115200, 0xeba70ff3 +0, 3, 3, 1, 115200, 0x0ebce86f +0, 4, 4, 1, 115200, 0x0ebce86f +0, 5, 5, 1, 115200, 0xa9c0fe04 +0, 6, 6, 1, 115200, 0xa9c0fe04 +0, 7, 7, 1, 115200, 0x779eb44c +0, 8, 8, 1, 115200, 0x779eb44c +0, 9, 9, 1, 115200, 0x779eb44c +0, 10, 10, 1, 115200, 0x27a904da +0, 11, 11, 1, 115200, 0x27a904da +0, 12, 12, 1, 115200, 0x328d092e +0, 13, 13, 1, 115200, 0x328d092e |