summaryrefslogtreecommitdiff
path: root/libavcodec/ppc
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-07-08 08:31:15 -0700
committerDiego Biurrun <diego@biurrun.de>2014-07-11 06:38:26 -0700
commit1173320249745eab01c901a39054fc0fced33c87 (patch)
tree6235c122aa97207afb1eb0c3649fb1e9d2daca12 /libavcodec/ppc
parentdf2aa22203afc9377832bdf800df5dbd3aa9687e (diff)
dsputil: Drop unused bit_depth parameter from all init functions
Diffstat (limited to 'libavcodec/ppc')
-rw-r--r--libavcodec/ppc/dsputil_altivec.c3
-rw-r--r--libavcodec/ppc/dsputil_altivec.h3
-rw-r--r--libavcodec/ppc/dsputil_ppc.c5
3 files changed, 4 insertions, 7 deletions
diff --git a/libavcodec/ppc/dsputil_altivec.c b/libavcodec/ppc/dsputil_altivec.c
index 2dfe17bbbf..03844a6108 100644
--- a/libavcodec/ppc/dsputil_altivec.c
+++ b/libavcodec/ppc/dsputil_altivec.c
@@ -741,8 +741,7 @@ static int hadamard8_diff16_altivec(MpegEncContext *s, uint8_t *dst,
return score;
}
-av_cold void ff_dsputil_init_altivec(DSPContext *c, AVCodecContext *avctx,
- unsigned high_bit_depth)
+av_cold void ff_dsputil_init_altivec(DSPContext *c, AVCodecContext *avctx)
{
c->pix_abs[0][1] = sad16_x2_altivec;
c->pix_abs[0][2] = sad16_y2_altivec;
diff --git a/libavcodec/ppc/dsputil_altivec.h b/libavcodec/ppc/dsputil_altivec.h
index bbf9a9d5b7..922a4228a3 100644
--- a/libavcodec/ppc/dsputil_altivec.h
+++ b/libavcodec/ppc/dsputil_altivec.h
@@ -27,7 +27,6 @@
#include "libavcodec/dsputil.h"
-void ff_dsputil_init_altivec(DSPContext *c, AVCodecContext *avctx,
- unsigned high_bit_depth);
+void ff_dsputil_init_altivec(DSPContext *c, AVCodecContext *avctx);
#endif /* AVCODEC_PPC_DSPUTIL_ALTIVEC_H */
diff --git a/libavcodec/ppc/dsputil_ppc.c b/libavcodec/ppc/dsputil_ppc.c
index 890157fc1c..c4f8f78cf3 100644
--- a/libavcodec/ppc/dsputil_ppc.c
+++ b/libavcodec/ppc/dsputil_ppc.c
@@ -29,10 +29,9 @@
#include "libavcodec/dsputil.h"
#include "dsputil_altivec.h"
-av_cold void ff_dsputil_init_ppc(DSPContext *c, AVCodecContext *avctx,
- unsigned high_bit_depth)
+av_cold void ff_dsputil_init_ppc(DSPContext *c, AVCodecContext *avctx)
{
if (PPC_ALTIVEC(av_get_cpu_flags())) {
- ff_dsputil_init_altivec(c, avctx, high_bit_depth);
+ ff_dsputil_init_altivec(c, avctx);
}
}