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
2a2d8c14
Commit
2a2d8c14
authored
11 years ago
by
hkuang
Committed by
Gerrit Code Review
11 years ago
Browse files
Options
Download
Plain Diff
Merge "Add vp9_tm_predictor_4x4 neon implementation"
parents
a5cb1b1a
f2ef3892
v1.14.0-linphone
1.4.X
feature/update_to_v1.9.0-linphone
feature/uwp_nuget
frame_parallel
highbitdepth
indianrunnerduck
javanwhistlingduck
khakicampbell
linphone
linphone-android
linphone-old
longtailedduck
m49-2623
m52-2743
m54-2840
m56-2924
m66-3359
m68-3440
mandarinduck
mcw
mcw2
nextgen
nextgenv2
playground
sandbox/Jingning/experimental
sandbox/Jingning/transcode
sandbox/Jingning/vpx
sandbox/aconverse@google.com/ansbench
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
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
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
vp9/common/arm/neon/vp9_reconintra_neon.asm
+49
-0
vp9/common/arm/neon/vp9_reconintra_neon.asm
vp9/common/vp9_rtcd_defs.sh
+1
-1
vp9/common/vp9_rtcd_defs.sh
with
50 additions
and
1 deletion
vp9/common/arm/neon/vp9_reconintra_neon.asm
+
49
−
0
View file @
2a2d8c14
...
@@ -16,6 +16,7 @@
...
@@ -16,6 +16,7 @@
EXPORT
|
vp9_h_predictor_8x8_neon
|
EXPORT
|
vp9_h_predictor_8x8_neon
|
EXPORT
|
vp9_h_predictor_16x16_neon
|
EXPORT
|
vp9_h_predictor_16x16_neon
|
EXPORT
|
vp9_h_predictor_32x32_neon
|
EXPORT
|
vp9_h_predictor_32x32_neon
|
EXPORT
|
vp9_tm_predictor_4x4_neon
|
ARM
ARM
REQUIRE8
REQUIRE8
PRESERVE8
PRESERVE8
...
@@ -283,4 +284,52 @@ loop_h
...
@@ -283,4 +284,52 @@ loop_h
bx
lr
bx
lr
ENDP
; |vp9_h_predictor_32x32_neon|
ENDP
; |vp9_h_predictor_32x32_neon|
;void vp9_tm_predictor_4x4_neon (uint8_t *dst, ptrdiff_t y_stride,
; const uint8_t *above,
; const uint8_t *left)
; r0 uint8_t *dst
; r1 ptrdiff_t y_stride
; r2 const uint8_t *above
; r3 const uint8_t *left
|
vp9_tm_predictor_4x4_neon
|
PROC
; Load ytop_left = above[-1];
sub
r12
,
r2
,
#
1
ldrb
r12
,
[
r12
]
vdup.u8
d0
,
r12
; Load above 4 pixels
vld1.32
{
d2
[
0
]
}
,
[
r2
]
; Compute above - ytop_left
vsubl.u8
q3
,
d2
,
d0
; Load left row by row and compute left + (above - ytop_left)
; 1st row and 2nd row
ldrb
r12
,
[
r3
],
#
1
ldrb
r2
,
[
r3
],
#
1
vdup.u16
q1
,
r12
vdup.u16
q2
,
r2
vadd.s16
q1
,
q1
,
q3
vadd.s16
q2
,
q2
,
q3
vqshrun.s16
d0
,
q1
,
#
0
vqshrun.s16
d1
,
q2
,
#
0
vst1.32
{
d0
[
0
]
}
,
[
r0
],
r1
vst1.32
{
d1
[
0
]
}
,
[
r0
],
r1
; 3rd row and 4th row
ldrb
r12
,
[
r3
],
#
1
ldrb
r2
,
[
r3
],
#
1
vdup.u16
q1
,
r12
vdup.u16
q2
,
r2
vadd.s16
q1
,
q1
,
q3
vadd.s16
q2
,
q2
,
q3
vqshrun.s16
d0
,
q1
,
#
0
vqshrun.s16
d1
,
q2
,
#
0
vst1.32
{
d0
[
0
]
}
,
[
r0
],
r1
vst1.32
{
d1
[
0
]
}
,
[
r0
],
r1
bx
lr
ENDP
; |vp9_tm_predictor_4x4_neon|
END
END
This diff is collapsed.
Click to expand it.
vp9/common/vp9_rtcd_defs.sh
+
1
−
1
View file @
2a2d8c14
...
@@ -57,7 +57,7 @@ prototype void vp9_v_predictor_4x4 "uint8_t *dst, ptrdiff_t y_stride, const uint
...
@@ -57,7 +57,7 @@ prototype void vp9_v_predictor_4x4 "uint8_t *dst, ptrdiff_t y_stride, const uint
specialize vp9_v_predictor_4x4
$sse_x86inc
neon
specialize vp9_v_predictor_4x4
$sse_x86inc
neon
prototype void vp9_tm_predictor_4x4
"uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left"
prototype void vp9_tm_predictor_4x4
"uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left"
specialize vp9_tm_predictor_4x4
$sse_x86inc
dspr2
specialize vp9_tm_predictor_4x4
$sse_x86inc
neon
dspr2
prototype void vp9_dc_predictor_4x4
"uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left"
prototype void vp9_dc_predictor_4x4
"uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left"
specialize vp9_dc_predictor_4x4
$sse_x86inc
dspr2
specialize vp9_dc_predictor_4x4
$sse_x86inc
dspr2
...
...
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