Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
libvpx
Commits
d9038b3c
Commit
d9038b3c
authored
Dec 03, 2012
by
Jim Bankoski
Browse files
fixes --disable-vp9-encoder
Change-Id: I467bf0fdf3b35326bcce58d5459e6d2dbfd6c5e5
parent
eebc0b49
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
25 deletions
+24
-25
vp9/common/x86/vp9_asm_stubs.c
vp9/common/x86/vp9_asm_stubs.c
+23
-0
vp9/encoder/x86/vp9_variance_mmx.c
vp9/encoder/x86/vp9_variance_mmx.c
+1
-25
No files found.
vp9/common/x86/vp9_asm_stubs.c
View file @
d9038b3c
...
...
@@ -97,6 +97,29 @@ extern void vp9_filter_block1d8_v6_only_sse2(unsigned char *src_ptr,
extern
prototype_subpixel_predict
(
vp9_bilinear_predict8x8_mmx
);
///////////////////////////////////////////////////////////////////////////
// the mmx function that does the bilinear filtering and var calculation //
// int one pass //
///////////////////////////////////////////////////////////////////////////
DECLARE_ALIGNED
(
16
,
const
short
,
vp9_bilinear_filters_mmx
[
16
][
8
])
=
{
{
128
,
128
,
128
,
128
,
0
,
0
,
0
,
0
},
{
120
,
120
,
120
,
120
,
8
,
8
,
8
,
8
},
{
112
,
112
,
112
,
112
,
16
,
16
,
16
,
16
},
{
104
,
104
,
104
,
104
,
24
,
24
,
24
,
24
},
{
96
,
96
,
96
,
96
,
32
,
32
,
32
,
32
},
{
88
,
88
,
88
,
88
,
40
,
40
,
40
,
40
},
{
80
,
80
,
80
,
80
,
48
,
48
,
48
,
48
},
{
72
,
72
,
72
,
72
,
56
,
56
,
56
,
56
},
{
64
,
64
,
64
,
64
,
64
,
64
,
64
,
64
},
{
56
,
56
,
56
,
56
,
72
,
72
,
72
,
72
},
{
48
,
48
,
48
,
48
,
80
,
80
,
80
,
80
},
{
40
,
40
,
40
,
40
,
88
,
88
,
88
,
88
},
{
32
,
32
,
32
,
32
,
96
,
96
,
96
,
96
},
{
24
,
24
,
24
,
24
,
104
,
104
,
104
,
104
},
{
16
,
16
,
16
,
16
,
112
,
112
,
112
,
112
},
{
8
,
8
,
8
,
8
,
120
,
120
,
120
,
120
}
};
#if HAVE_MMX
void
vp9_sixtap_predict4x4_mmx
(
unsigned
char
*
src_ptr
,
int
src_pixels_per_line
,
...
...
vp9/encoder/x86/vp9_variance_mmx.c
View file @
d9038b3c
...
...
@@ -191,31 +191,7 @@ unsigned int vp9_variance8x16_mmx(
}
///////////////////////////////////////////////////////////////////////////
// the mmx function that does the bilinear filtering and var calculation //
// int one pass //
///////////////////////////////////////////////////////////////////////////
DECLARE_ALIGNED
(
16
,
const
short
,
vp9_bilinear_filters_mmx
[
16
][
8
])
=
{
{
128
,
128
,
128
,
128
,
0
,
0
,
0
,
0
},
{
120
,
120
,
120
,
120
,
8
,
8
,
8
,
8
},
{
112
,
112
,
112
,
112
,
16
,
16
,
16
,
16
},
{
104
,
104
,
104
,
104
,
24
,
24
,
24
,
24
},
{
96
,
96
,
96
,
96
,
32
,
32
,
32
,
32
},
{
88
,
88
,
88
,
88
,
40
,
40
,
40
,
40
},
{
80
,
80
,
80
,
80
,
48
,
48
,
48
,
48
},
{
72
,
72
,
72
,
72
,
56
,
56
,
56
,
56
},
{
64
,
64
,
64
,
64
,
64
,
64
,
64
,
64
},
{
56
,
56
,
56
,
56
,
72
,
72
,
72
,
72
},
{
48
,
48
,
48
,
48
,
80
,
80
,
80
,
80
},
{
40
,
40
,
40
,
40
,
88
,
88
,
88
,
88
},
{
32
,
32
,
32
,
32
,
96
,
96
,
96
,
96
},
{
24
,
24
,
24
,
24
,
104
,
104
,
104
,
104
},
{
16
,
16
,
16
,
16
,
112
,
112
,
112
,
112
},
{
8
,
8
,
8
,
8
,
120
,
120
,
120
,
120
}
};
DECLARE_ALIGNED
(
16
,
const
short
,
vp9_bilinear_filters_mmx
[
16
][
8
]);
unsigned
int
vp9_sub_pixel_variance4x4_mmx
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment