• Rémi Denis-Courmont's avatar
    lavc/alacdsp: RISC-V V decorrelate_stereo · 64ab5779
    Rémi Denis-Courmont authored
    To avoid data dependencies, this does the following unroll, which
    requires one extra but probably free addition:
    
        coeff = (b * left_weight) >> decorr_shift;
        b += a;
        a -= coeff;
        b -= coeff;
        swap(a, b);
    64ab5779
alacdsp.h 1.33 KB