Diego Biurrun <[email protected]> writes:

> ---
>  libavcodec/arm/mpegvideo_iwmmxt.c    |   20 --------------------
>  libavcodec/arm/simple_idct_armv5te.S |    7 -------
>  2 files changed, 0 insertions(+), 27 deletions(-)
>
> diff --git a/libavcodec/arm/mpegvideo_iwmmxt.c 
> b/libavcodec/arm/mpegvideo_iwmmxt.c
> index 4d5edd8..6edc4c2 100644
> --- a/libavcodec/arm/mpegvideo_iwmmxt.c
> +++ b/libavcodec/arm/mpegvideo_iwmmxt.c
> @@ -93,29 +93,9 @@ static void 
> dct_unquantize_h263_intra_iwmmxt(MpegEncContext *s,
>      block_orig[0] = level;
>  }
>
> -#if 0
> -static void dct_unquantize_h263_inter_iwmmxt(MpegEncContext *s,
> -                                             DCTELEM *block, int n, int 
> qscale)
> -{
> -    int nCoeffs;
> -
> -    assert(s->block_last_index[n]>=0);
> -
> -    if(s->ac_pred)
> -        nCoeffs=63;
> -    else
> -        nCoeffs= s->inter_scantable.raster_end[ s->block_last_index[n] ];
> -
> -    ippiQuantInvInter_Compact_H263_16s_I(block, nCoeffs+1, qscale);
> -}
> -#endif
> -
>  void MPV_common_init_iwmmxt(MpegEncContext *s)
>  {
>      if (!(mm_flags & AV_CPU_FLAG_IWMMXT)) return;
>
>      s->dct_unquantize_h263_intra = dct_unquantize_h263_intra_iwmmxt;
> -#if 0
> -    s->dct_unquantize_h263_inter = dct_unquantize_h263_inter_iwmmxt;
> -#endif
>  }

OK

> diff --git a/libavcodec/arm/simple_idct_armv5te.S 
> b/libavcodec/arm/simple_idct_armv5te.S
> index 24641e4..c709760 100644
> --- a/libavcodec/arm/simple_idct_armv5te.S
> +++ b/libavcodec/arm/simple_idct_armv5te.S
> @@ -154,12 +154,6 @@ endfunc
>          ldr    a4, [a1]              /* a4 = col[1:0] */
>          mov    ip, #16384
>          sub    ip, ip, #1            /* ip = W4 */
> -#if 0
> -        mov    v1, #(1<<(COL_SHIFT-1))
> -        smlabt v2, ip, a4, v1        /* v2 = W4*col[1] + (1<<(COL_SHIFT-1)) 
> */
> -        smlabb v1, ip, a4, v1        /* v1 = W4*col[0] + (1<<(COL_SHIFT-1)) 
> */
> -        ldr    a4, [a1, #(16*4)]
> -#else
>          mov    v1, #((1<<(COL_SHIFT-1))/W4) /* this matches the C version */
>          add    v2, v1, a4, asr #16
>          rsb    v2, v2, v2, lsl #14
> @@ -167,7 +161,6 @@ endfunc
>          add    v1, v1, a4, asr #16
>          ldr    a4, [a1, #(16*4)]
>          rsb    v1, v1, v1, lsl #14
> -#endif
>
>          smulbb lr, ip, a4
>          smulbt a3, ip, a4
> -- 

Let me take another look at that before you remove it.

-- 
Måns Rullgård
[email protected]
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to