Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
BC
public
external
libvpx
Commits
a9aa7d07
Commit
a9aa7d07
authored
11 years ago
by
Johann
Committed by
Gerrit Code Review
11 years ago
Browse files
Options
Download
Plain Diff
Merge "vp9: neon: add vp9_convolve_avg_neon"
parents
63e140ea
0f1deccf
v1.14.0-linphone
1.4.X
feature/update_to_v1.9.0-linphone
feature/uwp_nuget
forest
frame_parallel
highbitdepth
indianrunnerduck
javanwhistlingduck
khakicampbell
linphone
linphone-android
linphone-old
longtailedduck
m31-baseline
m49-2623
m52-2743
m54-2840
m56-2924
m66-3359
m68-3440
mandarinduck
mcw
mcw2
nextgen
nextgenv2
pcs-2013
playground
sandbox/Jingning/experimental
sandbox/Jingning/transcode
sandbox/Jingning/vpx
sandbox/aconverse@google.com/ansbench
sandbox/debargha/playground
sandbox/hkuang/frame_parallel
sandbox/hkuang@google.com/decode
sandbox/jimbankoski@google.com/proposed-aom
sandbox/jingning@google.com/decoder_test_suite
sandbox/jingning@google.com/experimental
sandbox/jzern@google.com/test
sandbox/wangch@google.com/vp9
sandbox/yaowu@google.com/mergeaom
stable-vp9-decoder
v1.12.0-linphone
v1.6.1_linphone
v1.7.0-linphone
v1.9.0-linphone
v1.9.0
v1.9.0-rc1
v1.8.2
v1.8.1
v1.8.0
v1.7.0
v1.6.1
v1.6.0
v1.5.0
v1.4.0
v1.3.0
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
vp9/common/arm/neon/vp9_avg_neon.asm
+116
-0
vp9/common/arm/neon/vp9_avg_neon.asm
vp9/common/vp9_rtcd_defs.sh
+1
-1
vp9/common/vp9_rtcd_defs.sh
vp9/vp9_common.mk
+1
-0
vp9/vp9_common.mk
with
118 additions
and
1 deletion
vp9/common/arm/neon/vp9_avg_neon.asm
0 → 100644
+
116
−
0
View file @
a9aa7d07
;
; Copyright (c) 2013 The WebM project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license
; that can be found in the LICENSE file in the root of the source
; tree. An additional intellectual property rights grant can be found
; in the file PATENTS. All contributing project authors may
; be found in the AUTHORS file in the root of the source tree.
;
EXPORT
|
vp9_convolve_avg_neon
|
ARM
REQUIRE8
PRESERVE8
AREA
||
.text
||
,
CODE
,
READONLY
,
AL
IGN
=
2
|
vp9_convolve_avg_neon
|
PROC
push
{
r4
-
r6
,
lr
}
ldrd
r4
,
r5
,
[
sp
,
#
32
]
mov
r6
,
r2
cmp
r4
,
#
32
bgt
avg64
beq
avg32
cmp
r4
,
#
8
bgt
avg16
beq
avg8
b
avg4
avg64
sub
lr
,
r1
,
#
32
sub
r4
,
r3
,
#
32
avg64_h
pld
[
r0
,
r1
,
lsl
#
1
]
vld1.8
{
q0
-
q1
}
,
[
r0
]
!
vld1.8
{
q2
-
q3
}
,
[
r0
],
lr
pld
[
r2
,
r3
]
vld1.8
{
q8
-
q9
}
,
[
r6@128
]
!
vld1.8
{
q10
-
q11
}
,
[
r6@128
],
r4
vrhadd.u8
q0
,
q0
,
q8
vrhadd.u8
q1
,
q1
,
q9
vrhadd.u8
q2
,
q2
,
q10
vrhadd.u8
q3
,
q3
,
q11
vst1.8
{
q0
-
q1
}
,
[
r2@128
]
!
vst1.8
{
q2
-
q3
}
,
[
r2@128
],
r4
subs
r5
,
r5
,
#
1
bgt
avg64_h
pop
{
r4
-
r6
,
pc
}
avg32
vld1.8
{
q0
-
q1
}
,
[
r0
],
r1
vld1.8
{
q2
-
q3
}
,
[
r0
],
r1
vld1.8
{
q8
-
q9
}
,
[
r6@128
],
r3
vld1.8
{
q10
-
q11
}
,
[
r6@128
],
r3
pld
[
r0
]
vrhadd.u8
q0
,
q0
,
q8
pld
[
r0
,
r1
]
vrhadd.u8
q1
,
q1
,
q9
pld
[
r6
]
vrhadd.u8
q2
,
q2
,
q10
pld
[
r6
,
r3
]
vrhadd.u8
q3
,
q3
,
q11
vst1.8
{
q0
-
q1
}
,
[
r2@128
],
r3
vst1.8
{
q2
-
q3
}
,
[
r2@128
],
r3
subs
r5
,
r5
,
#
2
bgt
avg32
pop
{
r4
-
r6
,
pc
}
avg16
vld1.8
{
q0
}
,
[
r0
],
r1
vld1.8
{
q1
}
,
[
r0
],
r1
vld1.8
{
q2
}
,
[
r6@128
],
r3
vld1.8
{
q3
}
,
[
r6@128
],
r3
pld
[
r0
]
pld
[
r0
,
r1
]
vrhadd.u8
q0
,
q0
,
q2
pld
[
r6
]
pld
[
r6
,
r3
]
vrhadd.u8
q1
,
q1
,
q3
vst1.8
{
q0
}
,
[
r2@128
],
r3
vst1.8
{
q1
}
,
[
r2@128
],
r3
subs
r5
,
r5
,
#
2
bgt
avg16
pop
{
r4
-
r6
,
pc
}
avg8
vld1.8
{
d0
}
,
[
r0
],
r1
vld1.8
{
d1
}
,
[
r0
],
r1
vld1.8
{
d2
}
,
[
r6@64
],
r3
vld1.8
{
d3
}
,
[
r6@64
],
r3
pld
[
r0
]
pld
[
r0
,
r1
]
vrhadd.u8
q0
,
q0
,
q1
pld
[
r6
]
pld
[
r6
,
r3
]
vst1.8
{
d0
}
,
[
r2@64
],
r3
vst1.8
{
d1
}
,
[
r2@64
],
r3
subs
r5
,
r5
,
#
2
bgt
avg8
pop
{
r4
-
r6
,
pc
}
avg4
vld1.32
{
d0
[
0
]
}
,
[
r0
],
r1
vld1.32
{
d0
[
1
]
}
,
[
r0
],
r1
vld1.32
{
d2
[
0
]
}
,
[
r6@32
],
r3
vld1.32
{
d2
[
1
]
}
,
[
r6@32
],
r3
vrhadd.u8
d0
,
d0
,
d2
vst1.32
{
d0
[
0
]
}
,
[
r2@32
],
r3
vst1.32
{
d0
[
1
]
}
,
[
r2@32
],
r3
subs
r5
,
r5
,
#
2
bgt
avg4
pop
{
r4
-
r6
,
pc
}
ENDP
END
This diff is collapsed.
Click to expand it.
vp9/common/vp9_rtcd_defs.sh
+
1
−
1
View file @
a9aa7d07
...
...
@@ -271,7 +271,7 @@ prototype void vp9_convolve_copy "const uint8_t *src, ptrdiff_t src_stride, uint
specialize vp9_convolve_copy
$sse2_x86inc
neon
prototype void vp9_convolve_avg
"const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h"
specialize vp9_convolve_avg
$sse2_x86inc
specialize vp9_convolve_avg
$sse2_x86inc
neon
prototype void vp9_convolve8
"const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h"
specialize vp9_convolve8 ssse3 neon
...
...
This diff is collapsed.
Click to expand it.
vp9/vp9_common.mk
+
1
−
0
View file @
a9aa7d07
...
...
@@ -101,5 +101,6 @@ VP9_COMMON_SRCS-$(HAVE_NEON) += common/arm/neon/vp9_short_idct8x8_add_neon$(ASM)
VP9_COMMON_SRCS-$(HAVE_NEON)
+=
common/arm/neon/vp9_short_idct16x16_add_neon
$(
ASM
)
VP9_COMMON_SRCS-$(HAVE_NEON)
+=
common/arm/neon/vp9_mb_lpf_neon
$(
ASM
)
VP9_COMMON_SRCS-$(HAVE_NEON)
+=
common/arm/neon/vp9_copy_neon
$(
ASM
)
VP9_COMMON_SRCS-$(HAVE_NEON)
+=
common/arm/neon/vp9_avg_neon
$(
ASM
)
$(
eval
$(
call rtcd_h_template,vp9_rtcd,vp9/common/vp9_rtcd_defs.sh
))
This diff is collapsed.
Click to expand it.
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets