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
48b19171
Commit
48b19171
authored
13 years ago
by
Johann
Committed by
Gerrit Code Review
13 years ago
Browse files
Options
Download
Plain Diff
Merge "combine loopfilter data access"
parents
7bce513a
3556deac
v1.14.0-linphone
1.4.X
eider
experimental
feature/update_to_v1.9.0-linphone
feature/uwp_nuget
forest
frame_parallel
highbitdepth
indianrunnerduck
javanwhistlingduck
khakicampbell
linphone
linphone-android
linphone-old
longtailedduck
m29-baseline
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/jkoleszar/cached-multibit
sandbox/jkoleszar/new-rtcd
sandbox/jkoleszar/reuse-modemv
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
vp9-preview
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
v1.2.0
v1.1.0
v1.0.0
No related merge requests found
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
vp8/common/x86/loopfilter_block_sse2.asm
+813
-0
vp8/common/x86/loopfilter_block_sse2.asm
vp8/common/x86/loopfilter_sse2.asm
+4
-0
vp8/common/x86/loopfilter_sse2.asm
vp8/common/x86/loopfilter_x86.c
+13
-0
vp8/common/x86/loopfilter_x86.c
vp8/vp8_common.mk
+3
-0
vp8/vp8_common.mk
with
833 additions
and
0 deletions
vp8/common/x86/loopfilter_block_sse2.asm
0 → 100644
+
813
−
0
View file @
48b19171
This diff is collapsed.
Click to expand it.
vp8/common/x86/loopfilter_sse2.asm
+
4
−
0
View file @
48b19171
...
...
@@ -271,6 +271,7 @@
%endmacro
%if ABI_IS_32BIT
;void vp8_loop_filter_horizontal_edge_sse2
;(
...
...
@@ -321,6 +322,7 @@ sym(vp8_loop_filter_horizontal_edge_sse2):
pop
rbp
ret
%endif
;void vp8_loop_filter_horizontal_edge_uv_sse2
;(
...
...
@@ -1005,6 +1007,7 @@ sym(vp8_mbloop_filter_horizontal_edge_uv_sse2):
movd
[
rdi
+
2
*
rcx
+
2
],
%
2
%endmacro
%if ABI_IS_32BIT
;void vp8_loop_filter_vertical_edge_sse2
;(
...
...
@@ -1072,6 +1075,7 @@ sym(vp8_loop_filter_vertical_edge_sse2):
pop
rbp
ret
%endif
;void vp8_loop_filter_vertical_edge_uv_sse2
;(
...
...
This diff is collapsed.
Click to expand it.
vp8/common/x86/loopfilter_x86.c
+
13
−
0
View file @
48b19171
...
...
@@ -17,8 +17,13 @@ prototype_loopfilter(vp8_mbloop_filter_horizontal_edge_mmx);
prototype_loopfilter
(
vp8_loop_filter_vertical_edge_mmx
);
prototype_loopfilter
(
vp8_loop_filter_horizontal_edge_mmx
);
#if HAVE_SSE2 && ARCH_X86_64
prototype_loopfilter
(
vp8_loop_filter_bv_y_sse2
);
prototype_loopfilter
(
vp8_loop_filter_bh_y_sse2
);
#else
prototype_loopfilter
(
vp8_loop_filter_vertical_edge_sse2
);
prototype_loopfilter
(
vp8_loop_filter_horizontal_edge_sse2
);
#endif
prototype_loopfilter
(
vp8_mbloop_filter_vertical_edge_sse2
);
prototype_loopfilter
(
vp8_mbloop_filter_horizontal_edge_sse2
);
...
...
@@ -132,9 +137,13 @@ void vp8_loop_filter_mbv_sse2(unsigned char *y_ptr, unsigned char *u_ptr, unsign
void
vp8_loop_filter_bh_sse2
(
unsigned
char
*
y_ptr
,
unsigned
char
*
u_ptr
,
unsigned
char
*
v_ptr
,
int
y_stride
,
int
uv_stride
,
loop_filter_info
*
lfi
)
{
#if ARCH_X86_64
vp8_loop_filter_bh_y_sse2
(
y_ptr
,
y_stride
,
lfi
->
blim
,
lfi
->
lim
,
lfi
->
hev_thr
,
2
);
#else
vp8_loop_filter_horizontal_edge_sse2
(
y_ptr
+
4
*
y_stride
,
y_stride
,
lfi
->
blim
,
lfi
->
lim
,
lfi
->
hev_thr
,
2
);
vp8_loop_filter_horizontal_edge_sse2
(
y_ptr
+
8
*
y_stride
,
y_stride
,
lfi
->
blim
,
lfi
->
lim
,
lfi
->
hev_thr
,
2
);
vp8_loop_filter_horizontal_edge_sse2
(
y_ptr
+
12
*
y_stride
,
y_stride
,
lfi
->
blim
,
lfi
->
lim
,
lfi
->
hev_thr
,
2
);
#endif
if
(
u_ptr
)
vp8_loop_filter_horizontal_edge_uv_sse2
(
u_ptr
+
4
*
uv_stride
,
uv_stride
,
lfi
->
blim
,
lfi
->
lim
,
lfi
->
hev_thr
,
v_ptr
+
4
*
uv_stride
);
...
...
@@ -153,9 +162,13 @@ void vp8_loop_filter_bhs_sse2(unsigned char *y_ptr, int y_stride, const unsigned
void
vp8_loop_filter_bv_sse2
(
unsigned
char
*
y_ptr
,
unsigned
char
*
u_ptr
,
unsigned
char
*
v_ptr
,
int
y_stride
,
int
uv_stride
,
loop_filter_info
*
lfi
)
{
#if ARCH_X86_64
vp8_loop_filter_bv_y_sse2
(
y_ptr
,
y_stride
,
lfi
->
blim
,
lfi
->
lim
,
lfi
->
hev_thr
,
2
);
#else
vp8_loop_filter_vertical_edge_sse2
(
y_ptr
+
4
,
y_stride
,
lfi
->
blim
,
lfi
->
lim
,
lfi
->
hev_thr
,
2
);
vp8_loop_filter_vertical_edge_sse2
(
y_ptr
+
8
,
y_stride
,
lfi
->
blim
,
lfi
->
lim
,
lfi
->
hev_thr
,
2
);
vp8_loop_filter_vertical_edge_sse2
(
y_ptr
+
12
,
y_stride
,
lfi
->
blim
,
lfi
->
lim
,
lfi
->
hev_thr
,
2
);
#endif
if
(
u_ptr
)
vp8_loop_filter_vertical_edge_uv_sse2
(
u_ptr
+
4
,
uv_stride
,
lfi
->
blim
,
lfi
->
lim
,
lfi
->
hev_thr
,
v_ptr
+
4
);
...
...
This diff is collapsed.
Click to expand it.
vp8/vp8_common.mk
+
3
−
0
View file @
48b19171
...
...
@@ -99,6 +99,9 @@ ifeq ($(CONFIG_POSTPROC),yes)
VP8_COMMON_SRCS-$(HAVE_MMX)
+=
common/x86/postproc_mmx.asm
VP8_COMMON_SRCS-$(HAVE_SSE2)
+=
common/x86/postproc_sse2.asm
endif
ifeq
($(ARCH_X86_64),yes)
VP8_COMMON_SRCS-$(HAVE_SSE2)
+=
common/x86/loopfilter_block_sse2.asm
endif
# common (c)
VP8_COMMON_SRCS-$(ARCH_ARM)
+=
common/arm/arm_systemdependent.c
...
...
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