Browse Source

h264/aarch64: sign extend int stride in loop filter asm

tags/n4.2
Janne Grunau 7 years ago
parent
commit
bb515e3a73
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      libavcodec/aarch64/h264dsp_neon.S

+ 3
- 0
libavcodec/aarch64/h264dsp_neon.S View File

@@ -130,6 +130,7 @@ endfunc

function ff_h264_h_loop_filter_luma_neon, export=1
h264_loop_filter_start
sxtw x1, w1

sub x0, x0, #4
ld1 {v6.8B}, [x0], x1
@@ -210,6 +211,7 @@ endfunc

function ff_h264_v_loop_filter_chroma_neon, export=1
h264_loop_filter_start
sxtw x1, w1

sub x0, x0, x1, lsl #1
ld1 {v18.8B}, [x0], x1
@@ -228,6 +230,7 @@ endfunc

function ff_h264_h_loop_filter_chroma_neon, export=1
h264_loop_filter_start
sxtw x1, w1

sub x0, x0, #2
ld1 {v18.S}[0], [x0], x1


Loading…
Cancel
Save