aboutsummaryrefslogtreecommitdiffstats
path: root/libpostproc/postprocess.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2025-03-31 16:26:55 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2025-04-03 06:04:57 +0200
commit132a55fd7c54c039c990d377bc20f5b9cce3e22a (patch)
tree8cd54615a83178a9e4b00efde10e2ee868b23026 /libpostproc/postprocess.c
parent5e947cc320754885f00fba47bc6dd1e201e86ee1 (diff)
downloadffmpeg-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.c')
-rw-r--r--libpostproc/postprocess.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libpostproc/postprocess.c b/libpostproc/postprocess.c
index fd74f5c72c..0223bab548 100644
--- a/libpostproc/postprocess.c
+++ b/libpostproc/postprocess.c
@@ -95,6 +95,8 @@ try to unroll inner for(x=0 ... loop to avoid these damn if(x ... checks
#define TEMP_STRIDE 8
//#define NUM_BLOCKS_AT_ONCE 16 //not used yet
+#define DERING_THRESHOLD 20
+
#if ARCH_X86 && HAVE_INLINE_ASM
DECLARE_ASM_CONST(8, uint64_t, w05)= 0x0005000500050005LL;
DECLARE_ASM_CONST(8, uint64_t, w04)= 0x0004000400040004LL;
@@ -105,9 +107,6 @@ DECLARE_ASM_CONST(8, uint64_t, b08)= 0x0808080808080808LL;
DECLARE_ASM_CONST(8, uint64_t, b80)= 0x8080808080808080LL;
#endif
-DECLARE_ASM_CONST(8, int, deringThreshold)= 20;
-
-
static const struct PPFilter filters[]=
{
{"hb", "hdeblock", 1, 1, 3, H_DEBLOCK},