@ -512,11 +512,10 @@ function ff_hevc_put_hevc_\type\()_h16_8_neon, export=1
.ifc \ type, q p e l
.ifc \ type, q p e l
mov d s t s t r i d e , #( M A X _ P B _ S I Z E < < 1 )
mov d s t s t r i d e , #( M A X _ P B _ S I Z E < < 1 )
lsl x13 , s r c s t r i d e , #1 / / s r c s t r i d e l
lsl x13 , s r c s t r i d e , #1 / / s r c s t r i d e l
mov x14 , #( ( M A X _ P B _ S I Z E < < 2 ) - 1 6 )
mov x14 , #( M A X _ P B _ S I Z E < < 2 )
.else
.else
lsl x14 , d s t s t r i d e , #1 / / d s t s t r i d e l
lsl x14 , d s t s t r i d e , #1 / / d s t s t r i d e l
lsl x13 , s r c s t r i d e , #1 / / s r c s t r i d e l
lsl x13 , s r c s t r i d e , #1 / / s r c s t r i d e l
sub x14 , x14 , #8
.endif
.endif
add x10 , d s t , d s t s t r i d e / / d s t b
add x10 , d s t , d s t s t r i d e / / d s t b
add x12 , s r c , s r c s t r i d e / / s r c b
add x12 , s r c , s r c s t r i d e / / s r c b
@ -527,10 +526,8 @@ function ff_hevc_put_hevc_\type\()_h16_8_neon, export=1
bl f f _ h e v c _ p u t _ h e v c _ h16 _ 8 _ n e o n
bl f f _ h e v c _ p u t _ h e v c _ h16 _ 8 _ n e o n
.ifc \ type, q p e l
.ifc \ type, q p e l
st1 { v26 . 8 h } , [ d s t ] , #16
st1 { v26 . 8 h , v27 . 8 h } , [ d s t ] , x14
st1 { v28 . 8 h } , [ x10 ] , #16
st1 { v28 . 8 h , v29 . 8 h } , [ x10 ] , x14
st1 { v27 . 8 h } , [ d s t ] , x14
st1 { v29 . 8 h } , [ x10 ] , x14
.else
.else
.ifc \ type, q p e l _ b i
.ifc \ type, q p e l _ b i
ld1 { v16 . 8 h , v17 . 8 h } , [ x4 ] , x16
ld1 { v16 . 8 h , v17 . 8 h } , [ x4 ] , x16
@ -549,10 +546,8 @@ function ff_hevc_put_hevc_\type\()_h16_8_neon, export=1
sqrshrun v28 . 8 b , v28 . 8 h , #6
sqrshrun v28 . 8 b , v28 . 8 h , #6
sqrshrun v29 . 8 b , v29 . 8 h , #6
sqrshrun v29 . 8 b , v29 . 8 h , #6
.endif
.endif
st1 { v26 . 8 b } , [ d s t ] , #8
st1 { v26 . 8 b , v27 . 8 b } , [ d s t ] , x14
st1 { v28 . 8 b } , [ x10 ] , #8
st1 { v28 . 8 b , v29 . 8 b } , [ x10 ] , x14
st1 { v27 . 8 b } , [ d s t ] , x14
st1 { v29 . 8 b } , [ x10 ] , x14
.endif
.endif
b. g t 1 b / / d o u b l e l i n e
b. g t 1 b / / d o u b l e l i n e
subs w i d t h , w i d t h , #16
subs w i d t h , w i d t h , #16