1. 23 Jan, 2018 4 commits
2. 22 Jan, 2018 7 commits
• Simplify operations · 76f34734
Yaowu Xu authored
```This also avoids a UBsan warning of "left shift of negative values".

Change-Id: Ifb8d74218b1c0bc7b924e752442de0ba1b50a869```
• [Normative] DC_PRED: Avoid div using mult+shift. · 37ebf187
Urvang Joshi authored
```DC_PRED requires dividing by 'count' = block width + height.
- For square blocks this is efficient, as count is a power of 2.
- But for 1x2 and 1x4 rectangular blocks the division is inefficient.

So, we approximate this division with an integer multiply and a shift.

test_intra_pred_speed test results:

Size    Before (ms) After (ms)
4x8     221         206
8x4     195         189
8x16    121          88
16x8     84          73
16x32    63          60
32x16    68          66

Compression quality is neutral:
- Division vs 32-bit mult + shift is neutral:
https://arewecompressedyet.com/?job=ALL_rectpred_bef%402018-01-10T19%3A02%3A20.745Z&job=ALL_rectpred_aft_mult_shift%402018-01-10T19%3A04%3A21.380Z
- And 32-bit mult + shift vs 8-bit mult + shift is also neutral:
https://arewecompressedyet.com/?job=mult_shift_32bit%402018-01-16T20%3A30%3A21.418Z&job=mult_shift_08bit%402018-01-16T20%3A31%3A25.673Z

BUG=aomedia:1191

Change-Id: I2343a055bc3d85cb7be7652d7a6db1b768361be9```
• lv-map: remove probability model · 1e959897
Hui Su authored
`Change-Id: Iadaa189717787dbb82e485ff92125ee1ef591496`
• cmake: Update in-tree build hint. · bf7cd0dd
Tom Finegan authored
```Add command to remove CMake outputs that will cause problems
after moving to a new directory.

BUG=aomedia:1217

Change-Id: Ia485772d907b7cb6b84d948f288dc0ce24802499```
• Cleanup useless marker entry in tx_size_2d · d621f9bb
Frederic Barbier authored
```This extra entry has been introduced in 3ebb0d00
but is not needed.

Change-Id: I22801b2a0677dd5c381175f2fc6d9e86dde1594e```
• Cleanup inference of unused variable all_zero · 96d7a686
Frederic Barbier authored
`Change-Id: I591badb15e714e23f2c8a2c2df8514fdd75fc880`
• Cleanup obsolete comment · 50098d2f
Frederic Barbier authored
`Change-Id: Ic6706ee6c39cb54ad2f746f05e80fbc6a0af88e0`
3. 21 Jan, 2018 1 commit
• Reorder operation to avoid UBsan warning · 6394f0fd
Yaowu Xu authored
```The original order of operations lead to all variables upgraded to
unsigned int during computation, and enc->cnt being negative then
would cause UBsan warning.

Change-Id: I658b6f4c903472b82e178033eac2463045c42233```
4. 20 Jan, 2018 4 commits
5. 19 Jan, 2018 12 commits
6. 18 Jan, 2018 12 commits
Hui Su authored
```A function to calculate luma prediction mode info. rate cost for
intra blocks.

Change-Id: I285518dc34c0ffa58bdcd09e76463c21240336e1```
• Move init of delta_q/lf_present_flag to encode_frame_internal() · 46675098
Hui Su authored
```encode_with_recode_loop() may encode a frame multiple times with
different q-index values. delta_q/lf_present_flag need to be
initialized every time.

Change-Id: Iee4891c9c52a06416afdb30360e377462ef85f22```
• Turn on intrabc by default · 10215e42
Hui Su authored
`Change-Id: Ib2cb09cf335352b4d0a63d3ba35a9c9f4b35b881`
• [dist-8x8] Move asserts behind DEBUG_DIST_8X8 flag · 7cd2e110
Yushin Cho authored
`Change-Id: I0cd3de4a5673003f9fbe9c615e139e8133a99dcc`
• Remove redundant tx type validation check · c0dc6b46
Jingning Han authored
`Change-Id: Icfdd68247543daf7884454c450d50ff95ae20712`
• Remove repeated computation for trellis · ec32a74d
Cheng Chen authored
```When it is the last coeff, we don't have to search for the cost of
making it as the last signficant coeff.

Reset has_nz_tail when new eob is found.

Speed impact: ~2% improvement
PSNR: 0.01%

Change-Id: I0429d3506be30431c3e7108fb1d011930a52c419```
• Change left shift to multiply · bb617786
Yaowu Xu authored
```Negative distortion is used in trellis quant process for RDcost
computation, this change avoids compiler warning on "left shift
of negative values".

Change-Id: Iaea0ffebb6c9236e779e36301fbc69b180be1f3d```
• Make sure macro expansion working under MSVC · 568d0a9a
Yaowu Xu authored
`Change-Id: I8bb21fbbc3366690ccc13a9b31a6726dfbfa2ff4`
• Temporary fix for failures with mono-video · 25e2663f
Debargha Mukherjee authored
```Initialize all the 3 planes even if the video is monochrome.
There were some unintended consequences with initializing
only the luma plane for monochrome videos, which will be
resolved subsequently.

Change-Id: Id57445e3a5a62605511220600e749e662d080b49```
• Properly reconstruct picked intra block in txk-sel RD search · 26e265f0
Jingning Han authored
```Skip the quantization and reconstruction process when the best
selected intra mode goes with skip mode. Tested on a few 1080p
key frame coding at mid to high bit-rate range, the encoding
speed is up by 3% - 5%.

The compression for hdres key frame coding is improved from
neutural to 0.3% gains.

Change-Id: Id6b7131e82cdb45e53db65e2b92d8ccfcf00f47e```
• Use single context model for mv diff · d7b54cac
Jingning Han authored
```Reduce the context model size from 3 sets to 1 set for motion
vector difference coding in opt-ref-mv.

Change-Id: Iece1e01bb44f6a445c13787aa948400b8feef118```
• Add a small clean up on the unified use of mbmi · 083e842c
Zoe Liu authored
`Change-Id: I51a751cd656846e6f3db6c15e320bdc7f1c868fe`