x86: prores: templatize 10 bits simple_idct
authorChristophe Gisquet <christophe.gisquet@gmail.com>
Mon, 12 Oct 2015 17:37:44 +0000 (19:37 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 12 Oct 2015 23:10:34 +0000 (01:10 +0200)
commite9a68b0316ab127098ac4c24a6762ce68980bd23
treec981ce654068e58b938e134e3557ff57e6b0eca4
parent93e6b23c9f489c1e0745769ae2ba00469f7cfb91
x86: prores: templatize 10 bits simple_idct

This should be reused for a generic simple_idct10 function.
Requires a bit of trickery to declare common constants in C.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/x86/constants.c
libavcodec/x86/constants.h
libavcodec/x86/proresdsp.asm
libavcodec/x86/simple_idct10_template.asm [new file with mode: 0644]