

# echo BEGIN COMMON

# -------- constants

DEVICE="/dev/video0"
SIZE=" 640x480 "
GRABDIR="capture"
INDEX="${GRABDIR}/index"
MAXIMUM=10000

# -------- utils

function show_constants
{
echo
printf "%-15s   %s\n" DEVICE $DEVICE
printf "%-15s   %s\n" SIZE $SIZE
printf "%-15s   %s\n" GRABDIR $GRABDIR
printf "%-15s   %s\n" INDEX $INDEX
printf "%-15s   %s\n" MAXIMUM $MAXIMUM
echo
}
