• Joseph Artsimovich's avatar
    dnxhd: Fix 10-bit DNxHD quant matrices · 99c4e91d
    Joseph Artsimovich authored
    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: 's avatarMichael Niedermayer <michaelni@gmx.at>
    99c4e91d
dnxhddata.c 47.7 KB