From 883570e6b70ae4d1413d2d2f552687d80b32e1e5 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 20 Jan 2014 22:21:24 +0100 Subject: Move add_hfyu_left_prediction_int16 to losslessviddsp Signed-off-by: Michael Niedermayer --- libavcodec/huffyuvdec.c | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) (limited to 'libavcodec/huffyuvdec.c') diff --git a/libavcodec/huffyuvdec.c b/libavcodec/huffyuvdec.c index 26c83098c4..59d58a8271 100644 --- a/libavcodec/huffyuvdec.c +++ b/libavcodec/huffyuvdec.c @@ -680,26 +680,7 @@ static int left_prediction(HYuvContext *s, uint8_t *dst, const uint8_t *src, int if (s->bps <= 8) { return s->dsp.add_hfyu_left_prediction(dst, src, w, acc); } else { - //FIXME optimize - unsigned mask = s->n-1; - int i; - const uint16_t *src16 = (const uint16_t *)src; - uint16_t *dst16 = ( uint16_t *)dst; - - for(i=0; illviddsp.add_hfyu_left_prediction_int16(( uint16_t *)dst, (const uint16_t *)src, s->n-1, w, acc); } } -- cgit v1.2.1