moving a function to a better place
This commit is contained in:
@@ -12,6 +12,17 @@
|
||||
|
||||
extern int verbosity;
|
||||
|
||||
/* ---------------------------------------------------------------- */
|
||||
int fimg_id_contraste(char *str)
|
||||
{
|
||||
|
||||
if (!strcmp(str, "none")) return CONTRAST_NONE;
|
||||
if (!strcmp(str, "sqrt")) return CONTRAST_SQRT;
|
||||
if (!strcmp(str, "pow2")) return CONTRAST_POW2;
|
||||
if (!strcmp(str, "cos01")) return CONTRAST_COS01;
|
||||
|
||||
return -1;
|
||||
}
|
||||
/* ---------------------------------------------------------------- */
|
||||
/*
|
||||
* if the second parameter is NULL, operate 'in-place'
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
../v4l2/grabvidseq -s 960x720 -n 10000 -p 0.078 \
|
||||
../v4l2/grabvidseq -s 960x720 -n 10000 -p 0.193 \
|
||||
-vv -g -c none \
|
||||
-o original.fimg
|
||||
|
||||
|
||||
Reference in New Issue
Block a user