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-framerate-12bit-down | |
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-framerate-12bit-down')
-rw-r--r-- | tests/ref/fate/filter-framerate-12bit-down | 100 |
1 files changed, 50 insertions, 50 deletions
diff --git a/tests/ref/fate/filter-framerate-12bit-down b/tests/ref/fate/filter-framerate-12bit-down index 25a3c0a53a..705d07d9c3 100644 --- a/tests/ref/fate/filter-framerate-12bit-down +++ b/tests/ref/fate/filter-framerate-12bit-down @@ -3,53 +3,53 @@ #codec_id 0: rawvideo #dimensions 0: 320x240 #sar 0: 1/1 -0, 0, 0, 1, 307200, 0xb49cf016 -0, 1, 1, 1, 307200, 0xbccf696d -0, 2, 2, 1, 307200, 0x709c8dd1 -0, 3, 3, 1, 307200, 0xb948d907 -0, 4, 4, 1, 307200, 0x850f849a -0, 5, 5, 1, 307200, 0xaf71e7fc -0, 6, 6, 1, 307200, 0x0a1ba486 -0, 7, 7, 1, 307200, 0x0601f62a -0, 8, 8, 1, 307200, 0x2c6d3a59 -0, 9, 9, 1, 307200, 0xed03597b -0, 10, 10, 1, 307200, 0x9f84df5d -0, 11, 11, 1, 307200, 0x9fbe8c84 -0, 12, 12, 1, 307200, 0x8f7bc394 -0, 13, 13, 1, 307200, 0x5113c787 -0, 14, 14, 1, 307200, 0x41e8002f -0, 15, 15, 1, 307200, 0xab2162fc -0, 16, 16, 1, 307200, 0xbf8f847c -0, 17, 17, 1, 307200, 0x832d9ef7 -0, 18, 18, 1, 307200, 0xd2f5e043 -0, 19, 19, 1, 307200, 0xceeaddb8 -0, 20, 20, 1, 307200, 0xf2b12fe5 -0, 21, 21, 1, 307200, 0xf3477e11 -0, 22, 22, 1, 307200, 0xdf387773 -0, 23, 23, 1, 307200, 0x273be7e2 -0, 24, 24, 1, 307200, 0x68cd0360 -0, 25, 25, 1, 307200, 0x4693ab03 -0, 26, 26, 1, 307200, 0xe2baef73 -0, 27, 27, 1, 307200, 0x0c9fa60a -0, 28, 28, 1, 307200, 0x6e4ddbc5 -0, 29, 29, 1, 307200, 0xd1b2353c -0, 30, 30, 1, 307200, 0x8a512668 -0, 31, 31, 1, 307200, 0x7224b439 -0, 32, 32, 1, 307200, 0x7a9243e2 -0, 33, 33, 1, 307200, 0x9a7e4553 -0, 34, 34, 1, 307200, 0x4d795626 -0, 35, 35, 1, 307200, 0x4e24d659 -0, 36, 36, 1, 307200, 0xa230b54b -0, 37, 37, 1, 307200, 0x14598ea5 -0, 38, 38, 1, 307200, 0x21619cf3 -0, 39, 39, 1, 307200, 0x5220a167 -0, 40, 40, 1, 307200, 0xb6505ff0 -0, 41, 41, 1, 307200, 0x0a482a3d -0, 42, 42, 1, 307200, 0x6bdce40c -0, 43, 43, 1, 307200, 0x3c6074f3 -0, 44, 44, 1, 307200, 0x369c71c8 -0, 45, 45, 1, 307200, 0x4fda2634 -0, 46, 46, 1, 307200, 0x4df2d619 -0, 47, 47, 1, 307200, 0x21205aab -0, 48, 48, 1, 307200, 0xe00f48c2 -0, 49, 49, 1, 307200, 0xe3b11798 +0, 0, 0, 1, 307200, 0xf0d70414 +0, 1, 1, 1, 307200, 0x75d668e8 +0, 2, 2, 1, 307200, 0xca39d9c3 +0, 3, 3, 1, 307200, 0xfacaf28f +0, 4, 4, 1, 307200, 0x00bb97bf +0, 5, 5, 1, 307200, 0xb309f05f +0, 6, 6, 1, 307200, 0x08a78b1e +0, 7, 7, 1, 307200, 0x1ec21037 +0, 8, 8, 1, 307200, 0x45c901e4 +0, 9, 9, 1, 307200, 0x460775a7 +0, 10, 10, 1, 307200, 0x16ce3448 +0, 11, 11, 1, 307200, 0x6bc2b063 +0, 12, 12, 1, 307200, 0x4e628c33 +0, 13, 13, 1, 307200, 0xc965923a +0, 14, 14, 1, 307200, 0x54c8fe7c +0, 15, 15, 1, 307200, 0x11758b98 +0, 16, 16, 1, 307200, 0x73f988a8 +0, 17, 17, 1, 307200, 0xb47223da +0, 18, 18, 1, 307200, 0x03af8c25 +0, 19, 19, 1, 307200, 0x3871b12e +0, 20, 20, 1, 307200, 0x59447ef5 +0, 21, 21, 1, 307200, 0xfb7918bd +0, 22, 22, 1, 307200, 0xe9c623db +0, 23, 23, 1, 307200, 0x78634f23 +0, 24, 24, 1, 307200, 0x8229d18c +0, 25, 25, 1, 307200, 0xfb530895 +0, 26, 26, 1, 307200, 0x118b22a4 +0, 27, 27, 1, 307200, 0x4b39ea30 +0, 28, 28, 1, 307200, 0xe2f0c1ff +0, 29, 29, 1, 307200, 0xcbc65013 +0, 30, 30, 1, 307200, 0xf903e8d5 +0, 31, 31, 1, 307200, 0x870fa119 +0, 32, 32, 1, 307200, 0x7e5b2f5c +0, 33, 33, 1, 307200, 0x8b8a42a9 +0, 34, 34, 1, 307200, 0xa4a429bc +0, 35, 35, 1, 307200, 0xf308c14c +0, 36, 36, 1, 307200, 0xf255baeb +0, 37, 37, 1, 307200, 0x8c4d949e +0, 38, 38, 1, 307200, 0x28b57e98 +0, 39, 39, 1, 307200, 0x568cd24c +0, 40, 40, 1, 307200, 0xfc8e3884 +0, 41, 41, 1, 307200, 0xfee05e7f +0, 42, 42, 1, 307200, 0x3502c242 +0, 43, 43, 1, 307200, 0x3542901f +0, 44, 44, 1, 307200, 0x8d74850c +0, 45, 45, 1, 307200, 0x11d6693a +0, 46, 46, 1, 307200, 0x83cf7d6e +0, 47, 47, 1, 307200, 0x17ecef9a +0, 48, 48, 1, 307200, 0x37ba308f +0, 49, 49, 1, 307200, 0x7659d1ed |