Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guillaume Martres
aom-rav1e
Commits
6b78f11a
Commit
6b78f11a
authored
Oct 01, 2013
by
Matthew Heaney
Committed by
Gerrit Code Review
Oct 01, 2013
Browse files
Merge "Fix linker warnings for bilinear filters"
parents
03698aa6
dcab9896
Changes
4
Hide whitespace changes
Inline
Side-by-side
vp8/common/filter.c
View file @
6b78f11a
...
...
@@ -9,9 +9,7 @@
*/
#include <stdlib.h>
#include "filter.h"
#include "vpx_ports/mem.h"
DECLARE_ALIGNED
(
16
,
const
short
,
vp8_bilinear_filters
[
8
][
2
])
=
{
...
...
vp8/common/filter.h
View file @
6b78f11a
...
...
@@ -12,11 +12,13 @@
#ifndef FILTER_H
#define FILTER_H
#include "vpx_ports/mem.h"
#define BLOCK_HEIGHT_WIDTH 4
#define VP8_FILTER_WEIGHT 128
#define VP8_FILTER_SHIFT 7
extern
const
short
vp8_bilinear_filters
[
8
][
2
];
extern
const
short
vp8_sub_pel_filters
[
8
][
6
];
extern
DECLARE_ALIGNED
(
16
,
const
short
,
vp8_bilinear_filters
[
8
][
2
]
)
;
extern
DECLARE_ALIGNED
(
16
,
const
short
,
vp8_sub_pel_filters
[
8
][
6
]
)
;
#endif
vp8/common/x86/filter_x86.c
View file @
6b78f11a
...
...
@@ -8,7 +8,7 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#include "vp
x_ports/mem
.h"
#include "vp
8/common/x86/filter_x86
.h"
DECLARE_ALIGNED
(
16
,
const
short
,
vp8_bilinear_filters_x86_4
[
8
][
8
])
=
{
...
...
vp8/common/x86/filter_x86.h
View file @
6b78f11a
...
...
@@ -11,9 +11,15 @@
#ifndef FILTER_X86_H
#define FILTER_X86_H
#include "vpx_ports/mem.h"
/* x86 assembly specific copy of vp8/common/filter.c:vp8_bilinear_filters with
* duplicated values */
extern
const
short
vp8_bilinear_filters_x86_4
[
8
][
8
];
/* duplicated 4x */
extern
const
short
vp8_bilinear_filters_x86_8
[
8
][
16
];
/* duplicated 8x */
/* duplicated 4x */
extern
DECLARE_ALIGNED
(
16
,
const
short
,
vp8_bilinear_filters_x86_4
[
8
][
8
]);
/* duplicated 8x */
extern
DECLARE_ALIGNED
(
16
,
const
short
,
vp8_bilinear_filters_x86_8
[
8
][
16
]);
#endif
/* FILTER_X86_H */
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