Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
aom-rav1e
Commits
5bce3fe1
Commit
5bce3fe1
authored
Dec 20, 2016
by
Yaowu Xu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Further reduce number of frames used in test
Change-Id: I5bc018b22690f47a6b4507da872bffde4b6983c8
parent
cc5bdf49
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
examples/set_maps.c
examples/set_maps.c
+3
-3
test/aomcx_set_ref.sh
test/aomcx_set_ref.sh
+1
-1
No files found.
examples/set_maps.c
View file @
5bce3fe1
...
...
@@ -123,7 +123,7 @@ int main(int argc, char **argv) {
aom_codec_ctx_t
codec
;
aom_codec_enc_cfg_t
cfg
;
int
frame_count
=
0
;
const
int
limit
=
6
0
;
const
int
limit
=
3
0
;
aom_image_t
raw
;
aom_codec_err_t
res
;
AvxVideoInfo
info
;
...
...
@@ -184,9 +184,9 @@ int main(int argc, char **argv) {
while
(
aom_img_read
(
&
raw
,
infile
)
&&
frame_count
<
limit
)
{
++
frame_count
;
if
(
frame_count
==
33
)
{
if
(
frame_count
==
11
)
{
set_active_map
(
&
cfg
,
&
codec
);
}
else
if
(
frame_count
==
44
)
{
}
else
if
(
frame_count
==
22
)
{
unset_active_map
(
&
cfg
,
&
codec
);
}
...
...
test/aomcx_set_ref.sh
View file @
5bce3fe1
...
...
@@ -33,7 +33,7 @@ aom_set_ref() {
local
codec
=
"
$1
"
local
output_file
=
"
${
AOM_TEST_OUTPUT_DIR
}
/aom_cx_set_ref_
${
codec
}
.ivf"
local
ref_frame_num
=
4
local
limit
=
2
0
local
limit
=
1
0
if
[
!
-x
"
${
encoder
}
"
]
;
then
elog
"
${
encoder
}
does not exist or is not executable."
return
1
...
...
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