avfilter/vf_framerate: fix scene change detection score
authorMarton Balint <cus@passwd.hu>
Sat, 9 Dec 2017 23:29:12 +0000 (00:29 +0100)
committerMarton Balint <cus@passwd.hu>
Thu, 21 Dec 2017 22:03:10 +0000 (23:03 +0100)
commite1113a83ccb6bb30e3ad865956fe9eed0d650394
tree9ad6cf783ffd121044a77583042af111896152d0
parentbe15304ee610252636120f5e09fad4b015b34a31
avfilter/vf_framerate: fix scene change detection score

- normalize score to [0..100] instead of [0..85]
- change the default score to 8.2 to roughly keep existing behaviour
- take into account bit depth
- do not truncate to integer

Signed-off-by: Marton Balint <cus@passwd.hu>
doc/filters.texi
libavfilter/vf_framerate.c
tests/ref/fate/filter-framerate-12bit-down
tests/ref/fate/filter-framerate-12bit-up