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/118/merge
parent
380146924e
commit
bfe1cd80eb
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 @@ |
||||
4798978f178cdb91203cda27e76ce75e *tests/data/fate/vsynth2-dnxhd-720p-10bit.dnxhd |
||||
e49cb87f69acc809aee55d64990c84a9 *tests/data/fate/vsynth2-dnxhd-720p-10bit.dnxhd |
||||
2293760 tests/data/fate/vsynth2-dnxhd-720p-10bit.dnxhd |
||||
7ce1b7e73432498b530c6aa970566757 *tests/data/fate/vsynth2-dnxhd-720p-10bit.out.rawvideo |
||||
stddev: 1.56 PSNR: 44.24 MAXDIFF: 31 bytes: 7603200/ 760320 |
||||
6354193e59c7b39a2781c41a2500c793 *tests/data/fate/vsynth2-dnxhd-720p-10bit.out.rawvideo |
||||
stddev: 1.56 PSNR: 44.25 MAXDIFF: 31 bytes: 7603200/ 760320 |
||||
|
Loading…
Reference in new issue