Revision 451b4b86 libavcodec/arm/mpegvideo_neon.S

View differences:

libavcodec/arm/mpegvideo_neon.S
22 22
#include "asm-offsets.h"
23 23

  
24 24
function ff_dct_unquantize_h263_inter_neon, export=1
25
        add             r0,  r0,  #0x2200
26
        add             r12, r0,  #BLOCK_LAST_INDEX-0x2200
25
        add             r12, r0,  #BLOCK_LAST_INDEX
27 26
        ldr             r12, [r12, r2, lsl #2]
28
        add             r0,  r0,  #INTER_SCANTAB_RASTER_END-0x2200
27
        add             r0,  r0,  #INTER_SCANTAB_RASTER_END
29 28
        ldrb            r12, [r0, r12]
30 29
        sub             r2,  r3,  #1
31 30
        lsl             r0,  r3,  #1
......
75 74

  
76 75
function ff_dct_unquantize_h263_intra_neon, export=1
77 76
        push            {r4-r6,lr}
77
        add             r12, r0,  #BLOCK_LAST_INDEX
78 78
        ldr             r6,  [r0, #AC_PRED]
79
        add             r5,  r0,  #0x2700
79
        add             lr,  r0,  #INTER_SCANTAB_RASTER_END
80 80
        cmp             r6,  #0
81 81
        movne           r12, #63
82 82
        bne             1f
83
        add             lr,  r0,  #0x2200
84
        add             r12, lr,  #BLOCK_LAST_INDEX-0x2200
85
        add             lr,  lr,  #INTER_SCANTAB_RASTER_END-0x2200
86 83
        ldr             r12, [r12, r2, lsl #2]
87 84
        ldrb            r12, [lr, r12]
88
1:      ldr             r5,  [r5, #H263_AIC-0x2700]
85
1:      ldr             r5,  [r0, #H263_AIC]
89 86
        ldrsh           r4,  [r1]
90 87
        cmp             r5,  #0
91 88
        mov             r5,  r1

Also available in: Unified diff