summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_subexp.c
AgeCommit message (Collapse)Author
2019-04-11Fix static analysis warningskyslov
With switching to clang-7.0.1 we got new warnings. With this change the warnings are back to 0 for all configurations (excluding warnings in third_party) BUG=webm:1616 Change-Id: I25ceb592c425394e8f14d333fb5680144f892213
2016-08-02vp9/encoder: apply clang-formatclang-format
Change-Id: I45d9fb4013f50766b24363a86365e8063e8954c2
2016-05-25Refactor probability savings search.Alex Converse
- Avoid excessive copying - Don't both searching if no update can possibly offer savings - Simplify the interface - Remove the confusing vp9_cost_upd256 macro Change-Id: Id9d9676a361fd1203b27e930cd29c23b2813ce59
2016-01-29Refactor prob_diff_update_savings_search_modelhui su
Change-Id: Icfab58e880285d5af00985dc20db2174a67d1fe8
2016-01-15Tie the bit cost scale to a define.Alex Converse
This is a pure-refactor in preparation to potentially raise the bit-cost resolution. Verified at good speed 0 and rt speed -6. Change-Id: I5347e6e8c28a9ad9dd0aae1d76a3d0f3c2335bb9
2015-10-27Shrink probability remap tables.Alex Converse
Saves 2288 bytes in vp8+vp9 libvpx.a. Change-Id: Iaa5712e59a9693ed58cea63de63781a96827e44e
2015-07-20vpx_dsp/bitwriter.h: vp9_->vpx_Yaowu Xu
changes prefix vp9_ to vpx_ for non codec specific functions and data structures. Change-Id: I91a21548e39bd24d2c7caaaa223ae47240bb78c8
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-20Remove vp9_ prefix from bit writer filesYaowu Xu
Change-Id: I07647c7482b9ec498fbad3a9c9901f72b2336500
2015-07-20Move bit writer files to vpx_dsp/Yaowu Xu
Change-Id: Id27e0007a0feac821ca66bcecbf3a723305da82d
2015-05-15vp9_subexp.h: add a missing prototypeJames Zern
+ include the .h in the .c silences missing prototype warnings Change-Id: Ia87366dccb4bf4e9f2ffa5d3ab51ac6ca5488c91
2015-04-28vpx_mem: remove vpx_memcpyJames Zern
vestigial. replace instances with memcpy() which they already were being defined to. Change-Id: Icfd1b0bc5d95b70efab91b9ae777ace1e81d2d7c
2014-12-03Rework coeff probability model update for rtc codingJingning Han
This commit reworks the ONE_LOOP_REDUCED coefficient probability model update process. It allows model update for every coefficient across the spectrum at a coarser resolution, instead of performing precise update only for certain subset of probability models. The overall runtime remains nearly same (<1% change) for speed -6. The compression performance is improved by 7.5% in PSNR for speed -5 and 4.57% for speed -6, respectively. Change-Id: Ifb17136382ee7e39a9f34ff4a4f09a753125c8d1
2014-08-05vp9_subexp: remove vp9_compute_update_table()James Zern
makes update_bits[] a constant table Change-Id: If105bf0522487f54a31e12a7cc73aa24671b19d4
2014-03-17Removed several unused functions.Yaowu Xu
Change-Id: Ib9e27298c575afc02a98b593bc6ad60762064d9b
2014-03-05Adding vp9_cost.{h, c} files.Dmitry Kovalev
Change-Id: If90c1bc822873156d4e38fca1938e4907f6c95f0
2014-03-02vp9_prob_diff_update_savings_search_model(): remove paramsYaowu Xu
Two paramemters are not in use, therefore are removed. Change-Id: I41eb601b7b4bf2feedb13b3f240315656d8694f9
2014-02-03Propgate constants through subexp routines.Alex Converse
This avoids calls to get_unsigned_bits() with constants and replaces hard to trace loops with simpler structures. Change-Id: Ic1afc5a17d7df5bcfc85b76efda316b0bf118467
2013-12-20Renaming vp9_boolcoder.{h, c} to vp9_writer.{h, c}.Dmitry Kovalev
Change-Id: I9b9a5fcce8530284df0f270706ee060a0edc1517
2013-11-19Cleaning up probability/cost functions.Dmitry Kovalev
Change-Id: Ifad4b0e6355ce49fcc6f470becc080e8069452ee
2013-10-31Cleanup. Adding const to function pointer arguments.Dmitry Kovalev
Change-Id: I12c67c8c0fa1aa7fb3f7d6cc2ef65be29c4ea292
2013-10-11Replacing {VP9_COEF, MODE}_UPDATE_PROB with DIFF_UPDATE_PROB.Dmitry Kovalev
Values of MODE_UPDATE_PROB and VP9_COEF_UPDATE_PROB are equal, so replacing them with one constant. Inlining appropriate arguments for functions: vp9_cond_prob_diff_update (encoder) vp9_diff_update_prob (decoder) Change-Id: I1255a1cb477743b799b3bfbbcd8de6b32b067338
2013-07-22vp9: make some static tables constJames Zern
Change-Id: I8bcae51271673da8755c66a51aea005dfe6a3739
2013-07-02Clean-up in forward update to use mapping tablesDeb Mukherjee
Uses mapping tables instead of complicated modulo/division operations for prob mapping for forward updates. No bit-stream or output change. Change-Id: Ifd9ce8ac1437835c305c94f64c18273c7a68f546
2013-06-29Moving encoder subexp encoding functions to subexp.{h, c}.Dmitry Kovalev
Change-Id: I83ca53bf6def871f199a382a671f26ad7cbecbca