Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
350e9c67
Commit
350e9c67
authored
9 years ago
by
Ronald S. Bultje
Browse files
Options
Downloads
Patches
Plain Diff
vp9: fix loopfilter test code to address Hendrik's comments.
(I forgot to actually merge them into the patch I just pushed.)
parent
7086154a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/checkasm/vp9dsp.c
+5
-6
5 additions, 6 deletions
tests/checkasm/vp9dsp.c
with
5 additions
and
6 deletions
tests/checkasm/vp9dsp.c
+
5
−
6
View file @
350e9c67
...
...
@@ -157,26 +157,25 @@ static void check_ipred(void)
} \
} while (0)
static
void
check_loopfilter
()
static
void
check_loopfilter
(
void
)
{
LOCAL_ALIGNED_32
(
uint8_t
,
base0
,
[
32
+
16
*
16
*
2
]);
LOCAL_ALIGNED_32
(
uint8_t
,
base1
,
[
32
+
16
*
16
*
2
]);
VP9DSPContext
dsp
;
int
dir
,
wd
,
wd2
,
bit_depth
;
static
const
char
*
const
dir_name
[
2
]
=
{
"h"
,
"v"
};
int
E
[
2
]
=
{
20
,
28
},
I
[
2
]
=
{
10
,
16
},
H
[
2
]
=
{
7
,
11
},
F
[
2
]
=
{
1
,
1
};
static
const
int
E
[
2
]
=
{
20
,
28
},
I
[
2
]
=
{
10
,
16
};
static
const
int
H
[
2
]
=
{
7
,
11
},
F
[
2
]
=
{
1
,
1
};
declare_func
(
void
,
uint8_t
*
dst
,
ptrdiff_t
stride
,
int
E
,
int
I
,
int
H
);
for
(
bit_depth
=
8
;
bit_depth
<=
12
;
bit_depth
+=
2
)
{
ff_vp9dsp_init
(
&
dsp
,
bit_depth
,
0
);
for
(
dir
=
0
;
dir
<
2
;
dir
++
)
{
uint8_t
*
buf0
,
*
buf1
;
int
midoff
=
(
dir
?
8
*
8
:
8
)
*
SIZEOF_PIXEL
;
int
midoff_aligned
=
(
dir
?
8
*
8
:
16
)
*
SIZEOF_PIXEL
;
buf0
=
base0
+
midoff_aligned
;
buf1
=
base1
+
midoff_aligned
;
uint8_t
*
buf0
=
base0
+
midoff_aligned
;
uint8_t
*
buf1
=
base1
+
midoff_aligned
;
for
(
wd
=
0
;
wd
<
3
;
wd
++
)
{
// 4/8/16wd_8px
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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