summaryrefslogtreecommitdiff
path: root/rate_hist.c
AgeCommit message (Collapse)Author
2021-11-02tools_common.h: add VPX_TOOLS_FORMAT_PRINTFJames Zern
and use it to set the format attribute for printf like functions. this allows the examples to be built with -Wformat-nonliteral without producing warnings. Bug: webm:1744 Change-Id: I26b4c41c9a42790053b1ae0e4a678af8f2cd1d82 Fixed: webm:1744
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