Yaowu Xu
2a03d0d22b
change to save rdmult value correctly
...
This commit moves the position where rdmult is saved to make sure it
is the correct value. Prior, an uninitialized value may be saved and
restored.
This addresses issue:
https://code.google.com/p/webm/issues/detail?id=733
Change-Id: I436407f289169bc63da3c5a6bf609bed16cb71b5
2014-03-14 11:18:27 -07:00
Jingning Han
5806e70ee3
Merge "Remove deprecated function nonrd_use_fixed_partition"
2014-03-14 09:06:11 -07:00
Jingning Han
0428f349d4
Merge "Remove unused comment"
2014-03-14 09:06:03 -07:00
Jingning Han
6be7120ecf
Merge "Refactor the non-RD partition decision process"
2014-03-14 09:05:54 -07:00
Jingning Han
47460af1aa
Merge "Unify non-RD partition use cases"
2014-03-14 09:05:41 -07:00
Jingning Han
a66b68c7b2
Merge "Return rate and distortion cost values from non-RD mode decision"
2014-03-14 09:05:32 -07:00
Paul Wilkins
0fa768704b
Use of inline instead of INLINE.
...
This causes a build failure in VS 2008.
Change-Id: I03b0c0c006589b56d92a238d7b794711eb62575e
2014-03-14 11:36:06 +00:00
Dmitry Kovalev
7c6337ba9e
Merge "Adding vp9_swap_mi_and_prev_mi() function."
2014-03-13 17:47:27 -07:00
Jingning Han
9efe0b25c5
Remove deprecated function nonrd_use_fixed_partition
...
This function was subsumed by nonrd_use_partition, hence removed.
Change-Id: Id36757bc600ce6cf6ca03ad5df80268c4786d386
2014-03-13 16:15:14 -07:00
Jingning Han
73df20e97d
Remove unused comment
...
Change-Id: I12ce22c036b12073a45b762d4dd38f6ec4960e56
2014-03-13 16:04:16 -07:00
Jingning Han
0d39429914
Refactor the non-RD partition decision process
...
Combine the common variables and functions used by different
speed features.
Change-Id: Ifd1fa86200edbcc9e50b3fc3b1ba8a275bc3c17f
2014-03-13 15:53:40 -07:00
Jingning Han
3d6286c73d
Unify non-RD partition use cases
...
This commit unifies the non-RD partition use cases for both fixed
and variable block sizes. Deprecate and remove the separate function
for fixed partition type only.
Change-Id: I2b6cb945e90c1566f985adcebc4d0757480a8004
2014-03-13 15:41:15 -07:00
Marco Paniconi
07fbd70e38
Merge "Move svc layer_context to separate file."
2014-03-13 14:49:15 -07:00
Marco Paniconi
78664081d1
Move svc layer_context to separate file.
...
Change-Id: Ie47c139d48cb18409d71f98f6a5b9eeb9f9437a9
2014-03-13 14:39:45 -07:00
Dmitry Kovalev
e65c564c78
Adding vp9_swap_mi_and_prev_mi() function.
...
Change-Id: I18b3939f0b51085cdd25c9182c3a9c7536ca7e3e
2014-03-13 13:55:33 -07:00
Dmitry Kovalev
069e2458a6
Merge "Removing unused select_cq_level() function."
2014-03-13 13:45:45 -07:00
Jingning Han
ca0625ff31
Return rate and distortion cost values from non-RD mode decision
...
This commit allows the non-RD mode decision process to return the
rate and distortion costs associated with the selected mode.
Change-Id: Ibe0f67d323f65839fd9cb0a726c1219bf7b55da9
2014-03-13 12:52:59 -07:00
Jingning Han
1ff4a5b3a2
Merge "Tune rate-distortion modeling for non-RD mode decision"
2014-03-13 09:14:13 -07:00
Jingning Han
b25e4061e8
Merge "Explicitly assign interp_kernel value in non-RD coding mode"
2014-03-13 09:14:00 -07:00
Deb Mukherjee
954dbb282b
Merge "Preliminary code for variance based paritioning"
2014-03-13 04:09:13 -07:00
Dmitry Kovalev
06b7b575c1
Moving declaration of vp9_encode_frame() to vp9_encodeframe.h.
...
Change-Id: I14adfd32622152abdc22c16429db38f6724628a4
2014-03-12 17:29:37 -07:00
Deb Mukherjee
e39ecfaa98
Preliminary code for variance based paritioning
...
Brings back most of Jim's previous patch for choosing
partitioning based on variance while making it compatible
with the current state of the code. Also adds a
nonrd_use_partition() function to recursively encode for any
arbitrary sb_type decisions within a 64x64 block; and
includes some refactoring.
Currently, when the VAR_BASED_PARTITIONING mode is turned on
for speed 7, there is a 10+% speed-up observed.
Experiments/improvements with this new partitioning method
will be conducted subsequently.
Change-Id: Ie6f43bfbde30583e941f450bf07c3b48828c9571
2014-03-12 15:06:20 -07:00
Jingning Han
7686c950b5
Tune rate-distortion modeling for non-RD mode decision
...
This commit adjusts the rate-distortion modeling for non-RD mode
decision. It puts more weights on energy from AC coefficients when
estimating the cost. The coding performance for rtc testset is
improved by 0.72%.
Change-Id: Ifa6ff11311a513ec2b10586589e82a9a21f6c61c
2014-03-12 14:31:59 -07:00
Jingning Han
4e9b0d6cef
Explicitly assign interp_kernel value in non-RD coding mode
...
Assign interp_kernel value in MACROBLOCKD. This will be used to
select prediction filter coefficient sets and generate motion
compensated prediction.
Change-Id: I28c8dfb2dae6566f6939bb328aca5875c94bee65
2014-03-12 14:30:54 -07:00
Dmitry Kovalev
fec0d4bc7d
Merge "Removing last_mi from MACROBLOCKD struct."
2014-03-12 12:19:43 -07:00
Dmitry Kovalev
c1486f0efa
Merge "Removing unused last_skip_{probs_q, false_probs} arrays."
2014-03-12 10:33:36 -07:00
Jim Bankoski
0ce2d6577c
Merge "cut down calls to get_block_context"
2014-03-12 10:30:20 -07:00
Dmitry Kovalev
4435c1e240
Merge "Cleaning up vp9_firstpass.c."
2014-03-12 00:21:06 -07:00
Dmitry Kovalev
189b4315ca
Removing unused last_skip_{probs_q, false_probs} arrays.
...
Change-Id: Id84a43583af57889e87462ce8b76e5a552f44826
2014-03-12 00:20:25 -07:00
Yaowu Xu
1a935e69ea
Merge "Increase redo_frequency to 4 and cleanups"
2014-03-11 20:13:35 -07:00
Yaowu Xu
6f5a1e033f
Increase redo_frequency to 4 and cleanups
...
Clean-ups include
a. redundant code in rt -5 speed feature settings
b. code that guarantees square block availability in
rd_auto_partition_range()
Change-Id: Ic7b04d45b6dc15c461e0edbbb4e78aec20348291
2014-03-11 17:33:24 -07:00
Alex Converse
59853f8fdf
Fix some active_map corner cases.
...
These were discovered by ActiveMapTest.
Change-Id: Ifcd305ae2d954b6ec7edcaed0f80baf18c769e01
2014-03-11 16:39:42 -07:00
Alex Converse
75272c97cb
Merge "Add a conservative RD based active map in vp9."
2014-03-11 13:39:33 -07:00
Jim Bankoski
8bdc1f25e5
cut down calls to get_block_context
...
Change-Id: I894977e6655630823145c60c8258551bd3c8c76b
2014-03-11 11:18:43 -07:00
Dmitry Kovalev
1f08824d6d
Merge "Using enums instead of integers."
2014-03-10 20:50:58 -07:00
Dmitry Kovalev
e3e1b49331
Merge "Moving static_scene_max_gf_interval to RATE_CONTROL struct."
2014-03-10 20:50:09 -07:00
Dmitry Kovalev
a0ed5541e6
Merge "Using MAX_REF_FRAMES constant instead of number 4."
2014-03-10 20:49:31 -07:00
Jingning Han
486db59cb1
Merge "Fix use of uninitialized bsize in non-RD mode"
2014-03-10 19:03:09 -07:00
Dmitry Kovalev
2b9c581393
Using MAX_REF_FRAMES constant instead of number 4.
...
Change-Id: I6e2fec2814fd366a1ce1321208d3b0e8aa0d98b0
2014-03-10 18:50:28 -07:00
Dmitry Kovalev
b2c34d5539
Using enums instead of integers.
...
Change-Id: Ic0d74ab3a4c0c854fbcf59d9df5212c218bc68f9
2014-03-10 18:33:08 -07:00
Dmitry Kovalev
c2d7f5e3c5
Cleaning up vp9_firstpass.c.
...
Change-Id: Ie68eefddf9b0120021668cf21dc2c6fc837c50ac
2014-03-10 18:03:05 -07:00
Dmitry Kovalev
d6b8709eb0
Moving static_scene_max_gf_interval to RATE_CONTROL struct.
...
Change-Id: Id63e114a8f0615dbafd6a816019cdebffb983d2c
2014-03-10 17:29:15 -07:00
Dmitry Kovalev
d548de69cb
Removing unused select_cq_level() function.
...
Change-Id: I612a5d2b3ab1f9202d5b0421a82a80849603c40d
2014-03-10 16:24:38 -07:00
Dmitry Kovalev
ff935ff781
Removing last_mi from MACROBLOCKD struct.
...
Change-Id: Ied12b39c55667b26fd3bf90eb331e601c53a10f6
2014-03-10 16:02:03 -07:00
Jingning Han
29af074fb5
Fix use of uninitialized bsize in non-RD mode
...
The block size used for non-RD mode decision in FIXED_PARTITION
setting was uninitialized. This commit fixes it by setting block
size to be BLOCK_16X16.
Change-Id: Ief04c9f1ab668de69297d9ab3dc15e2fa0bc4e95
2014-03-10 15:50:13 -07:00
Alex Converse
29a487c77f
Add a conservative RD based active map in vp9.
...
Change-Id: I47b3c38aadfd8f3ea08515a18a5948aa1375c650
2014-03-10 15:48:43 -07:00
Dmitry Kovalev
bbfa9f6959
Cleaning up vp9_rdopt.c.
...
Change-Id: I8f06d03689ee90a19c9067840b24748bfe2d741f
2014-03-10 15:21:30 -07:00
Dmitry Kovalev
29beeff11d
Merge "Cleaning up select_tx_mode() function."
2014-03-10 12:29:28 -07:00
Dmitry Kovalev
cb13d0f3e4
Merge "Cleaning up rd_pick_sb_modes() function."
2014-03-10 12:07:26 -07:00
Dmitry Kovalev
d8c9288465
Cleaning up select_tx_mode() function.
...
Change-Id: Ib105db0f3deeedf6a8402a292db3df1d77a3d7c1
2014-03-10 11:35:40 -07:00