- Aug 25, 2017
-
-
David Barker authored
Fix a rare case in which the tile boundary information was not set up properly in the decoder when using LOOPFILTERING_ACROSS_TILES The situation was: * One frame uses loop filtering across tiles. Then its tile boundary information is not needed, so is not calculated. * The next frame (in decode order) has the same size and the same tile layout, but doesn't use loop filtering across tiles. * Now the tile boundary information *is* needed, but we weren't recalculating it. This resulted in the loop filter being applied across tile boundaries even though we signalled not to. Since the conditions on when we can reuse the previous frame's boundary information are complex, and the overhead of calculating the tile boundaries is low, we avoid this issue by simply recalculating the boundary information each frame. Change-Id: I1f3cbb0537535bf38faaed4c21c07142e747f962
-
Tom Finegan authored
third_party/fastfeat/fast_9.c: In function ‘fast9_score’: ‘for’ clause does not guard... [-Wmisleading-indentation] for(n=0; n < num_corners; n++) ^~~ third_party/fastfeat/fast_9.c:2972:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’ return scores; ^~~~~~ Change-Id: Ie35cedd8a647a699c97066b930efd261d6906162
-
Tom Finegan authored
Change-Id: I65f2f5d797ac11a0e270ac44146bba78b2e8e569
-
- Aug 24, 2017
-
-
Todd Nguyen authored
Changes: - Add block size define. - Set default to mean filtering. - Add flag in AV1_COMP for bgsprite. - Determine to use bgsprite or not based on firstpass metrics in define_gf_group. - Add outlier removal for bgsprite mean blending (off by default) Results: lowres: -0.009 avg_psnr, -0.029 ovr_psnr, -0.102 ssim Clips with maximum gain: - brdige_far_cif: -2.071 avg_psnr, -2.409 ovr_psnr, -1.977 ssim - deadline_cif: -0.148 avg_psnr, -0.137 ovr_psnr, -0.113 ssim - brdige_close_cif: +1.741 avg_psnr, -0.258 ovr_psnr, -2.534 ssim Change-Id: I809406020f7786e49cc80329511e22d25379d7a2
-
Yue Chen authored
Update cdf after each superblock being finalized, and re-compute symbol costs. Affected symbols include prediction parameters, tx type, and new motion vector. BDRate: -0.121% lowres, -0.089% midres Change-Id: I005ef382762d6e3423f933cca0a0b7b40288e8bf
-
Zoe Liu authored
Change-Id: I3259fbec7167e311f0bd12e309a227d9643bc86f
-
Urvang Joshi authored
When 64x64 transforms are enabled, it should return TX_64x64. Midres set: Small PSNR improvement overall (-0.061%), But 3 clips have large gains (-1.0% to -0.4% range) Change-Id: Ic2a1f0213449f81213219479c6b6aa0acfaac2e7
-
Rupert Swarbrick authored
Patch 323d535d fixes the reported bug but doesn't correctly read a global transformation of type TRANSLATION or AFFINE. Fortunately, clang gives a warning about the ignored expression. Change-Id: I1127d5d5b809bf016872a3ba97903599869d5357
-
Zoe Liu authored
Change-Id: I9d26f288657a15e3d0ec4c5a11e80aecc1a829ad
-
- Aug 23, 2017
-
-
Zoe Liu authored
Related to ext_refs, ext_comp_refs, and altref2 Change-Id: I35296a5a49d5200316760359da52a7803cd7207e
-
Zoe Liu authored
For the tool of ext-comp-refs Change-Id: I5a64b2206b34b3b18ca897b1d711533a4525a7f0
-
Angie Chiang authored
This give us 0.16% gain on lowres Change-Id: Iaf1932dc54a3e6eeb2e2efa2872222df2a08257e
-
Angie Chiang authored
Change-Id: I87ac57ad0ff1dcf926596f63420827531c6fd04d
-
Angie Chiang authored
Change-Id: I7b0e998182b522274768e4b587080d8e88f3a223
-
Sarah Parker authored
This addresses style warnings introduced in 0cf4d9f1 Change-Id: I864ab5397024ee1db7b44307e5320c370e1d50ad
-
Hui Su authored
No coding performance changes; small encoding speed increase. Change-Id: Ie459ee0ac549d15c2d5c713f733e67f2191f6b7a
-
Tom Finegan authored
Avoid silent failures resulting in endless build loops. BUG=aomedia:701 Change-Id: I76d3e0bdddf473fc364abf0c956fcad5f7e3103c
-
Sarah Parker authored
BUG=aomedia:693 Change-Id: I09b34abc41ee6f85619f5a05f668e06491e542f0
-
Rupert Swarbrick authored
The logic that searches for motion vectors in scan_row_mbmi and scan_col_mbmi steps in 4x4 units when the block size is less than 8x8. That test (bsize < BLOCK_8X8) doesn't work when you have 16X4 or 4X16 blocks, because they appear higher up in the enum. Change-Id: Idb1a97f8a43b675fd78dbc76ae501fcdff7adbcd
-
Turn off the assertion because av1_init_lv_map doesn't pass the count according to the position into get_base_ctx_from_count_mag() The speeding-up optimize_txb is still on-going. I will turn the assertion on once the speeding-up process is getting to a milestone. BUG=aomedia:704 Change-Id: I0119bf825bedc1fccbe4963f341a17f0e2601d02
-
- Aug 22, 2017
-
-
Sarah Parker authored
This will allow the mrc-tx experiment to pass in its own color map and set of probabilities to the tokenize and bit packing functions. The corresponding change on the decoder side will come in a followup shortly. No change in performance. Change-Id: I1872b7f1b1cf5b102e6289388ce1ae449e67cb4d
-
Rupert Swarbrick authored
There are six pieces of code in reconinter.c and two in rdopt.c which iterate over the blocks along the top or left edge of the current block for OBMC. Before this patch, each bit of code has its own implementation of the iteration, which is reasonably finicky to get right. This patch factors out that logic into a pair of helpers (foreach_overlappable_nb_above and foreach_overlappable_nb_left). The functions take a "fun" parameter, which contains the loop body. Note that the iteration is too complicated for us to be able to define a macro that could be used like FOREACH_NB_ABOVE(rel_pos, nb_size, nb_mi) { ... } While C's syntax doesn't seem to let you do that, once the compiler's optimisation pass is done inlining everything, the results are essentially the same. The iteration logic is also slightly generalised: the old code checked whether a block was shorter or narrower than 8 pixels by comparing a block size with BLOCK_8X8. This doesn't work when you have a 4x16 or 16x4 block because e.g. BLOCK_16X4 is not less than BLOCK_8X8. This generalisation is (unsurprisingly) needed in order to to support 16x4 or 4x16 blocks. This patch doesn't address the CONFIG_NCOBMC functions in reconinter.c that do prediction from right and bottom edges. This patch shouldn't affect the generated bitstream in any way: the code is supposed to be equivalent. Change-Id: I9e5a116b012c18645604a7d98fb98be99697d363
-
Sebastien Alaiwan authored
Make it explicit that: - forward tx is using the matrix - inverse tx is using the transposed matrix Change-Id: Ia9507f4f68397b07b6fd1868bb421bb9d5dd817d
-
David Barker authored
The selfguided filter code was sometimes fetching 8 bytes of data when it only needed 4. This was normally fine, but lead to problems in the selfguided filter test when compiling for x86-32, where we accidentally read off the end of the input buffer. Fix this by only reading the amount of data we actually need. BUG=aomedia:700 Change-Id: I2448b7b0d9cb2f9292a092675a66da64c89f913c
-
Cheng Chen authored
Change-Id: I5da893be07b3b9aa4351b5bb1af987f4992370ef
-
Sebastien Alaiwan authored
This is undefined behaviour in C and might confuse the optimizer, leading to incorrect code. Change-Id: Ia4bb60478068da678f013bdd6ab6a49814d89ebe
-
Deb Mukherjee authored
Improves reconstruction performance. Change-Id: Ia30a345e1f5d4e450138c1dd3a7b700119c7de31
-
Lester Lu authored
Change get_lgt in order to integrate a later experiment lgt_from_pred with lgt. There are two main changes. The main purpose for this change is to unify get_fwd_lgt and get_inv_lgt functions into a get_lgt function so the lgt basis functions can always be selected through the same function in both forward and inverse transform paths. The structure of those functions will also be consistent with the get_lgt_from_pred functions that will be added in the lgt-from-pred experiment. These changes have no impact on the bitstream. Change-Id: Ifd3dfc1a9e1a250495830ddbf42c201e80aa913e
-
Jingning Han authored
Make the lv-map rate-distortion optimization account for the per symbol cdf update. This improves the level map coding performance by 0.4%. Change-Id: I1cbecafbad4e6642abc3782c9741636d92d87eb7
-
Jingning Han authored
Change-Id: Icdce2ac2203bacdcbbbf17d1fc3308dc1ed15974
-
Jingning Han authored
Change-Id: Ife4e7e4f62b217fd55db1ec3ef69c243f1651777
-
Jingning Han authored
Allow per symbol cdf probability model update in the lv-map encoding process. Change-Id: Id0c4a659c04ffa981d8f04537eda2f1304d1682a
-
Jingning Han authored
Support the per symbol cdf update at the level map syntax element decoding process. Change-Id: Id58bf86fb1c7c72dd14ddaa3781caaa27f446ef7
-
Jingning Han authored
Initialize the cdf model for level map syntax elements. Change-Id: I3865e07c126eb4c856803c12485b05782dea6526
-
Deb Mukherjee authored
When frame-superres is used with loop-restoration use a 4-tap upscaler to reduce complexity. Change-Id: Idf5712b9a006763c4000e264176b04aa8331b12f
-
James Zern authored
Change-Id: Iec280ba1e314849ac027085f61e62a48dd224be4
-
Deb Mukherjee authored
Change-Id: I1b789acc18f1e69fb5db069ccd8bd17815938e9d
-
- Aug 21, 2017
-
-
Sebastien Alaiwan authored
Change-Id: I3cc9cb8135ec5e8aa20c8cff901a2f37b3b459ee
-
Yaowu Xu authored
BUG=aomedia:685 Change-Id: I0698b281fbaff2e77a50f5dc9a10d752de6c6f79
-