summaryrefslogtreecommitdiff
path: root/libavcodec/alacdsp.h
diff options
context:
space:
mode:
authorRĂ©mi Denis-Courmont <remi@remlab.net>2022-10-04 20:17:16 +0300
committerLynne <dev@lynne.ee>2022-10-05 06:51:11 +0200
commit64ab5779547628b032a3b68713dddbeca0c0686f (patch)
treea4c76df2397efe4fa95b5d3ffe686e5cb0997c9f /libavcodec/alacdsp.h
parent23411e6dcd3e610ac59cf6967c89115bcccb8d2e (diff)
downloadffmpeg-64ab5779547628b032a3b68713dddbeca0c0686f.tar.gz
lavc/alacdsp: RISC-V V decorrelate_stereo
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);
Diffstat (limited to 'libavcodec/alacdsp.h')
-rw-r--r--libavcodec/alacdsp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/alacdsp.h b/libavcodec/alacdsp.h
index f8b56dd5dc..489ebc6704 100644
--- a/libavcodec/alacdsp.h
+++ b/libavcodec/alacdsp.h
@@ -29,6 +29,7 @@ typedef struct ALACDSPContext {
} ALACDSPContext;
void ff_alacdsp_init(ALACDSPContext *c);
+void ff_alacdsp_init_riscv(ALACDSPContext *c);
void ff_alacdsp_init_x86(ALACDSPContext *c);
#endif /* AVCODEC_ALACDSP_H */