summaryrefslogtreecommitdiff
path: root/rate_hist.c
AgeCommit message (Collapse)Author
2017-03-23rate_hist: add parameter validationJames Zern
tolerate a NULL hist being passed as a result of invalid parameters passed to init_rate_histogram(). this fixes a divide by zero in init_rate_histogram() with an invalid fps. BUG=webm:1383 Change-Id: Id203e0f3b18d67a4a09aaf206abcce4708f966ec
2016-07-19top-level: apply clang-formatclang-format
Change-Id: Ibd5395bf8956a80f7c0df4d539c7a42c927a1fc7
2015-06-08Prevent dividing by 0 when target-bitrate is 0.Debargha Mukherjee
Change-Id: I05b7fb378b6b0c5f263e7839f96ba6830ee34fd2
2014-01-29vpxenc: Relocate rate/quantizer histogram code.Dmitry Kovalev
Adding rate_hist.{h, c} files. Change-Id: Iaa28af6b25ec8982966a7296a073d6017b3a7f96