[FFmpeg-devel] [PATCH 2/3] idet improvements: add reset_count feature

Kevin Mitchell kevmitch at gmail.com
Mon Nov 3 03:20:06 CET 2014


I made the decay multiplication fixed point. I moved all the fixed
point logic to macros which hopefully makes it easier to read.

I also removed the total_frames count since it is now likely to become
inconsistent with the actual classification totals anyway.

I've gone back to just outputting rounded integers to av_log so as not
to break scripts of people who are insane enough to try and parse it
(bash can't handle float).

I used your suggestion for formatting fixed point decimal values for
the metadata tags.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-avfilter-vf_idet-add-a-half_life-option-for-statisti.patch
Type: text/x-patch
Size: 8756 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141102/dd212584/attachment.bin>


More information about the ffmpeg-devel mailing list