Skip to content

Commit

Permalink
h264/aarch64: sign extend int stride in loop filter asm
Browse files Browse the repository at this point in the history
  • Loading branch information
Janne Grunau committed Jan 26, 2019
1 parent 41cf3e3 commit bb515e3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libavcodec/aarch64/h264dsp_neon.S
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit bb515e3

Please sign in to comment.