summaryrefslogtreecommitdiff
path: root/tests/tiny_ssim.c
Commit message (Collapse)AuthorAge
* test: tiny_ssim: Don't include config.hMartin Storsjö2022-03-30
| | | | | | | | | | | tiny_ssim is built for the build host, not for the target platform. Therefore, it mustn't include the config.h header, which is set up specifically for the target platform and compiler. This fixes cross building for older WinStore platforms, where config.h contains "#define getenv(x) NULL". Signed-off-by: Martin Storsjö <martin@martin.st>
* tests/tiny_ssim: replace #define by typedefGanesh Ajjanagadde2015-11-20
| | | | | | | | | See e.g https://stackoverflow.com/questions/1666353/are-typedef-and-define-the-same-in-c for rationale. Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com> Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* tests/tiny_ssim: more correct error messageMichael Niedermayer2014-05-05
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* tests/tiny_ssim: check dimensionsMichael Niedermayer2014-05-05
| | | | | | Fix integer overflow Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* tests/tiny_ssim: drop isatty() supportMichael Niedermayer2014-02-21
| | | | | | | | tiny_ssim is build on the host, not the target and the HAVE_* are set for the target. This patch fixes building tiny_ssim when HAVE_* differed between target and host Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* tiny_ssim: add per-frame metrics and final ssim db number.Ronald S. Bultje2014-02-19
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* tests/tiny_ssim: include the 2 macros instead of a headerMichael Niedermayer2013-03-27
| | | | | | Should fix compilation on open solaris Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* tiny_ssim: Avoid "for(int ..."Michael Niedermayer2013-03-26
| | | | | | This should avoid issues with old compilers Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* tools: add tiny_ssimLoren Merritt2013-03-26
Taken from: http://lists.mplayerhq.hu/pipermail/mencoder-users/2006-August/003801.html and x264 See: [FFmpeg-devel] [PATCH] tools: add tiny_ssim Signed-off-by: Michael Niedermayer <michaelni@gmx.at>