aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/hpeldsp_rnd_template.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-04-20 20:28:28 +0200
committerDiego Biurrun <diego@biurrun.de>2013-05-12 22:28:07 +0200
commit46bb456853b197f4562de7acf5d42abf11ded9be (patch)
tree1a371d94273a54680e8c581743e3aed9a6a311b2 /libavcodec/x86/hpeldsp_rnd_template.c
parent2c2c48a9bdbef51177204dfc2f151f3be257f9b8 (diff)
downloadffmpeg-46bb456853b197f4562de7acf5d42abf11ded9be.tar.gz
x86: dsputil: Refactor pixels16 wrapper functions with a macro
Diffstat (limited to 'libavcodec/x86/hpeldsp_rnd_template.c')
-rw-r--r--libavcodec/x86/hpeldsp_rnd_template.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/libavcodec/x86/hpeldsp_rnd_template.c b/libavcodec/x86/hpeldsp_rnd_template.c
index 7ad54a7daa..516a03aec2 100644
--- a/libavcodec/x86/hpeldsp_rnd_template.c
+++ b/libavcodec/x86/hpeldsp_rnd_template.c
@@ -196,14 +196,3 @@ static void DEF(avg, pixels8_y2)(uint8_t *block, const uint8_t *pixels, ptrdiff_
:"r"((x86_reg)line_size)
:REG_a, "memory");
}
-
-//FIXME optimize
-static void DEF(put, pixels16_y2)(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h){
- DEF(put, pixels8_y2)(block , pixels , line_size, h);
- DEF(put, pixels8_y2)(block+8, pixels+8, line_size, h);
-}
-
-static void DEF(avg, pixels16_y2)(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h){
- DEF(avg, pixels8_y2)(block , pixels , line_size, h);
- DEF(avg, pixels8_y2)(block+8, pixels+8, line_size, h);
-}