diff options
author | Joseph Artsimovich <joseph@mirriad.com> | 2012-07-20 11:31:06 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-07-20 15:24:27 +0200 |
commit | 99c4e91dfa14f1a81f85062eae03a3d04a157817 (patch) | |
tree | 3c04bf9c63bc627d3aadfe150730522433eed3f1 /tests | |
parent | a4f94f24b4f153c30bbcaa700bedfb2b3a581e5e (diff) | |
download | ffmpeg-streaming-99c4e91dfa14f1a81f85062eae03a3d04a157817.zip ffmpeg-streaming-99c4e91dfa14f1a81f85062eae03a3d04a157817.tar.gz |
dnxhd: Fix 10-bit DNxHD quant matrices
Convert them to zigzag order, as the rest of them are.
When I was adding support for 10-bit DNxHD, I just copy-pasted the
missing quant matrices from the spec. Now it turns out the existing
matrices in dnxhddata.c were in zigzag order. This resulted in wrong
quantization for 10-bit DNxHD. The attached patch fixes the problem by
converting 10-bit quant matrices to zigzag order.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ref/fate/vsynth1-dnxhd-720p-10bit | 4 | ||||
-rw-r--r-- | tests/ref/fate/vsynth2-dnxhd-720p-10bit | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/ref/fate/vsynth1-dnxhd-720p-10bit b/tests/ref/fate/vsynth1-dnxhd-720p-10bit index a667b9d..59423e7 100644 --- a/tests/ref/fate/vsynth1-dnxhd-720p-10bit +++ b/tests/ref/fate/vsynth1-dnxhd-720p-10bit @@ -1,4 +1,4 @@ -b5e24a055af02edec8674333260214fd *tests/data/fate/vsynth1-dnxhd-720p-10bit.dnxhd +f8c4b7aa165a80df2485d526161290a3 *tests/data/fate/vsynth1-dnxhd-720p-10bit.dnxhd 2293760 tests/data/fate/vsynth1-dnxhd-720p-10bit.dnxhd -4466ff3d73d01bbe75ea25001d379b63 *tests/data/fate/vsynth1-dnxhd-720p-10bit.out.rawvideo +790777baa4bb70c4e32cb13649cc26bf *tests/data/fate/vsynth1-dnxhd-720p-10bit.out.rawvideo stddev: 6.27 PSNR: 32.18 MAXDIFF: 64 bytes: 7603200/ 760320 diff --git a/tests/ref/fate/vsynth2-dnxhd-720p-10bit b/tests/ref/fate/vsynth2-dnxhd-720p-10bit index f087c13..cf3ba7b 100644 --- a/tests/ref/fate/vsynth2-dnxhd-720p-10bit +++ b/tests/ref/fate/vsynth2-dnxhd-720p-10bit @@ -1,4 +1,4 @@ -4b57da2c0c1280469ff3579f7151c227 *tests/data/fate/vsynth2-dnxhd-720p-10bit.dnxhd +e96fc4a7d994b9369c50da32fd325822 *tests/data/fate/vsynth2-dnxhd-720p-10bit.dnxhd 2293760 tests/data/fate/vsynth2-dnxhd-720p-10bit.dnxhd -31a6aa8b8702e85fa3b48e73f035c4e4 *tests/data/fate/vsynth2-dnxhd-720p-10bit.out.rawvideo -stddev: 1.35 PSNR: 45.46 MAXDIFF: 23 bytes: 7603200/ 760320 +a57ce32ab22ae60bf21655b0d1ba3b07 *tests/data/fate/vsynth2-dnxhd-720p-10bit.out.rawvideo +stddev: 1.35 PSNR: 45.47 MAXDIFF: 22 bytes: 7603200/ 760320 |