diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2025-03-31 16:26:55 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2025-04-03 06:04:57 +0200 |
commit | 132a55fd7c54c039c990d377bc20f5b9cce3e22a (patch) | |
tree | 8cd54615a83178a9e4b00efde10e2ee868b23026 /libpostproc/postprocess_altivec_template.c | |
parent | 5e947cc320754885f00fba47bc6dd1e201e86ee1 (diff) | |
download | ffmpeg-132a55fd7c54c039c990d377bc20f5b9cce3e22a.tar.gz |
postproc/postprocess_template: Use immediate instead of memory load
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libpostproc/postprocess_altivec_template.c')
-rw-r--r-- | libpostproc/postprocess_altivec_template.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpostproc/postprocess_altivec_template.c b/libpostproc/postprocess_altivec_template.c index a9d4cd29a3..827d6300e5 100644 --- a/libpostproc/postprocess_altivec_template.c +++ b/libpostproc/postprocess_altivec_template.c @@ -573,7 +573,7 @@ static inline void dering_altivec(uint8_t src[], int stride, PPContext *c) { src & stride :-( */ uint8_t *srcCopy = src; - DECLARE_ALIGNED(16, uint8_t, dt)[16] = { deringThreshold }; + DECLARE_ALIGNED(16, uint8_t, dt)[16] = { DERING_THRESHOLD }; const vector signed int zero = vec_splat_s32(0); vector unsigned char v_dt = vec_splat(vec_ld(0, dt), 0); |