Angie Chiang
7a77169a35
Merge changes Ia37f170d,Ie3082db5 into nextgenv2
...
* changes:
Record YUV planes' txfm block coeff cost in handle_inter_mode()
Separate coefficient cost of U/V planes in write_modes_b()
2016-11-04 22:58:58 +00:00
Angie Chiang
59526ead45
Merge changes I3bc782d6,I8359e849,Iae50d0b0,Id1704d88,Ia69f13c4, ... into nextgenv2
...
* changes:
Add av1_ prefix on ###_rd_stats functions
Use init_rd_stats() in encodeframe.c
Add transform block coefficient cost in RD_STATS for debugging
Add helper functions to modify RD_STATS
Add mi_row and mi_col into mbmi to facilitate rd_debug process
Add token cost comparison in write_modes_b()
2016-11-04 22:43:30 +00:00
James Zern
653fdd6d55
Merge changes I139808f4,I3d97d8db into nextgenv2
...
* changes:
warped_motion.c: delete unused filter_4tap[]
warped_motion.c: quiet float-conversion warnings
2016-11-04 22:34:11 +00:00
Angie Chiang
75f45814ba
Separate coefficient cost of U/V planes in write_modes_b()
...
Change-Id: Ie3082db5b0fead8c322b2aeede4eff7cd723ea12
2016-11-04 11:12:44 -07:00
Angie Chiang
d402282f69
Add token cost comparison in write_modes_b()
...
This is just partial implementation
Compare token cost of pack_mb_tokens/pack_txb_tokens with token cost
from rate-distortion loop. If there is any difference, dump out mode
info.
Change-Id: I46b373ee2522c5047f799f36baf7cec5fbc06f06
2016-11-04 11:09:24 -07:00
Debargha Mukherjee
68d695b7ca
Merge "Further work on 64x64 fwd/inv transform support" into nextgenv2
2016-11-04 09:32:07 +00:00
Debargha Mukherjee
21378b8ad0
Merge "Fix bilateral filter asan error for highbitdepth" into nextgenv2
2016-11-04 05:25:49 +00:00
James Zern
5d54c175c2
warped_motion.c: delete unused filter_4tap[]
...
Change-Id: I139808f492a9e9dcac44a36237b61231ede7edc3
2016-11-03 20:12:20 -07:00
James Zern
4846e446c6
warped_motion.c: quiet float-conversion warnings
...
Change-Id: I3d97d8db51a5a5d6b2c1cae47492b53ab37100a7
2016-11-03 20:11:06 -07:00
James Zern
005ff81598
Merge "warped_motion: Fix ubsan warning for signed integer overflow" into nextgenv2
2016-11-04 00:58:07 +00:00
Sarah Parker
db92635745
warped_motion: Fix ubsan warning for signed integer overflow
...
Change-Id: Ie698aa02ef56128759c71079e9bfa1af25149644
2016-11-04 00:54:25 +00:00
Debargha Mukherjee
c57924cb9e
Fix bilateral filter asan error for highbitdepth
...
BUG=webm:1334
Change-Id: I5886eec0a22a8cc056e1bdb493d2faf183816656
2016-11-03 16:23:09 -07:00
Alex Converse
9613758e71
Merge "Don't use a TX_SIZE as a TX_TYPE" into nextgenv2
2016-11-03 21:44:21 +00:00
Debargha Mukherjee
6a47cff882
Further work on 64x64 fwd/inv transform support
...
For higher level fwd and inv transform functions.
Change-Id: I91518250a0be7d94aada7519f6c9e7ed024574fb
2016-11-03 14:32:54 -07:00
Debargha Mukherjee
d65708a375
Merge "Replace hard coded numbers with TX_SIZES macro" into nextgenv2
2016-11-03 19:59:10 +00:00
Alex Converse
f0ede18718
Don't use a TX_SIZE as a TX_TYPE
...
Change-Id: I26b02e6578ad2d82aadfe1df2aeb84e6c11a747b
2016-11-03 10:28:05 -07:00
Yaowu Xu
5bb8f5b705
fix build issue with --enable-delta-q
...
BUG=webm:1330
Change-Id: I120ce8ea3581018b232b19ca7ffbb07d3e99d8d0
2016-11-03 09:03:39 -07:00
Debargha Mukherjee
e04fdb2308
Replace hard coded numbers with TX_SIZES macro
...
Replaces a couple of hard coded numbers with TX_SIZES macro
in common/reconiontra.c
Change-Id: I8a2a53ca16bc3ab51409cec340bea55292ff2dee
2016-11-03 08:51:42 -07:00
Yaowu Xu
c1ca945ce5
Merge changes from topic 'update_dering' into nextgenv2
...
* changes:
Reformatting the deringing code
Introducing OD_DERING_SIZE_LOG2 constant (3)
Renaming deringing blockwise write-back functions to make code clearer
Deringing refactoring: replace last_sbc with simpler dering_left flag
Getting rid of the od_dering_in type
2016-11-03 14:03:25 +00:00
Yaowu Xu
7036aee1a4
Merge "Refactoring deringed block list code" into nextgenv2
2016-11-03 13:48:58 +00:00
Yaowu Xu
71c72561fa
Merge "Deringing line buffer no longer depends on holding OD_DERING_VERY_LARGE" into nextgenv2
2016-11-03 05:02:32 +00:00
Jingning Han
e60d3294ea
Merge "Make recursive txfm encoding process support rectangular tx_size" into nextgenv2
2016-11-03 04:36:55 +00:00
Jingning Han
141f7a9757
Merge "Fix a merge bug between dual_filter and sub8x8mc" into nextgenv2
2016-11-03 01:06:39 +00:00
Jingning Han
1e477f9833
Merge "Remove redundant experimental flags from common_data.h" into nextgenv2
2016-11-03 01:04:45 +00:00
Jean-Marc Valin
39d92a071d
Reformatting the deringing code
...
Manally removed the "clang-format off" lines. The rest is done by clang
Change-Id: I88a2028b55a541729b4e8896cdf66b544e9898bb
2016-11-02 15:51:00 -07:00
Jean-Marc Valin
e04650347c
Refactoring deringed block list code
...
Using a struct named dlist rather than an array named bskip. Simplified some
code.
No change in output
Change-Id: Id40d40b19b5d8f2ebafe347590fa1bb8cb80e6e1
2016-11-02 15:51:00 -07:00
Jean-Marc Valin
01b7780154
Deringing line buffer no longer depends on holding OD_DERING_VERY_LARGE
...
The OD_DERING_VERY_LARGE values are now explicitly copied to the buffer instead
of being read from the line buffer when we're on the edge of the frame. This
will make it possible to make the line buffer 8-bit for non-high-bitdepth.
No change in output
Change-Id: I1a4134d67ac7f8c239f08d73941405c56f01050b
2016-11-02 15:51:00 -07:00
Jean-Marc Valin
e254241ce7
Introducing OD_DERING_SIZE_LOG2 constant (3)
...
Also cleans up the size of the deringing destination buffer.
No change in output.
Change-Id: I7fc50d862d3906ce809c1031bf0789acdf39cf34
2016-11-02 15:51:00 -07:00
Jean-Marc Valin
58fdec2cbf
Renaming deringing blockwise write-back functions to make code clearer
...
No change in output.
Change-Id: Ifa5df3adce9f24ef6dcd89a5f33a744bfb57194d
2016-11-02 15:51:00 -07:00
Jean-Marc Valin
3544d15130
Deringing refactoring: replace last_sbc with simpler dering_left flag
...
No change in output.
Change-Id: I1cc2e14b2bb6c343baa7f88348c875085e5863af
2016-11-02 15:51:00 -07:00
Jean-Marc Valin
39ee109333
Getting rid of the od_dering_in type
...
We no longer need the deringing code to be generic wrt the input depth.
No change in output.
Change-Id: I2db2beb82f1816e611cd2c0438dff217d363de33
2016-11-02 15:51:00 -07:00
Jingning Han
fee498255d
Merge "Remove unused get_intra/inter_scan() from scan.h" into nextgenv2
2016-11-02 22:50:59 +00:00
Jingning Han
1a0faab642
Merge "Remove redundant config flags from get_entropy_context" into nextgenv2
2016-11-02 22:50:49 +00:00
Jean-Marc Valin
d95322a35c
Now using a single line buffer
...
No change in output.
Change-Id: I4701a5517fb97889f970acfb0b44cee51c34fd95
2016-11-02 22:50:10 +00:00
Jean-Marc Valin
621e707259
Only copy data from deringed blocks to the line buffer
...
No change in output
Change-Id: I6ec4a8c635337562170153585e427afd6f9d9a0f
2016-11-02 22:49:54 +00:00
Jean-Marc Valin
50bb32ec87
Splitting out 8->16 block copy code into copy_sb8_16()
...
No change in output.
Change-Id: I4f0e37a879432e2647b3debe6a2c0c670a79dd6f
2016-11-02 22:49:39 +00:00
Jean-Marc Valin
39b0d2fb14
Eliminate the big superblock row buffer.
...
Now only buffering three lines across the entire frame and four lines
over the height of one superblock.
No change in output.
Change-Id: I6b99399974e197dc02f2e4ff2e60cdd7fdaa2e43
2016-11-02 22:48:47 +00:00
Jean-Marc Valin
b154a24283
Making deringing buffer only one row of superblocks at a time
...
This introduces a line buffer that hold the last three lines of each original
row so that the next row can be deringed with the original input of the upper
row.
No change in output
Change-Id: I8fad3bc48745e9ce3e440289f453477a0c5442c0
2016-11-02 22:48:19 +00:00
Jingning Han
a9336328d4
Make recursive txfm encoding process support rectangular tx_size
...
This commit makes the encoding process of the recursive transform
block partition support both rectangular and square transform block
sizes as the starting point. If the coding block size is rectangular,
it would allow the transform block size to start from the largest
rectangular transform size, and recursive parse to the selected
coding sizes.
Change-Id: I576628b9166565bada6a918f0a1e67849dfef4cd
2016-11-02 15:48:07 -07:00
Jean-Marc Valin
ca1eb5dc58
Duplicating deringing input superblock copy to make upcoming changes easier
...
No change in output
Change-Id: Iaa06043dcc31308c83f667424e5a83c2db50ed24
2016-11-02 22:46:53 +00:00
Jean-Marc Valin
8e941780be
Using a uniform definition for "bsize" in deringing filter
...
No change in output
Change-Id: Ia3a1679aa75cb58f4bc6459791e061176eeafd52
2016-11-02 22:46:27 +00:00
Jean-Marc Valin
eab77ea936
Using the copied input for od_dir_find8()
...
No change in output
Change-Id: Iec1411c35bf175a462eade34e89a4c60eb2a1da4
2016-11-02 15:41:01 -07:00
Yaowu Xu
6285c6674d
Merge "Increase deringing horizontal padding to 4 pixels on each side" into nextgenv2
2016-11-02 22:37:39 +00:00
Jean-Marc Valin
471687a9ac
Increase deringing horizontal padding to 4 pixels on each side
...
This makes vectorization easier by having buffer lines be a multiple of 4.
No change in output
Change-Id: I7ec06e03a49554206af0a55aab03daccc411b50f
2016-11-02 22:37:35 +00:00
Yaowu Xu
4cb9a620db
Merge "De-sparsifying the deringing output buffer" into nextgenv2
2016-11-02 22:35:05 +00:00
Jean-Marc Valin
82c65fc837
De-sparsifying the deringing output buffer
...
No change in output
Change-Id: I940203975564aedca8734d6f74b013edb513f517
2016-11-02 22:35:00 +00:00
Yaowu Xu
44f3587459
Merge "No need to store the deringing filter direction variance in an array" into nextgenv2
2016-11-02 22:34:46 +00:00
Jingning Han
46003149e5
Fix a merge bug between dual_filter and sub8x8mc
...
The function module in inter_predictor() has been changed to
universally support arbitrary block size inter prediction. Hence
sub8x8mc can be a standalone experiment now.
Change-Id: Ie9d87f61fc317b1d114edb4e0bf5544f918ed08e
2016-11-02 14:57:11 -07:00
Jingning Han
d611808324
Remove redundant experimental flags from common_data.h
...
No coding statistics change.
Change-Id: I88cbb828308b5796a2e87079c2f1bf0dabd99a11
2016-11-02 14:51:23 -07:00
Jingning Han
c104b8f269
Merge "Support rectangular tx_size in the common lib" into nextgenv2
2016-11-02 21:49:41 +00:00