mirror of https://github.com/FFmpeg/FFmpeg.git
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>pull/28/head
parent
a4f94f24b4
commit
99c4e91dfa
3 changed files with 39 additions and 37 deletions
@ -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 |
||||
|
@ -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 |
||||
|
Loading…
Reference in new issue