aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/proresdsp.asm
diff options
context:
space:
mode:
authorJames Darnley <jdarnley@obe.tv>2017-06-12 12:32:57 +0100
committerJames Darnley <jdarnley@obe.tv>2017-06-20 16:12:25 +0200
commit8221c7170317b40d9ab8ca2810cd8f5afbd77e02 (patch)
tree6141bdcba09ebd9312baec5707eaa26e2b6a32c2 /libavcodec/x86/proresdsp.asm
parent9d11fedd1129565c8ba9e90b08b43e06f441b4fb (diff)
downloadffmpeg-8221c7170317b40d9ab8ca2810cd8f5afbd77e02.tar.gz
avcodec/x86: allow future 8-bit simple idct to use slightly different coefficients
Diffstat (limited to 'libavcodec/x86/proresdsp.asm')
-rw-r--r--libavcodec/x86/proresdsp.asm18
1 files changed, 10 insertions, 8 deletions
diff --git a/libavcodec/x86/proresdsp.asm b/libavcodec/x86/proresdsp.asm
index 3be0ff7757..65c9fad51c 100644
--- a/libavcodec/x86/proresdsp.asm
+++ b/libavcodec/x86/proresdsp.asm
@@ -33,14 +33,14 @@ cextern pw_1
cextern pw_4
cextern pw_1019
; Below are defined in simple_idct10.asm built from selecting idctdsp
-cextern w4_plus_w2
-cextern w4_min_w2
-cextern w4_plus_w6
-cextern w4_min_w6
-cextern w1_plus_w3
-cextern w3_min_w1
-cextern w7_plus_w3
-cextern w3_min_w7
+cextern w4_plus_w2_hi
+cextern w4_min_w2_hi
+cextern w4_plus_w6_hi
+cextern w4_min_w6_hi
+cextern w1_plus_w3_hi
+cextern w3_min_w1_hi
+cextern w7_plus_w3_hi
+cextern w3_min_w7_hi
cextern w1_plus_w5
cextern w5_min_w1
cextern w5_plus_w7
@@ -50,6 +50,8 @@ cextern w7_min_w5
SECTION .text
+define_constants _hi
+
%macro idct_fn 0
cglobal prores_idct_put_10, 4, 4, 15, pixels, lsize, block, qmat
IDCT_FN pw_1, 15, pw_88, 18, "put", pw_4, pw_1019, r3