Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
aom-rav1e
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
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Raphael Zumer
aom-rav1e
Commits
81e55269
Commit
81e55269
authored
9 years ago
by
Adrian Grange
Browse files
Options
Downloads
Patches
Plain Diff
Replace vp9 w/ av1
Change-Id: I9611c6e0798de4fc26bde6d72b7e5291cca0613f
parent
00ce1fb2
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/av1_spatial_svc_encoder.sh
+14
-14
14 additions, 14 deletions
test/av1_spatial_svc_encoder.sh
with
14 additions
and
14 deletions
test/av1_spatial_svc_encoder.sh
+
14
−
14
View file @
81e55269
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
## This file tests the libaom av1_spatial_svc_encoder example. To add new
## This file tests the libaom av1_spatial_svc_encoder example. To add new
## tests to to this file, do the following:
## tests to to this file, do the following:
## 1. Write a shell function (this is your test).
## 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
.
$(
dirname
$0
)
/tools_common.sh
...
@@ -29,7 +29,7 @@ av1_spatial_svc_encoder() {
...
@@ -29,7 +29,7 @@ av1_spatial_svc_encoder() {
encoder
=
"
${
LIBAOM_BIN_PATH
}
/av1_spatial_svc_encoder
${
AOM_TEST_EXE_SUFFIX
}
"
encoder
=
"
${
LIBAOM_BIN_PATH
}
/av1_spatial_svc_encoder
${
AOM_TEST_EXE_SUFFIX
}
"
local readonly
test_name
=
"
$1
"
local readonly
test_name
=
"
$1
"
local readonly
\
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
frames_to_encode
=
10
local readonly
max_kf
=
9999
local readonly
max_kf
=
9999
...
@@ -47,26 +47,26 @@ av1_spatial_svc_encoder() {
...
@@ -47,26 +47,26 @@ av1_spatial_svc_encoder() {
[
-e
"
${
output_file
}
"
]
||
return
1
[
-e
"
${
output_file
}
"
]
||
return
1
}
}
# Each test is run with layer count 1-$
vp9
_ssvc_test_layers.
# Each test is run with layer count 1-$
av1
_ssvc_test_layers.
vp9
_ssvc_test_layers
=
5
av1
_ssvc_test_layers
=
5
vp9
_spatial_svc
()
{
av1
_spatial_svc
()
{
if
[
"
$(
vp9
_encode_available
)
"
=
"yes"
]
;
then
if
[
"
$(
av1
_encode_available
)
"
=
"yes"
]
;
then
local readonly
test_name
=
"
vp9
_spatial_svc"
local readonly
test_name
=
"
av1
_spatial_svc"
for
layers
in
$(
seq
1
${
vp9
_ssvc_test_layers
}
)
;
do
for
layers
in
$(
seq
1
${
av1
_ssvc_test_layers
}
)
;
do
av1_spatial_svc_encoder
"
${
test_name
}
"
-sl
${
layers
}
av1_spatial_svc_encoder
"
${
test_name
}
"
-sl
${
layers
}
done
done
fi
fi
}
}
readonly
vp9
_spatial_svc_tests
=
"DISABLED_
vp9
_spatial_svc_mode_i
readonly
av1
_spatial_svc_tests
=
"DISABLED_
av1
_spatial_svc_mode_i
DISABLED_
vp9
_spatial_svc_mode_altip
DISABLED_
av1
_spatial_svc_mode_altip
DISABLED_
vp9
_spatial_svc_mode_ip
DISABLED_
av1
_spatial_svc_mode_ip
DISABLED_
vp9
_spatial_svc_mode_gf
DISABLED_
av1
_spatial_svc_mode_gf
vp9
_spatial_svc"
av1
_spatial_svc"
if
[
"
$(
aom_config_option_enabled CONFIG_SPATIAL_SVC
)
"
=
"yes"
]
;
then
if
[
"
$(
aom_config_option_enabled CONFIG_SPATIAL_SVC
)
"
=
"yes"
]
;
then
run_tests
\
run_tests
\
av1_spatial_svc_encoder_verify_environment
\
av1_spatial_svc_encoder_verify_environment
\
"
${
vp9
_spatial_svc_tests
}
"
"
${
av1
_spatial_svc_tests
}
"
fi
fi
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