aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/arm
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/arm
parentdf2aa22203afc9377832bdf800df5dbd3aa9687e (diff)
downloadffmpeg-1173320249745eab01c901a39054fc0fced33c87.tar.gz
dsputil: Drop unused bit_depth parameter from all init functions
Diffstat (limited to 'libavcodec/arm')
-rw-r--r--libavcodec/arm/dsputil_arm.h3
-rw-r--r--libavcodec/arm/dsputil_init_arm.c5
-rw-r--r--libavcodec/arm/dsputil_init_armv6.c3
3 files changed, 4 insertions, 7 deletions
diff --git a/libavcodec/arm/dsputil_arm.h b/libavcodec/arm/dsputil_arm.h
index 5b976aa3d6..1265f39d77 100644
--- a/libavcodec/arm/dsputil_arm.h
+++ b/libavcodec/arm/dsputil_arm.h
@@ -24,7 +24,6 @@
#include "libavcodec/avcodec.h"
#include "libavcodec/dsputil.h"
-void ff_dsputil_init_armv6(DSPContext *c, AVCodecContext *avctx,
- unsigned high_bit_depth);
+void ff_dsputil_init_armv6(DSPContext *c, AVCodecContext *avctx);
#endif /* AVCODEC_ARM_DSPUTIL_ARM_H */
diff --git a/libavcodec/arm/dsputil_init_arm.c b/libavcodec/arm/dsputil_init_arm.c
index a8c806a47f..6fb1b5c6ac 100644
--- a/libavcodec/arm/dsputil_init_arm.c
+++ b/libavcodec/arm/dsputil_init_arm.c
@@ -28,11 +28,10 @@
#include "libavcodec/dsputil.h"
#include "dsputil_arm.h"
-av_cold void ff_dsputil_init_arm(DSPContext *c, AVCodecContext *avctx,
- unsigned high_bit_depth)
+av_cold void ff_dsputil_init_arm(DSPContext *c, AVCodecContext *avctx)
{
int cpu_flags = av_get_cpu_flags();
if (have_armv6(cpu_flags))
- ff_dsputil_init_armv6(c, avctx, high_bit_depth);
+ ff_dsputil_init_armv6(c, avctx);
}
diff --git a/libavcodec/arm/dsputil_init_armv6.c b/libavcodec/arm/dsputil_init_armv6.c
index bb93d669b9..1d47af4227 100644
--- a/libavcodec/arm/dsputil_init_armv6.c
+++ b/libavcodec/arm/dsputil_init_armv6.c
@@ -39,8 +39,7 @@ int ff_pix_abs8_armv6(MpegEncContext *s, uint8_t *blk1, uint8_t *blk2,
int ff_sse16_armv6(MpegEncContext *s, uint8_t *blk1, uint8_t *blk2,
int line_size, int h);
-av_cold void ff_dsputil_init_armv6(DSPContext *c, AVCodecContext *avctx,
- unsigned high_bit_depth)
+av_cold void ff_dsputil_init_armv6(DSPContext *c, AVCodecContext *avctx)
{
c->pix_abs[0][0] = ff_pix_abs16_armv6;
c->pix_abs[0][1] = ff_pix_abs16_x2_armv6;