Dmitry Kovalev
51e0e0c0a7
Merge "Cleaning up encode_ref_frame() to match read_ref_frames()."
2014-02-28 10:51:21 -08:00
Jingning Han
bf5e9221d6
Fix potential invalid partition size use
...
For blocks at frame boundary, the selected block size sometimes needs
to be smaller than that was first given. This commit forces such block
size change only between square blocks, so as to avoid the potential
use case containing 32x16 + 16x8 + 16x8, for 1080p sequences.
Local test suggested no visible coding speed difference. Borg test
reveals no difference in terms of compression performance.
Change-Id: Ie8de87f3c6febc3acf11b4cbfdf2077f9f6def52
2014-02-28 10:50:34 -08:00
Dmitry Kovalev
3a83d08a08
Merge "Moving get_tx_eob() from common to encoder."
2014-02-28 10:49:47 -08:00
Dmitry Kovalev
0429c08823
Merge "Removing unnecessary clamp() call."
2014-02-28 10:49:35 -08:00
Dmitry Kovalev
9d0d6d1945
Merge "Explicit lossless handling in rd_pick_intra4x4block()."
2014-02-28 10:49:11 -08:00
Dmitry Kovalev
761eef0310
Merge "Replacing int_mv with MV and adding const qualifiers."
2014-02-28 10:38:42 -08:00
Dmitry Kovalev
f527c46f20
Cleaning up vp9_quantize.c.
...
Change-Id: I9a38af32f16f196b83dd69755eafb9543edf5691
2014-02-28 10:11:31 -08:00
hkuang
edcbbf2ee3
Merge "Fix a bug in neon that has not save and restore q4-q7 registers."
2014-02-28 09:48:26 -08:00
Jingning Han
24c7ee78c5
Skip some mode SAD calculation in non-RD mode
...
This commit checks if the motion vector associated with the current
mode has been computed in previous mode tests. If possible, skip the
redundant reference block generation and SAD calculation in the
non-RD mode decision process.
For test sequence pedestrian_area 1080p, the runtime goes from
24261 ms to 23770 ms. This does not change compression performance.
The speed-up is mostly around places with consistent motion.
Change-Id: I97be63c6a2d07c57be26b3c600fbda3803adddda
2014-02-28 09:44:53 -08:00
Yunqing Wang
17b1e92d6c
Merge "Enable using fast HEX search in non-rd pick mode"
2014-02-28 08:29:02 -08:00
Alex Converse
4c8d70d771
Cleanup conditions in vp9_rd_pick_inter_mode_sb().
...
Change-Id: I4e5ca10f7aef2d37fda835b369828d0bbff7c8a0
2014-02-27 19:16:50 -08:00
Alex Converse
d54b316f54
Merge "Precompute vp9_rd_pick_inter_mode_sb loop escape conditions."
2014-02-27 19:12:49 -08:00
Dmitry Kovalev
1643b2d250
Merge "Reusing existing mem_{get, put}_be32() functions."
2014-02-27 19:10:21 -08:00
Dmitry Kovalev
af62e09684
Removing VP9D_PTR.
...
Change-Id: I17276e25db4592ffeff0961dd9eeaabe4bde110c
2014-02-27 19:08:10 -08:00
Dmitry Kovalev
9004091e8c
Removing unnecessary clamp() call.
...
Change-Id: Iaaa16b4b2c581eaeb9e4ecfcfe60f98b8a0fa40b
2014-02-27 18:48:29 -08:00
Dmitry Kovalev
3b2cd9137a
Moving get_tx_eob() from common to encoder.
...
Change-Id: I7d11c6ae259aff6560710d16fea3032c661e5b02
2014-02-27 18:26:44 -08:00
Dmitry Kovalev
92a8beab1f
Cleaning up encode_ref_frame() to match read_ref_frames().
...
Change-Id: Ie9c66a93d45271e54b84bea6a38f07db6c4fd1ca
2014-02-27 18:24:16 -08:00
Dmitry Kovalev
e4e25ac965
Merge "Inlining optimize_init_b() function."
2014-02-27 18:23:18 -08:00
Dmitry Kovalev
791e9bdac9
Adding consts to arguments of vp9_block_error().
...
Change-Id: Id145da99259866109cfee8b47a1d8f309944b937
2014-02-27 18:17:08 -08:00
Dmitry Kovalev
bb65be98bb
Reusing existing mem_{get, put}_be32() functions.
...
Change-Id: Iba128039534e16a6e0a8cfe7e58306c4655e9f0d
2014-02-27 17:40:30 -08:00
Alex Converse
a70ae5d9ed
Precompute vp9_rd_pick_inter_mode_sb loop escape conditions.
...
All escape conditions that remain require knowledge of best_rd or
best_mode_index.
Change-Id: I6f77e4e629cacd54c8149ad0a98d54c8ee4ae249
2014-02-27 17:05:52 -08:00
Dmitry Kovalev
1ae91f7784
Adding get_y_mode() function.
...
Change-Id: Iaac57b24f79cd205a8c62bc1177412d22f5787a8
2014-02-27 16:05:50 -08:00
Dmitry Kovalev
6c7b5e38a9
Inlining optimize_init_b() function.
...
Change-Id: If41459f8ba186bb47d977b76e2f4bab97078462d
2014-02-27 15:48:22 -08:00
Dmitry Kovalev
4b7addcc10
Fixing include order in vp9_ratectrl.c.
...
Change-Id: Id1ec41275cc35565e522a1b2ac252ea3ec05638f
2014-02-27 15:35:38 -08:00
Dmitry Kovalev
c63e27b6d8
Cleaning up vp9_bitstream.{c, h} files.
...
Change-Id: Ida712a91694e89e318181f93afee2d0ee4f4ad94
2014-02-27 15:32:11 -08:00
hkuang
f3d8e315ac
Fix a bug in neon that has not save and restore q4-q7 registers.
...
Change-Id: Ie21b5ae89100389b80f919710839084f935a8545
2014-02-27 14:06:52 -08:00
Deb Mukherjee
746538c2c0
Merge "Turns variance based partitioning on in Speed 7"
2014-02-27 14:02:53 -08:00
Dmitry Kovalev
c57fc4f38c
Merge "Removing redefinition of ROUND_POWER_OF_TWO."
2014-02-27 13:43:31 -08:00
Dmitry Kovalev
5295c2a78c
Merge "Cleaning up vp9_xform_quant() function."
2014-02-27 13:43:09 -08:00
Deb Mukherjee
ed5755445c
Turns variance based partitioning on in Speed 7
...
Improves coding efficiency by about 1%, increases speed by
about 15-20% over exsiting speed 7.
Change-Id: Ibf5b9b5a5c8548e863ce19047c42b579aac21d19
2014-02-27 12:09:12 -08:00
Dmitry Kovalev
5a3d1a88ea
Cleaning up vp9_xform_quant() function.
...
Change-Id: Id56089107b7458aa59f345edc1b49e62eac41035
2014-02-27 12:02:09 -08:00
Jingning Han
23a82ef5e4
Remove arguments not in use in non-RD decision
...
This commit removes a few arguments that are not used in the
non-RD mode decision.
Change-Id: I0d878bb5a7dba1b34fe0b64afe55bf11b1a9a2d7
2014-02-27 12:00:24 -08:00
Dmitry Kovalev
5df43a73de
Removing redefinition of ROUND_POWER_OF_TWO.
...
Change-Id: Ic0220f6f3ecdc1c15ba3f93f3ef2b435c0f99b98
2014-02-27 11:57:00 -08:00
Yunqing Wang
e6fd071243
Enable using fast HEX search in non-rd pick mode
...
Added fast HEX search while doing non-rd partition picking to
speed up the encoder.
Borg test(speed 7) on rtc set showed 1.8% overall PSNR loss.
Encoder speedup was 5% - 15% for different rtc clips.
Change-Id: I9c83026eabc70b69fcc747c90369ec60bfa3ca24
2014-02-27 11:48:07 -08:00
Jingning Han
2c6ddcc606
Cosmetic change mbmi->ref_frame to refs
...
In handle_inter_mode, the reference frames are set in refs buffer.
One can use refs buffer directly to avoid redundant fetch.
Change-Id: I811d408cae52dcd5e053dd4bfe69550eb6a2ff56
2014-02-27 11:43:03 -08:00
Jingning Han
08053edb80
Assign motion vector invalid value in intra mode
...
In non-RD mode decision, assign motion vector INVALID_MV when intra
prediction mode is selected.
Change-Id: I8f6ec39b71e755758f0f698074a2c17d934622ea
2014-02-27 11:26:39 -08:00
Jingning Han
bac4113c42
Merge "Run sub-pixel motion search for NEWMV mode test"
2014-02-27 11:04:15 -08:00
Minghai Shang
3a8deeb8b6
Merge "[svc] Add target bitrate settings for each layers."
2014-02-27 10:51:26 -08:00
Dmitry Kovalev
f81822a568
Merge "Moving common code into vp9_get_entropy_contexts()."
2014-02-27 09:55:46 -08:00
Dmitry Kovalev
129c994f3a
Merge "Replacing int_mv with MV in single_motion_search()."
2014-02-27 09:55:18 -08:00
Dmitry Kovalev
516f228d23
Merge "Removing vp9_systemdependent.c."
2014-02-27 09:54:50 -08:00
Deb Mukherjee
01906b53f8
Merge "Refines variance based partitioning search"
2014-02-27 09:52:01 -08:00
Deb Mukherjee
90d13337da
Refines variance based partitioning search
...
Instead of using source variance, this patch uses variance of the
frame difference between the source and the current frame to make
fixed size partition decisions. Also disables adjusting partitioning
if variance based or fixed size partitioning is used.
The latter change improves the speed substantially for speed 6, so
that speed 7 is now less than 3x the speed of speed 6. But speed
6 is 48% better in psnr on the rtc set compared to speed 7.
As compared to speed 5,
speed 6 is -37% in psnr at about 2.5x the speed,
speed 7 is -55% in psnr at about 7x the speed.
Change-Id: If61d80431d3e04ed304ac05832e773cdb2c0a578
2014-02-27 09:37:15 -08:00
Yaowu Xu
962c3bbe11
Merge "vp9_encodemv.h: fix function prototype"
2014-02-27 08:56:32 -08:00
James Zern
cac037635c
vp9_encodemv.h: fix function prototype
...
mismatch was introduced here:
abe21e4 Removing redundant vp9_clear_system_state() call.
Change-Id: I66f945c1ce385dddfdefa9f517f295dbdd01d286
2014-02-26 23:53:24 -08:00
James Zern
af7d99796e
Merge "remove ioc problem with rdcost calculation"
2014-02-26 23:45:09 -08:00
Alex Converse
104d8ec034
Merge "Don't let GOLDEN_FRAME turn off LAST_FRAME as a reference when GOLDEN_FRAME is disabled."
2014-02-26 18:50:00 -08:00
Dmitry Kovalev
e4118e253a
Merge "Adding vpx_sse_to_psnr() function."
2014-02-26 18:38:26 -08:00
Dmitry Kovalev
b83b159e04
Merge "Cleaning up cost_coeffs()."
2014-02-26 18:37:21 -08:00
Dmitry Kovalev
2c594a5275
Removing vp9_systemdependent.c.
...
Change-Id: I7b9738a7113c0c4687e5d320581ff69d98a8b271
2014-02-26 18:07:23 -08:00