summaryrefslogtreecommitdiff
path: root/vpx_dsp/prob.h
AgeCommit message (Collapse)Author
2019-03-14Enclose macro arguments in parenthesesJerome Jiang
BUG=webm:1606 Change-Id: I661485b860243c95b6450035dbac77b0dd4d9ff4
2018-09-15cosmetics: normalize include guardsJames Zern
use the recommended format [1] of: <PROJECT>_<PATH>_<FILE>_H_ [1] https://google.github.io/styleguide/cppguide.html#The__define_Guard "All header files should have #define guards to prevent multiple inclusion. The format of the symbol name should be <PROJECT>_<PATH>_<FILE>_H_." Change-Id: I2e8ab0b32fb23c30fa43cff5fec12d043c0d2037
2017-02-24get_prob(): rationalize int typesJames Zern
promote the unsigned int calculation to uint64_t rather than int64_t for type consistency Change-Id: Ic34dee1dc707d9faf6a3ae250bfe39b60bef3438
2016-09-28vpx_dsp/get_prob: relocate den == 0 testJames Zern
to get_binary_prob(). the only other caller mode_mv_merge_probs() does its own test on 0. BUG=chromium:639712 Change-Id: I1178688706baeca2883f7aadbc254abb219a44ce
2016-09-28vpx_dsp/get_prob: make clip_prob branchlessJames Zern
+ inline the function directly as there was only one consumer (get_prob()) this is an attempt to reduce the amount of branches to workaround an amd bug. this change is mildly faster or neutral across x86-64, arm. http://support.amd.com/TechDocs/44739_12h_Rev_Gd.pdf 665 Integer Divide Instruction May Cause Unpredictable Behavior BUG=chromium:639712 Suggested-by: Pascal Massimino <pascal.massimino@gmail.com> Change-Id: Ia91823aded79aab469dd68095d44300e8df04ed2
2016-08-02Resolve -Wshorten-64-to-32 warnings in prob.h.Alex Converse
Change-Id: I1244ee908d81467f0fc8a8fce979fc8077a325b4
2016-07-25vpx_dsp: apply clang-formatclang-format
Change-Id: I3ea3e77364879928bd916f2b0a7838073ade5975
2015-08-26vpx_dsp_common: add VPX prefix to MIN/MAXJames Zern
prevents redeclaration warnings; vp8 has its own define which will be resolved in a future commit Change-Id: Ic941fef3dd4262fcdce48b73075fe6b375f11c9c
2015-07-20vpx_dsp/prob.h: vp9_ -> vpx_Yaowu Xu
change prefix vp9_ to vpx_ for non codec specific functions and data structures. Change-Id: I97c7e6422eceea99212b93f4942bc2187763a07c
2015-07-20vpx_dsp/bitreader.h: vp9_->vpx_Yaowu Xu
Replace vp9_ in names to vpx_ as they are not codec specific. Change-Id: I2e583aa63dee769353ada4b42417aa15c4074ebb
2015-07-20Removed vp9_ prefix from vpx_dsp/bitreader file namesYaowu Xu
Change-Id: I0426126d0a65f13f9250983e44cc366b1b1a9c4a