hkuang [Fri, 14 Mar 2014 22:31:49 +0000 (15:31 -0700)]
Fix the md5 mismatch for some scale cases.
Fixes issue #731
Change-Id: Id313e84b8fb4ff20f6a4e1ed11cb601927888318
Jingning Han [Thu, 13 Mar 2014 16:14:13 +0000 (09:14 -0700)]
Merge "Tune rate-distortion modeling for non-RD mode decision"
Jingning Han [Thu, 13 Mar 2014 16:14:00 +0000 (09:14 -0700)]
Merge "Explicitly assign interp_kernel value in non-RD coding mode"
Jim Bankoski [Thu, 13 Mar 2014 13:08:29 +0000 (06:08 -0700)]
Merge "datarate_test renaming with suffix large because it is slow."
Deb Mukherjee [Thu, 13 Mar 2014 11:09:13 +0000 (04:09 -0700)]
Merge "Preliminary code for variance based paritioning"
Dmitry Kovalev [Thu, 13 Mar 2014 06:30:14 +0000 (23:30 -0700)]
Merge "Renaming vp8_cfg to extra_cfg + cleanup."
Dmitry Kovalev [Thu, 13 Mar 2014 06:29:29 +0000 (23:29 -0700)]
Merge "Renaming mode2txfm_map to intra_mode_to_tx_type_lookup."
Dmitry Kovalev [Thu, 13 Mar 2014 06:29:19 +0000 (23:29 -0700)]
Merge "Moving declaration of vp9_encode_frame() to vp9_encodeframe.h."
Yaowu Xu [Thu, 13 Mar 2014 02:36:48 +0000 (19:36 -0700)]
Revert "With on demand border extension, clamping the MV"
This reverts commit
b0fec6ab4a61ded1ab2ade188987631f53c4e9c1.
Change-Id: I9acd8ee0423f22d92138f11579611ff959331013
Yaowu Xu [Thu, 13 Mar 2014 02:36:40 +0000 (19:36 -0700)]
Revert "Remove dec_build_inter_predictors() parameters"
This reverts commit
9650b9d72aa236e76c54b4f0acebd6bf1d6bbe48.
Change-Id: I841c4a4734170fda63469e32adc10703aa4bf0fa
Dmitry Kovalev [Thu, 13 Mar 2014 00:29:37 +0000 (17:29 -0700)]
Moving declaration of vp9_encode_frame() to vp9_encodeframe.h.
Change-Id: I14adfd32622152abdc22c16429db38f6724628a4
Dmitry Kovalev [Thu, 13 Mar 2014 00:23:26 +0000 (17:23 -0700)]
Renaming mode2txfm_map to intra_mode_to_tx_type_lookup.
Change-Id: I9a19eb96907f674e3ce1e573f5dd49f0fbf2ae4f
Jim Bankoski [Thu, 13 Mar 2014 00:20:16 +0000 (17:20 -0700)]
datarate_test renaming with suffix large because it is slow.
Change-Id: I5cdff078159a379bc48f1d8e249e144c6d27c946
Dmitry Kovalev [Wed, 12 Mar 2014 22:49:49 +0000 (15:49 -0700)]
Renaming vp8_cfg to extra_cfg + cleanup.
Change-Id: I9a67dec9c198ce1dca90c086be55ad050c5c6f6c
Deb Mukherjee [Tue, 4 Mar 2014 19:15:35 +0000 (11:15 -0800)]
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
Alex Converse [Wed, 12 Mar 2014 21:51:42 +0000 (14:51 -0700)]
Add missing virtual destructors to tests.
Change-Id: I916b1e646d9fe142d3483039eb6cc72464529832
Alex Converse [Wed, 12 Mar 2014 21:35:19 +0000 (14:35 -0700)]
Merge "Add an active map test."
Alex Converse [Tue, 11 Mar 2014 23:40:57 +0000 (16:40 -0700)]
Add an active map test.
Change-Id: I641a75dd75cd3c53a20eb4dbceb7a9b70a5a0e4d
Jingning Han [Wed, 12 Mar 2014 17:03:28 +0000 (10:03 -0700)]
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
Jingning Han [Wed, 12 Mar 2014 16:26:20 +0000 (09:26 -0700)]
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
Dmitry Kovalev [Wed, 12 Mar 2014 19:20:18 +0000 (12:20 -0700)]
Merge "Moving mi_streams from VP9Decompressor to VP9Common."
Dmitry Kovalev [Wed, 12 Mar 2014 19:19:43 +0000 (12:19 -0700)]
Merge "Removing last_mi from MACROBLOCKD struct."
Tom Finegan [Wed, 12 Mar 2014 18:29:35 +0000 (11:29 -0700)]
Merge "gen_msvs_vcxproj.sh: add --enable-werror option"
Dmitry Kovalev [Wed, 12 Mar 2014 17:33:36 +0000 (10:33 -0700)]
Merge "Removing unused last_skip_{probs_q, false_probs} arrays."
Jim Bankoski [Wed, 12 Mar 2014 17:30:20 +0000 (10:30 -0700)]
Merge "cut down calls to get_block_context"
Dmitry Kovalev [Wed, 12 Mar 2014 07:22:34 +0000 (00:22 -0700)]
Merge "Adding type casts to remove C++ compiler errors."
Dmitry Kovalev [Wed, 12 Mar 2014 07:21:06 +0000 (00:21 -0700)]
Merge "Cleaning up vp9_firstpass.c."
Dmitry Kovalev [Tue, 11 Mar 2014 01:49:13 +0000 (18:49 -0700)]
Removing unused last_skip_{probs_q, false_probs} arrays.
Change-Id: Id84a43583af57889e87462ce8b76e5a552f44826
Yaowu Xu [Wed, 12 Mar 2014 03:13:35 +0000 (20:13 -0700)]
Merge "Increase redo_frequency to 4 and cleanups"
Yaowu Xu [Tue, 11 Mar 2014 18:13:38 +0000 (11:13 -0700)]
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
Alex Converse [Tue, 11 Mar 2014 23:39:42 +0000 (16:39 -0700)]
Fix some active_map corner cases.
These were discovered by ActiveMapTest.
Change-Id: Ifcd305ae2d954b6ec7edcaed0f80baf18c769e01
Alex Converse [Tue, 11 Mar 2014 20:39:33 +0000 (13:39 -0700)]
Merge "Add a conservative RD based active map in vp9."
Jim Bankoski [Tue, 11 Mar 2014 18:18:43 +0000 (11:18 -0700)]
cut down calls to get_block_context
Change-Id: I894977e6655630823145c60c8258551bd3c8c76b
Alex Converse [Mon, 10 Mar 2014 23:13:49 +0000 (16:13 -0700)]
Add VP9 support to the set maps example.
Change-Id: I8c3be3ed4d6bbc5fa3042a2d5637407d4d56afee
Alex Converse [Mon, 10 Mar 2014 23:08:58 +0000 (16:08 -0700)]
Make vp8_set_maps more flexible.
Change-Id: I754a5c5e342cfa7c52c1a75424f18aea8b7657d2
Dmitry Kovalev [Tue, 11 Mar 2014 03:50:58 +0000 (20:50 -0700)]
Merge "Using enums instead of integers."
Dmitry Kovalev [Tue, 11 Mar 2014 03:50:09 +0000 (20:50 -0700)]
Merge "Moving static_scene_max_gf_interval to RATE_CONTROL struct."
Dmitry Kovalev [Tue, 11 Mar 2014 03:49:31 +0000 (20:49 -0700)]
Merge "Using MAX_REF_FRAMES constant instead of number 4."
Jingning Han [Tue, 11 Mar 2014 02:03:09 +0000 (19:03 -0700)]
Merge "Fix use of uninitialized bsize in non-RD mode"
Dmitry Kovalev [Tue, 11 Mar 2014 01:47:41 +0000 (18:47 -0700)]
Using MAX_REF_FRAMES constant instead of number 4.
Change-Id: I6e2fec2814fd366a1ce1321208d3b0e8aa0d98b0
Dmitry Kovalev [Tue, 11 Mar 2014 01:33:08 +0000 (18:33 -0700)]
Using enums instead of integers.
Change-Id: Ic0d74ab3a4c0c854fbcf59d9df5212c218bc68f9
Dmitry Kovalev [Tue, 11 Mar 2014 01:03:05 +0000 (18:03 -0700)]
Cleaning up vp9_firstpass.c.
Change-Id: Ie68eefddf9b0120021668cf21dc2c6fc837c50ac
Dmitry Kovalev [Tue, 11 Mar 2014 00:29:15 +0000 (17:29 -0700)]
Moving static_scene_max_gf_interval to RATE_CONTROL struct.
Change-Id: Id63e114a8f0615dbafd6a816019cdebffb983d2c
Dmitry Kovalev [Mon, 10 Mar 2014 23:12:45 +0000 (16:12 -0700)]
Moving mi_streams from VP9Decompressor to VP9Common.
Change-Id: I7ad79c061ad4efbc4914ac49723b48183fdbdd47
Dmitry Kovalev [Mon, 10 Mar 2014 23:02:03 +0000 (16:02 -0700)]
Removing last_mi from MACROBLOCKD struct.
Change-Id: Ied12b39c55667b26fd3bf90eb331e601c53a10f6
Jingning Han [Wed, 5 Mar 2014 02:46:40 +0000 (18:46 -0800)]
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
Alex Converse [Sat, 8 Mar 2014 02:15:33 +0000 (18:15 -0800)]
Add a conservative RD based active map in vp9.
Change-Id: I47b3c38aadfd8f3ea08515a18a5948aa1375c650
Dmitry Kovalev [Mon, 10 Mar 2014 22:21:30 +0000 (15:21 -0700)]
Cleaning up vp9_rdopt.c.
Change-Id: I8f06d03689ee90a19c9067840b24748bfe2d741f
Dmitry Kovalev [Mon, 10 Mar 2014 21:53:30 +0000 (14:53 -0700)]
Adding type casts to remove C++ compiler errors.
Change-Id: I224e49955ad6c833d204feb8efc4056e37d206be
Dmitry Kovalev [Mon, 10 Mar 2014 19:29:28 +0000 (12:29 -0700)]
Merge "Cleaning up select_tx_mode() function."
James Zern [Mon, 10 Mar 2014 19:19:38 +0000 (12:19 -0700)]
Merge "Disable sixtap_predict_test for neon."
Dmitry Kovalev [Mon, 10 Mar 2014 19:11:09 +0000 (12:11 -0700)]
Merge "Renaming vp9_onyxd.h and vp9_onyxd_if.c to vp9_decoder.{h, c}."
Dmitry Kovalev [Mon, 10 Mar 2014 19:07:26 +0000 (12:07 -0700)]
Merge "Cleaning up rd_pick_sb_modes() function."
Dmitry Kovalev [Mon, 10 Mar 2014 17:38:25 +0000 (10:38 -0700)]
Cleaning up select_tx_mode() function.
Change-Id: Ib105db0f3deeedf6a8402a292db3df1d77a3d7c1
Dmitry Kovalev [Mon, 10 Mar 2014 17:58:32 +0000 (10:58 -0700)]
Cleaning up rd_pick_sb_modes() function.
Changing aq_mode type from int to AQ_MODE enum.
Change-Id: Ib7b5f0b70d02ded58a31dfade9c05a347f73beca
Dmitry Kovalev [Mon, 10 Mar 2014 17:50:16 +0000 (10:50 -0700)]
Adding reusable get_y_mode_prob() function.
Change-Id: Iebd182d7aeebc0f8964b6fd35057449bb25b00c1
Dmitry Kovalev [Mon, 10 Mar 2014 17:43:47 +0000 (10:43 -0700)]
Merge "General cleanup in vp9_encodeframe.c."
Dmitry Kovalev [Mon, 10 Mar 2014 17:40:44 +0000 (10:40 -0700)]
Merge "Cleaning up optimize_b() function."
Marco Paniconi [Mon, 10 Mar 2014 17:05:27 +0000 (10:05 -0700)]
Merge "Add realtime-mode to datarate tests."
hkuang [Fri, 7 Mar 2014 19:21:28 +0000 (11:21 -0800)]
Disable sixtap_predict_test for neon.
Neon code unit test is failing now due to save/restore neon register
operations are not done inside this function, but outside of it. Disable
it now until VP8 neon code get cleaned up.
Bug: 725
Change-Id: Id1ff1ef50a0e894b41c820a310ff8ba31ef12d18
Deb Mukherjee [Mon, 10 Mar 2014 16:53:21 +0000 (09:53 -0700)]
Merge "Support for a fast diamond search"
Jim Bankoski [Mon, 10 Mar 2014 14:36:24 +0000 (07:36 -0700)]
Merge "vp9_read_bit_buffer.h convert header statics to global functions"
Jim Bankoski [Mon, 10 Mar 2014 14:36:05 +0000 (07:36 -0700)]
Merge "vp9_reconinter.h static functions in header converted to global"
Jim Bankoski [Mon, 10 Mar 2014 14:35:54 +0000 (07:35 -0700)]
Merge "vp9_onyxc_int.h static -> static inline in header"
Dmitry Kovalev [Sun, 9 Mar 2014 17:26:39 +0000 (10:26 -0700)]
Merge "Cleaning up vp9_get_mvpred_var()."
Dmitry Kovalev [Sun, 9 Mar 2014 17:25:48 +0000 (10:25 -0700)]
Merge "Adding const to FIRSTPASS_STATS pointers."
James Zern [Sat, 8 Mar 2014 20:52:33 +0000 (12:52 -0800)]
gen_msvs_vcxproj.sh: add --enable-werror option
translates to TreatWarningAsError (/WX)
setting this via the CL environment variable is not possible due to the
/WX- default which is used on the command line
Change-Id: I0b42a9d3ca9eba6af82c25b8e434baa2fcb00156
Dmitry Kovalev [Sat, 8 Mar 2014 18:57:14 +0000 (10:57 -0800)]
Merge "Cleaning up pack_inter_mode_mvs() function."
Jingning Han [Sat, 8 Mar 2014 15:57:17 +0000 (07:57 -0800)]
Merge "Skip mode check when mv has been tested"
Jingning Han [Sat, 8 Mar 2014 15:57:11 +0000 (07:57 -0800)]
Merge "Clearn up model_rd in non-RD coding mode"
Deb Mukherjee [Sat, 8 Mar 2014 01:15:09 +0000 (17:15 -0800)]
Support for a fast diamond search
Adds a fast diamond search which is about 5% faster than FAST_HEX
with only a 0.1% drop in psnr when turned on for both speeds 5 and 7.
This search is turned on for speed 7.
Change-Id: I497630aa88a5148926086bb3038e7975e5f4eb98
Dmitry Kovalev [Sat, 8 Mar 2014 00:00:23 +0000 (16:00 -0800)]
Cleaning up pack_inter_mode_mvs() function.
Change-Id: Ia60352c7173b59f3f08920ba86096864d4e8250b
Dmitry Kovalev [Fri, 7 Mar 2014 23:38:39 +0000 (15:38 -0800)]
Merge "Removing unused active_section global variable."
James Zern [Fri, 7 Mar 2014 23:03:50 +0000 (15:03 -0800)]
Merge "Disable the neon version vpx_yv12_copy_y. For some dimensions, neon code ends up in a dead loop inside. This will fix the unit test failure in svc_test on ARM."
Jingning Han [Fri, 7 Mar 2014 22:06:20 +0000 (14:06 -0800)]
Skip mode check when mv has been tested
This commit allows the non-RD mode decision to skip mode RD modelling
check, if the motion vector associated with the current mode is
same as that of NEARESTMV mode. This makes speed -7 about 2% faster.
Previous change that converts cost metric from SAD to model based RD
value makes the codec 6% slower at speed -7.
Change-Id: I30cfec5452f606a671b8432a2f7f0c94fbb49fc8
Dmitry Kovalev [Tue, 4 Mar 2014 00:16:28 +0000 (16:16 -0800)]
Removing unused active_section global variable.
Change-Id: Ib8c41829a4b5a618b6bda24d9b7df2d491d0fca0
Minghai Shang [Fri, 7 Mar 2014 22:02:35 +0000 (14:02 -0800)]
Merge "[svc] 1. Add two pass RC options in vp9_spatial_scalable_encoder. 2. Add read/write for RC stats file The two pass RC for svc does not work yet. This is just the first step. We need further development to make it working. Change-Id: I8ef0e177dff0b5ed3c97a916beea5123717cc6f2"
hkuang [Fri, 7 Mar 2014 18:21:25 +0000 (10:21 -0800)]
Disable the neon version vpx_yv12_copy_y.
For some dimensions, neon code ends up in a dead loop inside.
This will fix the unit test failure in svc_test on ARM.
Change-Id: Ie6098bfaefd86bcf3616a3d0c2c3ff0b154222b5
Dmitry Kovalev [Fri, 7 Mar 2014 18:56:20 +0000 (10:56 -0800)]
General cleanup in vp9_encodeframe.c.
Change-Id: I446fca8aa11a4d4fc2b23d4b32348b74d74d0202
Jingning Han [Fri, 7 Mar 2014 18:34:34 +0000 (10:34 -0800)]
Clearn up model_rd in non-RD coding mode
The rate-distortion model in non-RD coding mode is only applied to
luma component. This commit removed a few redundant addition steps.
Change-Id: Id8edc0a47c2dbef8deba43debe2c95db39454de3
Marco Paniconi [Fri, 7 Mar 2014 02:34:48 +0000 (18:34 -0800)]
Add realtime-mode to datarate tests.
Change-Id: Ib7ef6afbc80a38b134522bff283c01fadbec874b
Jingning Han [Fri, 7 Mar 2014 17:06:24 +0000 (09:06 -0800)]
Merge "Use modeled rate distortion costs for non-RD mode"
Jingning Han [Fri, 7 Mar 2014 02:56:50 +0000 (18:56 -0800)]
Use modeled rate distortion costs for non-RD mode
This commit replaces SAD cost with modeled rate-distortion cost
for non-RD mode decision. It translates the prediction residual
SSE into estimate rate and reconstruction distorion costs, hence
capturing the quantization setting effect. The compression
performance of speed -7 for rtc set is improved by 14.79%.
Change-Id: Ifda014eb0501d13109fe7f92680bf1410b463632
James Zern [Fri, 7 Mar 2014 05:12:47 +0000 (21:12 -0800)]
vp8cx_set_ref: fix variable assignment
assign vpx_ref_frame_t members explicitly avoiding incompatibility in
visual studio builds
Change-Id: I22df4c5ebb772d65b4d72f22949fbde53543d7ec
James Zern [Fri, 7 Mar 2014 04:28:01 +0000 (20:28 -0800)]
Merge "Avoid unknown warning warnings and fix -Werror on macosx."
James Zern [Fri, 7 Mar 2014 04:23:58 +0000 (20:23 -0800)]
Merge "configure.sh: quote local variables"
Dmitry Kovalev [Fri, 7 Mar 2014 02:58:17 +0000 (18:58 -0800)]
Adding const to FIRSTPASS_STATS pointers.
Change-Id: Ia94d757de1d1b24609128cd40e68558078f50a38
Yaowu Xu [Fri, 7 Mar 2014 01:48:38 +0000 (17:48 -0800)]
Merge "cpu_speed_test - now test one pass and more speeds"
Dmitry Kovalev [Fri, 7 Mar 2014 00:27:15 +0000 (16:27 -0800)]
Cleaning up vp9_get_mvpred_var().
Change-Id: Ic535f0a1c2501c1af143237af3b2b51b4b4980f4
Marco Paniconi [Fri, 7 Mar 2014 00:24:28 +0000 (16:24 -0800)]
Merge "Add speeed 5 to datarate test."
James Zern [Thu, 6 Mar 2014 23:58:37 +0000 (15:58 -0800)]
configure.sh: quote local variables
fixes issue #711
specifying a multiword CC, e.g., CC='gcc -m32', would cause the failure
under dash
reported in
https://bugs.gentoo.org/show_bug.cgi?id=498136
patch by floppymaster at gmail dot com
Change-Id: I2ba246f765646161538622739961ec0f6c2d8c2d
Tom Finegan [Thu, 6 Mar 2014 22:54:49 +0000 (14:54 -0800)]
Avoid unknown warning warnings and fix -Werror on macosx.
clang on macosx does not support -Wunused-but-set-variable; adding the flag
causes additional warnings about the flag. As a more generalized fix, use
-Werror when checking compiler flag support in order to avoid using
unsupported warning flags.
Change-Id: I2529862e211f880d56491eac3b9fa90fff1aa5c3
Jim Bankoski [Thu, 6 Mar 2014 22:52:52 +0000 (14:52 -0800)]
cpu_speed_test - now test one pass and more speeds
Change-Id: I736f5753ff42782bbb2a401d2c28cd755fa2f8da
James Zern [Thu, 6 Mar 2014 22:18:16 +0000 (14:18 -0800)]
Merge changes I627eb724,I55d5865b
* changes:
configure: add a test for configured source dir
Makefile: add distclean target
Marco Paniconi [Thu, 6 Mar 2014 21:43:32 +0000 (13:43 -0800)]
Add speeed 5 to datarate test.
Change-Id: I7126e4b36994020cc656d046d10df5d6a6c53e66
Dmitry Kovalev [Thu, 6 Mar 2014 21:15:32 +0000 (13:15 -0800)]
Merge "Cleaning up labels2mode() function."
Dmitry Kovalev [Thu, 6 Mar 2014 20:47:55 +0000 (12:47 -0800)]
Cleaning up optimize_b() function.
Change-Id: Id4c5b73ad747a8851969e9daf5bac40b4b9beefc
Dmitry Kovalev [Thu, 6 Mar 2014 20:33:38 +0000 (12:33 -0800)]
Merge "Removing unused mv_ref_stats[] array."
Dmitry Kovalev [Thu, 6 Mar 2014 20:08:20 +0000 (12:08 -0800)]
Renaming vp9_onyxd.h and vp9_onyxd_if.c to vp9_decoder.{h, c}.
Change-Id: Ibd0892be1ddadd93b8a22fa2c2e2053001f2948f
Deb Mukherjee [Thu, 6 Mar 2014 20:07:53 +0000 (12:07 -0800)]
Merge "Fixes static analysis issues"