Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Yushin Cho
aom-rav1e
Commits
81e55269
Commit
81e55269
authored
Mar 29, 2016
by
Adrian Grange
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace vp9 w/ av1
Change-Id: I9611c6e0798de4fc26bde6d72b7e5291cca0613f
parent
00ce1fb2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
test/av1_spatial_svc_encoder.sh
test/av1_spatial_svc_encoder.sh
+14
-14
No files found.
test/av1_spatial_svc_encoder.sh
View file @
81e55269
...
...
@@ -11,7 +11,7 @@
## This file tests the libaom av1_spatial_svc_encoder example. To add new
## tests to to this file, do the following:
## 1. Write a shell function (this is your test).
## 2. Add the function to
vp9
_spatial_svc_tests (on a new line).
## 2. Add the function to
av1
_spatial_svc_tests (on a new line).
##
.
$(
dirname
$0
)
/tools_common.sh
...
...
@@ -29,7 +29,7 @@ av1_spatial_svc_encoder() {
encoder
=
"
${
LIBAOM_BIN_PATH
}
/av1_spatial_svc_encoder
${
AOM_TEST_EXE_SUFFIX
}
"
local readonly
test_name
=
"
$1
"
local readonly
\
output_file
=
"
${
AOM_TEST_OUTPUT_DIR
}
/
vp9
_ssvc_encoder
${
test_name
}
.ivf"
output_file
=
"
${
AOM_TEST_OUTPUT_DIR
}
/
av1
_ssvc_encoder
${
test_name
}
.ivf"
local readonly
frames_to_encode
=
10
local readonly
max_kf
=
9999
...
...
@@ -47,26 +47,26 @@ av1_spatial_svc_encoder() {
[
-e
"
${
output_file
}
"
]
||
return
1
}
# Each test is run with layer count 1-$
vp9
_ssvc_test_layers.
vp9
_ssvc_test_layers
=
5
# Each test is run with layer count 1-$
av1
_ssvc_test_layers.
av1
_ssvc_test_layers
=
5
vp9
_spatial_svc
()
{
if
[
"
$(
vp9
_encode_available
)
"
=
"yes"
]
;
then
local readonly
test_name
=
"
vp9
_spatial_svc"
for
layers
in
$(
seq
1
${
vp9
_ssvc_test_layers
}
)
;
do
av1
_spatial_svc
()
{
if
[
"
$(
av1
_encode_available
)
"
=
"yes"
]
;
then
local readonly
test_name
=
"
av1
_spatial_svc"
for
layers
in
$(
seq
1
${
av1
_ssvc_test_layers
}
)
;
do
av1_spatial_svc_encoder
"
${
test_name
}
"
-sl
${
layers
}
done
fi
}
readonly
vp9
_spatial_svc_tests
=
"DISABLED_
vp9
_spatial_svc_mode_i
DISABLED_
vp9
_spatial_svc_mode_altip
DISABLED_
vp9
_spatial_svc_mode_ip
DISABLED_
vp9
_spatial_svc_mode_gf
vp9
_spatial_svc"
readonly
av1
_spatial_svc_tests
=
"DISABLED_
av1
_spatial_svc_mode_i
DISABLED_
av1
_spatial_svc_mode_altip
DISABLED_
av1
_spatial_svc_mode_ip
DISABLED_
av1
_spatial_svc_mode_gf
av1
_spatial_svc"
if
[
"
$(
aom_config_option_enabled CONFIG_SPATIAL_SVC
)
"
=
"yes"
]
;
then
run_tests
\
av1_spatial_svc_encoder_verify_environment
\
"
${
vp9
_spatial_svc_tests
}
"
"
${
av1
_spatial_svc_tests
}
"
fi
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