forked from IvanPizhenko/blockhash
-
Notifications
You must be signed in to change notification settings - Fork 4
/
videorooter.conf
33 lines (29 loc) · 749 Bytes
/
videorooter.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#
# This is a configuration file needed to include the project in the
# Videorooter testing of image/movie algorithms. It defines which
# media this software can work with (images, movies) and how to work
# with each.
#
images=1 # Set to 0 if this software can not work with images
movies=1 # Set to 0 if this software can not work with movies
#
# Called without arguments, should compile everything from a prestine
# source directory.
#
function compile {
./waf configure
./waf
}
#
# Called with 2+ arguments: the type of work (image, movie) and
# the list of files to calculate a fingerprint for.
#
function calc {
type=$1
shift
if test $type = "image"; then
build/blockhash $*
else
build/blockhash_video $*
fi
}