hkuang
437004c710
Seperate the border size for encoder and decoder.
...
Encoder's boarder is still 160, while decoder's boarder will be 32.
With on demand and separate boarder buffer for boarder extension.
The decoder's boarder does not need to to 160 anymore.
Change-Id: I93d5aaff15a33a2213e9761eaa37c5f2870747db
2014-01-21 15:28:41 -08:00
Dmitry Kovalev
c2b5a39345
Removing duplicated SAD calculation code.
...
Change-Id: I8d693371a29103769d5bed9d5f9cfe4f58ca3189
2014-01-21 14:24:37 -08:00
Yaowu Xu
dbae98082c
Enforce key frame placement
...
Change-Id: I2f85c6b058638571d68a7209779de8ca8168934f
2014-01-21 14:08:43 -08:00
Jingning Han
20cf22a128
Enforce effective motion vector search range
...
This commit explicitly enforces the effective motion vector range
in the motion search stage. The range needs to be the intersection
of UMV border, effective absolute motion vector value range, and
the target search area.
Change-Id: I1cf7c563e02b1086040dad6c1f4f6be1538635a6
2014-01-21 12:03:18 -08:00
Dmitry Kovalev
575a083bcc
Merge "Replacing macros with inline functions."
2014-01-21 10:17:29 -08:00
Jim Bankoski
3fa1356994
remove complex rd modeling.
...
The affect on quality was minimal. Less than .1%, various sets
yt ( +.15%), derf (-.1%), hd ( -.1% ), std hd(-.15%)...
The affect on speed of encode at speed -5 was substantial ( ~3% ).
Change-Id: I8903346fbae0c35f5b9ea20f81fdd239ae81247d
2014-01-21 09:59:49 -08:00
Yaowu Xu
466f42aa10
Merge "Deprecate best_mv from encoder"
2014-01-21 09:35:52 -08:00
Dmitry Kovalev
6031abeb38
Cleaning up vp9_ratectrl.c.
...
Change-Id: I3a260d3ca68db3a9352ae5409de76e56202976e5
2014-01-17 17:43:04 -08:00
Dmitry Kovalev
a001016996
Removing MODE_STATS.
...
Change-Id: I7520e1cc82b749187c9445356dd7b54f3f3826cc
2014-01-17 17:30:22 -08:00
Jingning Han
b461c0884e
Deprecate best_mv from encoder
...
This commit deprecates the use of best_mv from encoding and bit-stream
writing stages. It hence removes the definition from MACROBLOCKD.
Change-Id: I8e5302775a2aa4a18900726df407bff881f2dfb1
2014-01-17 17:15:34 -08:00
Dmitry Kovalev
2f4e6ee55d
Cleaning up vp9_picklpf.c file.
...
Change-Id: Id54f317846f61a320cc5aeef47248e074376ee5d
2014-01-17 16:09:21 -08:00
Alex Converse
7e157467dc
Merge "Fix output cropping in vp9_get_preview_raw_frame."
2014-01-17 15:49:06 -08:00
Dmitry Kovalev
c5b633975c
Merge "Removing unused vp9_yv12_copy_partial_frame() function."
2014-01-17 15:43:02 -08:00
Dmitry Kovalev
d8bfe9e24c
Cleaning up vp9_refining_search_sad() function.
...
Change-Id: I660b53da8ebf3049832ce8a10721051c4e0ebb00
2014-01-17 15:20:28 -08:00
Alex Converse
9c19953763
Fix output cropping in vp9_get_preview_raw_frame.
...
Handle the non-420 case and set uv_width.
This is needed to get the correct colorspace information out of
vp9e_get_preview().
Change-Id: I62ce118cd7082708d812deb0843c1be87582e0fe
2014-01-17 14:03:42 -08:00
Dmitry Kovalev
50ca3c8324
Merge "Cleaning up vp9_refining_search_8p_c() function."
2014-01-17 12:36:00 -08:00
Jingning Han
d100fb6139
Merge "Rename pick_sb_modes to rd_pick_sb_modes"
2014-01-17 10:58:26 -08:00
Alex Converse
2bfafefb34
Merge "Fix key frames for one pass."
2014-01-17 10:22:59 -08:00
Dmitry Kovalev
ac40c87f68
Removing unused vp9_yv12_copy_partial_frame() function.
...
Change-Id: I3149e562fe9500914f67b6f908283edcdc381ac6
2014-01-16 18:16:34 -08:00
Jingning Han
98b01c038f
Rename pick_sb_modes to rd_pick_sb_modes
...
Keep naming consistency for RD and non-RD mode decision functions,
respectively.
Change-Id: I904282b675fc511a46c13cb1f8287aa5d1c8ac94
2014-01-16 18:05:42 -08:00
Dmitry Kovalev
67246764a2
Replacing macros with inline functions.
...
Change-Id: Ibde8fb45594cd259fc3281d7874de8fc877fd4f2
2014-01-16 18:00:44 -08:00
Dmitry Kovalev
55d0230221
Cleaning up vp9_refining_search_8p_c() function.
...
Change-Id: Icf3b3dd96d7e133a4ad7260cd95288f6217998a6
2014-01-16 16:05:36 -08:00
Jingning Han
013eba8ee8
Merge "Inter-frame non-RD mode decision"
2014-01-16 14:04:51 -08:00
Alex Converse
2b3891d9da
Fix key frames for one pass.
...
Set this_key_frame_forced flag and don't use kf_boost when not set.
Change-Id: Ibe66a82fa9219e60db358ddeb43d6471816c8b50
2014-01-16 13:04:51 -08:00
Jingning Han
2f52decd22
Inter-frame non-RD mode decision
...
This commit setups a test framework for real-time coding. It enables
a light motion search for non-RD mode decision purpose.
Change-Id: I8bec656331539e963c2b685a70e43e0ae32a6e9d
2014-01-16 12:35:04 -08:00
Adrian Grange
6cd6349896
Merge "Fix printf formatting"
2014-01-16 11:02:55 -08:00
Jim Bankoski
a5cb1b1ad5
Merge "don't dummy pack if we won't recode"
2014-01-16 08:21:03 -08:00
Dmitry Kovalev
8f0d213494
Merge "Cleaning up reatectrl.c file."
2014-01-15 16:26:09 -08:00
Dmitry Kovalev
a86a5b17e5
Replacing cpi->twopass with twopass.
...
Change-Id: I733a84ec178439ead66e031395d9a8e49e8f4d1a
2014-01-15 16:21:38 -08:00
Dmitry Kovalev
c37d54a93e
Merge "Replacing cpi->rc with rc."
2014-01-15 16:04:05 -08:00
Jim Bankoski
3977e64fc7
don't dummy pack if we won't recode
...
Avoid packing the bitstream 2 times unless we need to. For me this
at speed -5 was a 2% speed up.
Change-Id: I32205c98f55eedd4ff031ed5fb498c84bdaa855d
2014-01-15 15:30:13 -08:00
Yaowu Xu
293532f314
Merge "Add max burst bitrate control."
2014-01-15 14:40:59 -08:00
Dmitry Kovalev
d39485a776
Merge "calculate_modified_err() cleanup."
2014-01-15 12:56:32 -08:00
Dmitry Kovalev
b7465b3efb
Replacing cpi->rc with rc.
...
Change-Id: I0fbb7615545861e26ebffe72bd44f3a0e8616df7
2014-01-15 12:46:18 -08:00
Dmitry Kovalev
8b5133fc4c
Merge "Removing unused calc_partial_ssl_err() function."
2014-01-15 12:24:06 -08:00
Dmitry Kovalev
efdbd29928
calculate_modified_err() cleanup.
...
Change-Id: Ia24c9b1ff2d51dd9cb133722a041a615e1b8419f
2014-01-15 12:23:16 -08:00
Jim Bankoski
ae5b96d355
Merge "As you go mbmi->skip_coeff"
2014-01-15 12:20:14 -08:00
Dmitry Kovalev
a26899ada5
Merge "Removing intra_mode_stats."
2014-01-15 12:16:50 -08:00
Jim Bankoski
9adcc4d681
Merge "Save ~30% off tokenize_b"
2014-01-15 10:59:49 -08:00
Adrian Grange
7a203301b7
Fix printf formatting
...
Change-Id: I37c5d6f4a0f09d48d3ee31eecdb68dfa11d30bd3
2014-01-15 09:58:01 -08:00
Dmitry Kovalev
69b684279c
Merge "Cleaning up vp9_rdopt.c."
2014-01-15 00:00:33 -08:00
Dmitry Kovalev
0f008fbd2e
Cleaning up first_pass_motion_search() function.
...
Change-Id: I4826a71c7f99db09e5362b16703d024939587f25
2014-01-14 18:07:23 -08:00
Jim Bankoski
73cd22f8d4
As you go mbmi->skip_coeff
...
Calculate the skip_coeff as part of the encode process, rather than
checking the eobs after the fact with another pass.
Change-Id: Ib41b139e96a97dee30e4b993b4cc53d86337128d
2014-01-14 17:58:25 -08:00
Dmitry Kovalev
433e5ea0e8
Fixing invalid block width/height calculation.
...
Change-Id: Ieaeb53902ce0ffd5b1b27a92583e98abfa791433
2014-01-14 17:53:32 -08:00
Dmitry Kovalev
70fe826d26
Cleaning up vp9_rdopt.c.
...
Change-Id: I5200bf68b43578eaadc4ea47b37f2633fa96d7bd
2014-01-14 17:46:14 -08:00
Jim Bankoski
da94b9be81
Save ~30% off tokenize_b
...
Refactoring for speed in the same vein as detokenize_b...
Change-Id: I90779aa46e3b13c22ddce9a42b60e1920ad97142
2014-01-14 15:19:43 -08:00
Dmitry Kovalev
f13b3d1e08
Merge "Making motion search code more compact."
2014-01-14 15:12:43 -08:00
Dmitry Kovalev
382470db42
Merge "Removing unnecessary casts + cleanup."
2014-01-14 14:47:48 -08:00
Dmitry Kovalev
970e945795
Merge changes I8eda5762,Ia2ffca07
...
* changes:
Removing unused switchable_interp_count[] field from VP9_COMP.
Using clamp() function instead of the same raw code.
2014-01-14 14:46:07 -08:00
Dmitry Kovalev
b53113c3ca
Merge "Removing unused error_bins[] field from VP9_COMP."
2014-01-14 14:45:17 -08:00