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
8fdfeb3f
Commit
8fdfeb3f
authored
Jun 26, 2015
by
Tom Finegan
Committed by
Gerrit Code Review
Jun 26, 2015
Browse files
Merge "vpxenc.sh: Add basic multithreaded frame parallel encode test."
parents
c040f96e
92f7d790
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/vpxenc.sh
View file @
8fdfeb3f
...
...
@@ -290,6 +290,35 @@ vpxenc_vp9_webm_rt_multithread_tiled() {
fi
}
vpxenc_vp9_webm_rt_multithread_tiled_frameparallel
()
{
if
[
"
$(
vpxenc_can_encode_vp9
)
"
=
"yes"
]
&&
\
[
"
$(
webm_io_available
)
"
=
"yes"
]
;
then
local readonly
output
=
"
${
VPX_TEST_OUTPUT_DIR
}
/vp9_rt_mt_t_fp.webm"
local readonly
tilethread_min
=
2
local readonly
tilethread_max
=
4
local readonly
num_threads
=
"
$(
seq
${
tilethread_min
}
${
tilethread_max
}
)
"
local readonly
num_tile_cols
=
"
$(
seq
${
tilethread_min
}
${
tilethread_max
}
)
"
for
threads
in
${
num_threads
}
;
do
for
tile_cols
in
${
num_tile_cols
}
;
do
vpxenc
$(
y4m_input_720p
)
\
$(
vpxenc_rt_params vp9
)
\
--threads
=
${
threads
}
\
--tile-columns
=
${
tile_cols
}
\
--frame-parallel
=
1
\
--output
=
"
${
output
}
"
done
done
if
[
!
-e
"
${
output
}
"
]
;
then
elog
"Output file does not exist."
return
1
fi
rm
"
${
output
}
"
fi
}
vpxenc_vp9_webm_2pass
()
{
if
[
"
$(
vpxenc_can_encode_vp9
)
"
=
"yes"
]
&&
\
[
"
$(
webm_io_available
)
"
=
"yes"
]
;
then
...
...
@@ -390,6 +419,7 @@ vpxenc_tests="vpxenc_vp8_ivf
vpxenc_vp9_webm
vpxenc_vp9_webm_rt
vpxenc_vp9_webm_rt_multithread_tiled
vpxenc_vp9_webm_rt_multithread_tiled_frameparallel
vpxenc_vp9_webm_2pass
vpxenc_vp9_ivf_lossless
vpxenc_vp9_ivf_minq0_maxq0
...
...
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