summaryrefslogtreecommitdiff
path: root/libavfilter/vf_psnr.c
Commit message (Collapse)AuthorAge
* avfilter/vf_psnr: use log10 instead of log()/log(10)Ganesh Ajjanagadde2015-10-29
| | | | | | | This is likely more precise and conveys the intent better. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* vf_psnr/ssim: don't crash if stats_file is NULL.Ronald S. Bultje2015-10-23
|
* vf_psnr: remove %0.2f format specifiers for stream summary line.Ronald S. Bultje2015-10-22
| | | | This makes output equally precise as vf_ssim.
* avfilter/vf_psnr: Add support for writing stats to stdoutTobias Rapp2015-10-21
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Replace all remaining occurances of step/depth_minus1 and offset_plus1Hendrik Leppkes2015-09-08
|
* vf_psnr: add psnr_avg to stats file.Ronald S. Bultje2015-08-05
|
* avfilter/vf_pnsr: fix author nameJames Almer2015-07-29
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* vf_psnr: sse2 optimizations for sum-squared-error.Ronald S. Bultje2015-07-14
| | | | | | | | | | | | The internal line accumulator for 16bit can overflow, so I changed that from int to uint64_t in the C code. The matching assembly looks a little weird but output looks correct. (avx2 should be trivial to add later.) Reviewed-by: Paul B Mahol <onemda@gmail.com> Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* vf_psnr: fix rgb channel order mixup in final log message.Ronald S. Bultje2015-07-11
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* vf_psnr: always calculate MSE over full pixel range.Ronald S. Bultje2015-07-11
| | | | | | | | This makes the output compatible with that of pretty much any other tool that calculates PSNR. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* vF_psnr: move set_meta() calls out of loop.Ronald S. Bultje2015-07-11
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* vf_psnr: add channel weighting based on chroma subsampling.Ronald S. Bultje2015-07-11
| | | | | | Also add per-channel psnr stream averages to final log message. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter: handle error in query_formats() in bunch of filtersPaul B Mahol2015-04-08
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* Replace PixelFormats which sneaked in over time or where forgotten by ↵Michael Niedermayer2015-03-18
| | | | | | AVPixelFormats Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Fix a few heigth/height typo.Clément Bœsch2014-02-07
|
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-10-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: lavfi: do not export the filters from shared objects Conflicts: libavfilter/af_amix.c libavfilter/af_anull.c libavfilter/asrc_anullsrc.c libavfilter/f_select.c libavfilter/f_settb.c libavfilter/split.c libavfilter/src_movie.c libavfilter/vf_aspect.c libavfilter/vf_blackframe.c libavfilter/vf_colorbalance.c libavfilter/vf_copy.c libavfilter/vf_crop.c libavfilter/vf_cropdetect.c libavfilter/vf_drawbox.c libavfilter/vf_format.c libavfilter/vf_framestep.c libavfilter/vf_frei0r.c libavfilter/vf_hflip.c libavfilter/vf_libopencv.c libavfilter/vf_lut.c libavfilter/vf_null.c libavfilter/vf_overlay.c libavfilter/vf_scale.c libavfilter/vf_transpose.c libavfilter/vf_unsharp.c libavfilter/vf_vflip.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/dualinput: simplifyPaul B Mahol2013-09-30
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi/dualinput: reimplement on top of framesync.Nicolas George2013-09-23
|
* avfilter/vf_psnr: avoid 64bit arithmetic in the inner loopMichael Niedermayer2013-09-21
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/vf_psnr: Prevent integer overflow.Neil Birkbeck2013-09-21
| | | | | | | | The 32-bit integer accumulator in MSE computation can overflow for 8-bit frame data. (e.g., for 1080p white frame compared to a black frame can give sum of 255*255*1080*1920 > 2^32). Signed-off-by: Neil Birkbeck <neil.birkbeck@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter: various cosmeticsPaul B Mahol2013-09-12
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_psnr: >8 bit planar supportPaul B Mahol2013-09-10
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_psnr: refactor subsampled format supportPaul B Mahol2013-09-08
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi/psnr: rename 's' parameter to match documentationPaul B Mahol2013-07-09
| | | | | | Also removes some irrelevant lines in documentation. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi: fix broken logic in metadata handlingPaul B Mahol2013-07-08
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi: add psnr filterPaul B Mahol2013-07-08
Signed-off-by: Paul B Mahol <onemda@gmail.com>