summaryrefslogtreecommitdiff
path: root/src/util.c
AgeCommit message (Collapse)AuthorFilesLines
2013-02-02Use PRId64 for int64_t in printfsBenjamin Franzke1-1/+2
Using %lld is not portable, since it depends on the architecture whether to use %ld or %lld. The inttypes.h header thus defines macros that propose the correct one.
2013-02-02suppress warning for wrong use of printing flagsJan Klemkow1-1/+1
2013-02-01fix filedescriptor leakJan Klemkow1-1/+1
2013-02-01util: Add sobel operatorBenjamin Franzke1-0/+42
2013-02-01Also put frame_average into utilBenjamin Franzke1-0/+20
Not yet needed by other tools than cuttime, but its really just a utility function.
2013-02-01Put frame_diff and pswap into utilBenjamin Franzke1-0/+22
2013-01-31util: Add pgm_read functionBenjamin Franzke1-0/+41
2013-01-31Put print_time into util.cBenjamin Franzke1-0/+14
2012-11-15pgm_save: Check whether file could be openedBenjamin Franzke1-2/+6
2012-11-15util: Remove pgm output in frame_mix functionBenjamin Franzke1-8/+1
That should be up to the utility user, to use pgm_save afterwards.
2012-11-15Add frame mix saving for high diffs.Jan Klemkow1-0/+32
2012-11-14Add util.cBenjamin Franzke1-0/+12