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
Xiph.Org
aom-rav1e
Commits
81fb4cf1
Commit
81fb4cf1
authored
Sep 08, 2016
by
Yaowu Xu
Browse files
simplify test code
Change-Id: Ib5491fb8f5dd7edf27c74abdd21b1f0a42aafd1f
parent
797cc30f
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/active_map_refresh_test.cc
View file @
81fb4cf1
...
...
@@ -115,22 +115,15 @@ TEST_P(ActiveMapRefreshTest, Test) {
cfg_
.
rc_end_usage
=
AOM_CBR
;
cfg_
.
kf_max_dist
=
90000
;
#if CONFIG_AV1
const
int
nframes
=
codec_
==
&
libaom_test
::
kAV1
?
10
:
30
;
#else
const
int
nframes
=
30
;
#endif // CONFIG_AV1
::
libaom_test
::
Y4mVideoSource
video
(
"desktop_credits.y4m"
,
0
,
nframes
);
::
libaom_test
::
Y4mVideoSource
video_holder
(
"desktop_credits.y4m"
,
0
,
nframes
);
::
libaom_test
::
Y4mVideoSource
video
(
"desktop_credits.y4m"
,
0
,
10
);
::
libaom_test
::
Y4mVideoSource
video_holder
(
"desktop_credits.y4m"
,
0
,
10
);
video_holder
.
Begin
();
y4m_holder_
=
&
video_holder
;
ASSERT_NO_FATAL_FAILURE
(
RunLoop
(
&
video
));
}
#if CONFIG_AV1
AV1_INSTANTIATE_TEST_CASE
(
ActiveMapRefreshTest
,
::
testing
::
Values
(
::
libaom_test
::
kRealTime
),
::
testing
::
Range
(
5
,
6
));
#endif // CONFIG_AV1
}
// namespace
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