Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
96a06dba
Commit
96a06dba
authored
Mar 09, 2015
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FATE: add support for testing hwaccels
parent
dc7536ca
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
Makefile
tests/Makefile
+1
-1
fate-run.sh
tests/fate-run.sh
+2
-1
No files found.
tests/Makefile
View file @
96a06dba
...
...
@@ -143,7 +143,7 @@ fate: $(FATE)
$(FATE)
:
$(FATE_UTILS:%=tests/%$(HOSTEXESUF))
@
echo
"TEST
$
(@:fate-%=%)"
$(Q)$(SRC_PATH)
/tests/fate-run.sh
$@
"
$(SAMPLES)
"
"
$(TARGET_EXEC)
"
"
$(TARGET_PATH)
"
'
$(CMD)
'
'
$(CMP)
'
'
$(REF)
'
'
$(FUZZ)
'
'
$(THREADS)
'
'
$(THREAD_TYPE)
'
'
$(CPUFLAGS)
'
'
$(CMP_SHIFT)
'
'
$(CMP_TARGET)
'
'
$(SIZE_TOLERANCE)
'
'
$(CMP_UNIT)
'
'
$(GEN)
'
$(Q)$(SRC_PATH)
/tests/fate-run.sh
$@
"
$(SAMPLES)
"
"
$(TARGET_EXEC)
"
"
$(TARGET_PATH)
"
'
$(CMD)
'
'
$(CMP)
'
'
$(REF)
'
'
$(FUZZ)
'
'
$(THREADS)
'
'
$(THREAD_TYPE)
'
'
$(CPUFLAGS)
'
'
$(CMP_SHIFT)
'
'
$(CMP_TARGET)
'
'
$(SIZE_TOLERANCE)
'
'
$(CMP_UNIT)
'
'
$(GEN)
'
'
$(HWACCEL)
'
fate-list
:
@
printf
'%s\n'
$
(
sort
$(FATE)
)
...
...
tests/fate-run.sh
View file @
96a06dba
...
...
@@ -23,6 +23,7 @@ cmp_target=${13:-0}
size_tolerance
=
${
14
:-
0
}
cmp_unit
=
${
15
:-
2
}
gen
=
${
16
:-
no
}
hwaccel
=
${
17
:-
none
}
outdir
=
"tests/data/fate"
outfile
=
"
${
outdir
}
/
${
test
}
"
...
...
@@ -76,7 +77,7 @@ probefmt(){
}
avconv
(){
dec_opts
=
"-threads
$threads
-thread_type
$thread_type
"
dec_opts
=
"-
hwaccel
$hwaccel
-
threads
$threads
-thread_type
$thread_type
"
avconv_args
=
"-nostats -cpuflags
$cpuflags
"
for
arg
in
$@
;
do
[
x
${
arg
}
=
x-i
]
&&
avconv_args
=
"
${
avconv_args
}
${
dec_opts
}
"
...
...
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