• Rémi Denis-Courmont's avatar
    lavc/flacdsp: do not assume maximum R-V VL · f8837465
    Rémi Denis-Courmont authored
    This loop correctly assumes that VLMAX=16 (4x128-bit vectors
    with 32-bit elements) and 32 >= pred_order > 16. We need to alternate
    between VL=16 and VL=t2=pred_order-16 elements to add up to pred_order.
    
    The current code requests AVL=a2=pred_order elements. In QEMU and on
    thte K230 hardware, this sets VL=16 as we need. But the specification
    merely guarantees that we get: ceil(AVL / 2) <= VL <= VLMAX. For
    instance, if pred_order equals 27, we could end up with VL=14 or VL=15
    instead of VL=16. So instead, request literally VLMAX=16.
    f8837465
Name
Last commit
Last update
compat Loading commit data...
doc Loading commit data...
ffbuild Loading commit data...
fftools Loading commit data...
libavcodec Loading commit data...
libavdevice Loading commit data...
libavfilter Loading commit data...
libavformat Loading commit data...
libavutil Loading commit data...
libpostproc Loading commit data...
libswresample Loading commit data...
libswscale Loading commit data...
presets Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING.GPLv2 Loading commit data...
COPYING.GPLv3 Loading commit data...
COPYING.LGPLv2.1 Loading commit data...
COPYING.LGPLv3 Loading commit data...
CREDITS Loading commit data...
Changelog Loading commit data...
INSTALL.md Loading commit data...
LICENSE.md Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
RELEASE Loading commit data...
configure Loading commit data...