aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/alpha/dsputil_alpha.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2014-07-09 22:16:29 -0300
committerMichael Niedermayer <michaelni@gmx.at>2014-07-10 04:01:03 +0200
commit2571e8fe372b1b8cec4b21ef7207239fb41072ca (patch)
tree98dd294042d0bc942e13914040f8ad356523a20e /libavcodec/alpha/dsputil_alpha.c
parent81538470c834332e469d43e4d23b461d98d0f2d1 (diff)
downloadffmpeg-2571e8fe372b1b8cec4b21ef7207239fb41072ca.tar.gz
alpha/pixblockdsp: move code out of dsputil
Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/alpha/dsputil_alpha.c')
-rw-r--r--libavcodec/alpha/dsputil_alpha.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/alpha/dsputil_alpha.c b/libavcodec/alpha/dsputil_alpha.c
index 06a1a6d0b0..d99a74bec6 100644
--- a/libavcodec/alpha/dsputil_alpha.c
+++ b/libavcodec/alpha/dsputil_alpha.c
@@ -98,13 +98,8 @@ void add_pixels_clamped_mvi(const int16_t *block, uint8_t *pixels,
av_cold void ff_dsputil_init_alpha(DSPContext *c, AVCodecContext *avctx)
{
- const int high_bit_depth = avctx->bits_per_raw_sample > 8;
-
/* amask clears all bits that correspond to present features. */
if (amask(AMASK_MVI) == 0) {
- if (!high_bit_depth)
- c->get_pixels = get_pixels_mvi;
- c->diff_pixels = diff_pixels_mvi;
c->sad[0] = pix_abs16x16_mvi_asm;
c->sad[1] = pix_abs8x8_mvi;
c->pix_abs[0][0] = pix_abs16x16_mvi_asm;