platform/upstream/libvpx.git
10 years agoRemoving unnecessary assert(delta != 0) from encode_loopfilter().
Dmitry Kovalev [Sat, 14 Dec 2013 02:05:15 +0000 (18:05 -0800)]
Removing unnecessary assert(delta != 0) from encode_loopfilter().

Change-Id: I8ae093d0b61d71d3c294b95d98d0178f7f67c8f6

10 years agoMerge "Using MV struct instead of int_mv union in encoder."
Dmitry Kovalev [Sat, 14 Dec 2013 00:42:54 +0000 (16:42 -0800)]
Merge "Using MV struct instead of int_mv union in encoder."

10 years agoMerge "vp9_convole.c cleanup."
Dmitry Kovalev [Fri, 13 Dec 2013 23:40:00 +0000 (15:40 -0800)]
Merge "vp9_convole.c cleanup."

10 years agoMerge "Cleaning up vp9_append_sub8x8_mvs_for_idx()."
Dmitry Kovalev [Fri, 13 Dec 2013 23:38:53 +0000 (15:38 -0800)]
Merge "Cleaning up vp9_append_sub8x8_mvs_for_idx()."

10 years agoUsing MV struct instead of int_mv union in encoder.
Dmitry Kovalev [Fri, 13 Dec 2013 23:24:48 +0000 (15:24 -0800)]
Using MV struct instead of int_mv union in encoder.

Change-Id: I8b81a3e4b4fa530a654c28d9c136afa0c1d379fd

10 years agoMerge "Increase disable_filter_search_var_thresh threshold"
Yunqing Wang [Fri, 13 Dec 2013 23:11:17 +0000 (15:11 -0800)]
Merge "Increase disable_filter_search_var_thresh threshold"

10 years agoMerge "obj_int_extract: fix compile warning"
James Zern [Fri, 13 Dec 2013 20:47:19 +0000 (12:47 -0800)]
Merge "obj_int_extract: fix compile warning"

10 years agoMerge "vp9 asserts: fix compile warning"
James Zern [Fri, 13 Dec 2013 20:41:31 +0000 (12:41 -0800)]
Merge "vp9 asserts: fix compile warning"

10 years agoMerge "Rename so -> scan_order in vp9_encodemb.c"
Jingning Han [Fri, 13 Dec 2013 20:14:48 +0000 (12:14 -0800)]
Merge "Rename so -> scan_order in vp9_encodemb.c"

10 years agoMerge "Renaming treed_write() to vp9_write_tree()."
Dmitry Kovalev [Fri, 13 Dec 2013 19:19:04 +0000 (11:19 -0800)]
Merge "Renaming treed_write() to vp9_write_tree()."

10 years agoMerge "zz_motion_search() cleanup."
Dmitry Kovalev [Fri, 13 Dec 2013 19:18:13 +0000 (11:18 -0800)]
Merge "zz_motion_search() cleanup."

10 years agoMerge "Moving mi configuration loop from vp9_read_mode_info to set_offsets."
Dmitry Kovalev [Fri, 13 Dec 2013 19:16:59 +0000 (11:16 -0800)]
Merge "Moving mi configuration loop from vp9_read_mode_info to set_offsets."

10 years agoMerge "Remove some dead code"
Jingning Han [Fri, 13 Dec 2013 19:10:39 +0000 (11:10 -0800)]
Merge "Remove some dead code"

10 years agoRename so -> scan_order in vp9_encodemb.c
Jingning Han [Fri, 13 Dec 2013 19:05:26 +0000 (11:05 -0800)]
Rename so -> scan_order in vp9_encodemb.c

Change-Id: I7ff2899ea18a55b37f5c581431ef59806f01e009

10 years agoIncrease disable_filter_search_var_thresh threshold
Yunqing Wang [Fri, 13 Dec 2013 17:59:02 +0000 (09:59 -0800)]
Increase disable_filter_search_var_thresh threshold

Increased threshold(t) for interp filter search. This sped up the
encoder with some PSNR loss.

Borg tests were ran at speed 2.
t = 100, PSNR loss:
-0.710%(derf); -0.561%(stdhd); -0.647%(youtube)
speedup:
9%(derf); 3%(stdhd); 5.7%(youtube)

t = 500, PSNR loss:
-1.687%(derf); -1.665%(stdhd); -1.664%(youtube)
speedup:
18%(derf); 10%(stdhd); 8%(youtube)

Change-Id: I180e3657c1e156aaa88dc7c437f8bcbd19f5caba

10 years agoMerge "Set rc_2pass_vbr_maxsection_pct to correct value"
Adrian Grange [Fri, 13 Dec 2013 18:30:46 +0000 (10:30 -0800)]
Merge "Set rc_2pass_vbr_maxsection_pct to correct value"

10 years agoMerge "Enable adaptive pred filter type for sub8x8"
Jingning Han [Fri, 13 Dec 2013 17:34:24 +0000 (09:34 -0800)]
Merge "Enable adaptive pred filter type for sub8x8"

10 years agoSet rc_2pass_vbr_maxsection_pct to correct value
Adrian Grange [Fri, 13 Dec 2013 16:48:12 +0000 (08:48 -0800)]
Set rc_2pass_vbr_maxsection_pct to correct value

Corrected a typo that set rc_2pass_vbr_minsection_pct to
two different values on consecutive lines. Second line
should have set rc_2pass_vbr_maxsection_pct.

Change-Id: Ie07ac67cd5455afe556bef34da8127304db9c97c

10 years agoMoving mi configuration loop from vp9_read_mode_info to set_offsets.
Dmitry Kovalev [Fri, 13 Dec 2013 03:56:30 +0000 (19:56 -0800)]
Moving mi configuration loop from vp9_read_mode_info to set_offsets.

set_offsets() is a right place to configure all mi-related pointers.

Change-Id: I7d2fda72de5fc27e86c6589543b41fa044681dbf

10 years agovp9 asserts: fix compile warning
James Zern [Fri, 13 Dec 2013 03:44:08 +0000 (19:44 -0800)]
vp9 asserts: fix compile warning

string literal to int within an assert

Change-Id: I0c889256b67a078e6e2a79577f0b7ae084243258

10 years agoobj_int_extract: fix compile warning
James Zern [Fri, 13 Dec 2013 03:43:01 +0000 (19:43 -0800)]
obj_int_extract: fix compile warning

string literals should be returned as const char*

Change-Id: Iaab98711ed22f9c6eff1ca922c0576a1ff93a58f

10 years agoEnable adaptive pred filter type for sub8x8
Jingning Han [Fri, 13 Dec 2013 01:31:04 +0000 (17:31 -0800)]
Enable adaptive pred filter type for sub8x8

This commit enables an adaptive prediction filter type selection
for sub8x8 block sizes. In speed 1, it re-uses the filter type of
collocated 8x8 block if it is tested in the rate-distortion optimization
loop, for the sub8x8 blocks. Otherwise, it runs the normal test
over all the three filter types. In speed 2, it re-uses the 8x8
block's prediction filter type, if available. Otherwise, force it
to be EIGHTTAP.

Compression and speed performance wise:
speed 1
derf -0.266%
yt   -0.138%

bus at 2000 kbps: 33766ms -> 30451ms (10% speed-up)
football at 600 kbps: 48173ms -> 43786ms (9% speed-up)

speed 2
derf -0.026%
yt   +0.134%

bus at 2000 kbps: 18973ms -> 17698ms (6% speed-up)
football at 600 kbps: 26748ms -> 25096ms (6% speed-up)

Change-Id: I77e097533b969fd3472147225fa79fc98095d342

10 years agoMerge "test-data.sha1: add missing sha1sums"
James Zern [Thu, 12 Dec 2013 19:57:10 +0000 (11:57 -0800)]
Merge "test-data.sha1: add missing sha1sums"

10 years agozz_motion_search() cleanup.
Dmitry Kovalev [Thu, 12 Dec 2013 19:18:17 +0000 (11:18 -0800)]
zz_motion_search() cleanup.

Change-Id: I4991bc36e1627bd3a9495ca72c0738f1a937da2e

10 years agovp9_convole.c cleanup.
Dmitry Kovalev [Thu, 12 Dec 2013 19:14:06 +0000 (11:14 -0800)]
vp9_convole.c cleanup.

Making overall logic more clear, moving "hacked" calculation of base filter
array pointer to get_filter_base() function.

Change-Id: Ibbd38a9f937e48d35bbbfef3ad933ab36664cccb

10 years agoCleanup copyright headers.
Frank Galligan [Thu, 12 Dec 2013 16:36:34 +0000 (08:36 -0800)]
Cleanup copyright headers.

Change-Id: I7ff2b18e085f3fffaa7f25d40e4e50427b808f43

10 years agoMerge "Move test vector list into a separate header."
Frank Galligan [Thu, 12 Dec 2013 16:28:48 +0000 (08:28 -0800)]
Merge "Move test vector list into a separate header."

10 years agoMerge "Add pre decode frame hook to decoder test class."
Frank Galligan [Thu, 12 Dec 2013 16:26:43 +0000 (08:26 -0800)]
Merge "Add pre decode frame hook to decoder test class."

10 years agoMove test vector list into a separate header.
Frank Galligan [Wed, 11 Dec 2013 17:01:47 +0000 (09:01 -0800)]
Move test vector list into a separate header.

Change-Id: I36f9033492f12fda7f9ce0e7a97a009aab9aab57

10 years agotest-data.sha1: add missing sha1sums
James Zern [Thu, 12 Dec 2013 03:19:39 +0000 (19:19 -0800)]
test-data.sha1: add missing sha1sums

vp90-2-02-size-lf-1920x1080.webm{,.md5} were added in:
ebb583d Add a test vector for loopfilter

Change-Id: I021808338935932cb742ea2621b94f44f22e3037

10 years agoMerge "Little cleanup in vp9_encode_block_intra()."
Dmitry Kovalev [Thu, 12 Dec 2013 01:58:02 +0000 (17:58 -0800)]
Merge "Little cleanup in vp9_encode_block_intra()."

10 years agoMerge "Changes interfaces to vp9_get_compressed_data fn"
Deb Mukherjee [Wed, 11 Dec 2013 23:50:40 +0000 (15:50 -0800)]
Merge "Changes interfaces to vp9_get_compressed_data fn"

10 years agoLittle cleanup in vp9_encode_block_intra().
Dmitry Kovalev [Wed, 11 Dec 2013 23:26:45 +0000 (15:26 -0800)]
Little cleanup in vp9_encode_block_intra().

Change-Id: Ibfe04b920648e15bf7116f4fdc98960572a7007e

10 years agoMerge "Rename clamp_mv_min_max to set_mv_search_range"
Jingning Han [Wed, 11 Dec 2013 22:45:06 +0000 (14:45 -0800)]
Merge "Rename clamp_mv_min_max to set_mv_search_range"

10 years agoMerge "Renames for consistency in vp9_pred_common.{c, h} files."
Dmitry Kovalev [Wed, 11 Dec 2013 22:30:44 +0000 (14:30 -0800)]
Merge "Renames for consistency in vp9_pred_common.{c, h} files."

10 years agoMerge "Reduce the number of frames used in lossless test"
Yaowu Xu [Wed, 11 Dec 2013 22:26:11 +0000 (14:26 -0800)]
Merge "Reduce the number of frames used in lossless test"

10 years agoChanges interfaces to vp9_get_compressed_data fn
Deb Mukherjee [Fri, 6 Dec 2013 01:20:01 +0000 (17:20 -0800)]
Changes interfaces to vp9_get_compressed_data fn

Silences some lint warnings in previous patches

Change-Id: I04bf47ebe7e63a95fd322719a3154e589c115d78

10 years agoRename clamp_mv_min_max to set_mv_search_range
Jingning Han [Wed, 11 Dec 2013 21:59:10 +0000 (13:59 -0800)]
Rename clamp_mv_min_max to set_mv_search_range

This function sets the motion search range limit. Rename it to be
more informative.

Change-Id: I2e8e01073dcb99c9bea9c9acd0a61d672d615444

10 years agoMerge "Enforce motion search range clamp for sub8x8"
Jingning Han [Wed, 11 Dec 2013 21:51:32 +0000 (13:51 -0800)]
Merge "Enforce motion search range clamp for sub8x8"

10 years agoReduce the number of frames used in lossless test
Yaowu Xu [Wed, 11 Dec 2013 21:45:07 +0000 (13:45 -0800)]
Reduce the number of frames used in lossless test

Change-Id: I976f70b640b06f20533ad29578a5b2acca134fd4

10 years agoMerge "Fix valgrind error."
hkuang [Wed, 11 Dec 2013 21:22:32 +0000 (13:22 -0800)]
Merge "Fix valgrind error."

10 years agoFix valgrind error.
hkuang [Wed, 11 Dec 2013 20:11:57 +0000 (12:11 -0800)]
Fix valgrind error.

Temporarily change memcpy to memmove.

Change-Id: I700a197bc1ce496be1ddad7118429c5da465b0ca

10 years agoMerge "vp8: remove 2 unused tables"
James Zern [Wed, 11 Dec 2013 21:16:41 +0000 (13:16 -0800)]
Merge "vp8: remove 2 unused tables"

10 years agoMerge "Fix the printf format string"
Adrian Grange [Wed, 11 Dec 2013 20:50:04 +0000 (12:50 -0800)]
Merge "Fix the printf format string"

10 years agoEnforce motion search range clamp for sub8x8
Jingning Han [Wed, 11 Dec 2013 18:57:15 +0000 (10:57 -0800)]
Enforce motion search range clamp for sub8x8

This commit constrains the maximal motion search range for sub8x8
blocks to be [-1023, 1023], in the unit of full pixel.

Change-Id: I955b60649364ab410f2453cafd46a496f2fcb43e

10 years agoFix the printf format string
Adrian Grange [Wed, 11 Dec 2013 18:44:50 +0000 (10:44 -0800)]
Fix the printf format string

There were two problems with the format string in
the conditionally compiled print statement. It referred
to a variable that is no longer available and it used
incorrect format specifiers.

Change-Id: I315e22bea2691bb535a2e33f5ca206fc55287a37

10 years agoAdd pre decode frame hook to decoder test class.
Frank Galligan [Tue, 10 Dec 2013 01:07:10 +0000 (17:07 -0800)]
Add pre decode frame hook to decoder test class.

Adds a hook that derived test classes can implement to be notified
before every call to decode a frame.

Change-Id: Iefa836459cf3e5d7df9ee27f8198daf82b1be088

10 years agovp8: remove 2 unused tables
James Zern [Wed, 11 Dec 2013 05:13:21 +0000 (21:13 -0800)]
vp8: remove 2 unused tables

Change-Id: Ib5ba4e0b438107741efa28251848306322fd7f89

10 years agovp9 mt decode: reorder tile decode
James Zern [Thu, 5 Dec 2013 23:42:47 +0000 (15:42 -0800)]
vp9 mt decode: reorder tile decode

reorder the tiles based on size and their presumed complexity. this
minimizes the cases where the main thread is waiting on a worker to
complete.

Change-Id: Ie80642c6a1d64ece884f41683d23a3708ab38e0c

10 years agoRenames for consistency in vp9_pred_common.{c, h} files.
Dmitry Kovalev [Wed, 11 Dec 2013 02:31:46 +0000 (18:31 -0800)]
Renames for consistency in vp9_pred_common.{c, h} files.

Change-Id: Icba06e84ca55c419abbacedf5825eeb394a1b140

10 years agoRenaming treed_write() to vp9_write_tree().
Dmitry Kovalev [Wed, 11 Dec 2013 02:13:29 +0000 (18:13 -0800)]
Renaming treed_write() to vp9_write_tree().

Making name consistent with vp9_read_tree().

Change-Id: Ie213ffe0d5345bf3035f28e17f610894fec79205

10 years agoCleaning up vp9_append_sub8x8_mvs_for_idx().
Dmitry Kovalev [Wed, 11 Dec 2013 01:56:53 +0000 (17:56 -0800)]
Cleaning up vp9_append_sub8x8_mvs_for_idx().

Replacing if-else with switch statement, reordering function arguments.

Change-Id: I4825d2ef311ba8999b6d4ceb0eef003587a13434

10 years agoMerge "Fix a bug"
Yaowu Xu [Wed, 11 Dec 2013 00:06:42 +0000 (16:06 -0800)]
Merge "Fix a bug"

10 years agoMerge "Cleaning up skip context calculation."
Dmitry Kovalev [Tue, 10 Dec 2013 23:00:22 +0000 (15:00 -0800)]
Merge "Cleaning up skip context calculation."

10 years agoMerge "Cleaning up read_inter_block_mode_info() function."
Dmitry Kovalev [Tue, 10 Dec 2013 22:59:36 +0000 (14:59 -0800)]
Merge "Cleaning up read_inter_block_mode_info() function."

10 years agoMerge "avoid crash when using --best on cpus with SSE3 (but not SSE4) support"
Guillaume Martres [Tue, 10 Dec 2013 22:49:10 +0000 (14:49 -0800)]
Merge "avoid crash when using --best on cpus with SSE3 (but not SSE4) support"

10 years agoFix a bug
Yaowu Xu [Tue, 10 Dec 2013 22:34:32 +0000 (14:34 -0800)]
Fix a bug

In evaluating partition split case, Wrong partition size is used in
calling partition_plane_context(). This commit change to use the
correct sub partition size. The incorrect partition size used were
causing an ASAN error in unit test.

Change-Id: Iab695b764bc51cc61580075f2ae4001421132362

10 years agoCleaning up skip context calculation.
Dmitry Kovalev [Tue, 10 Dec 2013 22:11:26 +0000 (14:11 -0800)]
Cleaning up skip context calculation.

Renames:
  vp9_get_pred_context_mbskip => vp9_get_skip_context
  vp9_get_pred_prob_mbskip    => vp9_get_skip_prob

Change-Id: I2af499848ef73f3f5cd8cdb27852d0bcdfe31d09

10 years agoMerge "Removing unused vp9_get_pred_flag_mbskip() function."
Dmitry Kovalev [Tue, 10 Dec 2013 21:58:35 +0000 (13:58 -0800)]
Merge "Removing unused vp9_get_pred_flag_mbskip() function."

10 years agoMerge "Refactor inter_predictor function."
hkuang [Tue, 10 Dec 2013 21:34:24 +0000 (13:34 -0800)]
Merge "Refactor inter_predictor function."

10 years agoRemoving unused vp9_get_pred_flag_mbskip() function.
Dmitry Kovalev [Fri, 6 Dec 2013 23:20:25 +0000 (15:20 -0800)]
Removing unused vp9_get_pred_flag_mbskip() function.

Change-Id: Ib46a97d8ff9f2915b9fa2abba3cd18b6711fcb0c

10 years agoMerge "Renaming comp_pred_mode to reference_mode."
Dmitry Kovalev [Tue, 10 Dec 2013 18:52:34 +0000 (10:52 -0800)]
Merge "Renaming comp_pred_mode to reference_mode."

10 years agoRefactor inter_predictor function.
hkuang [Tue, 10 Dec 2013 18:36:44 +0000 (10:36 -0800)]
Refactor inter_predictor function.

Change-Id: Ic429b2f16462e926f30efb3af4da3080026359d8

10 years agoavoid crash when using --best on cpus with SSE3 (but not SSE4) support
Guillaume Martres [Tue, 10 Dec 2013 17:17:00 +0000 (18:17 +0100)]
avoid crash when using --best on cpus with SSE3 (but not SSE4) support

Change-Id: Ie100114a01b8b4da7248603c40676792cd06b32a

10 years agoMerge "Cleaning up vp9_get_pred_context_switchable_interp() functuion."
Dmitry Kovalev [Tue, 10 Dec 2013 01:34:30 +0000 (17:34 -0800)]
Merge "Cleaning up vp9_get_pred_context_switchable_interp() functuion."

10 years agoMerge "Add include guards to setupintrarecon.h and vpx_once.h"
Johann [Tue, 10 Dec 2013 01:16:33 +0000 (17:16 -0800)]
Merge "Add include guards to setupintrarecon.h and vpx_once.h"

10 years agoMerge "Implenment on demand border extension. In place extend the border now. Next...
hkuang [Tue, 10 Dec 2013 01:16:31 +0000 (17:16 -0800)]
Merge "Implenment on demand border extension. In place extend the border now. Next commit will totally remove the border."

10 years agoCleaning up vp9_get_pred_context_switchable_interp() functuion.
Dmitry Kovalev [Tue, 10 Dec 2013 01:02:38 +0000 (17:02 -0800)]
Cleaning up vp9_get_pred_context_switchable_interp() functuion.

Change-Id: I67a45a41312ca0efd8fe00ccd8bdc0f97675d09f

10 years agoImplenment on demand border extension. In place extend
hkuang [Fri, 6 Dec 2013 19:39:38 +0000 (11:39 -0800)]
Implenment on demand border extension. In place extend
the border now. Next commit will totally remove the border.

Change-Id: Ic1e1ca9cc34f81c688715b3948689b47df63a151

10 years agoMerge "Clean-ups in diamond_search_sad"
Jingning Han [Tue, 10 Dec 2013 00:12:39 +0000 (16:12 -0800)]
Merge "Clean-ups in diamond_search_sad"

10 years agoMerge "Full range motion search for regular block sizes"
Jingning Han [Tue, 10 Dec 2013 00:12:35 +0000 (16:12 -0800)]
Merge "Full range motion search for regular block sizes"

10 years agoMerge "Further clean up of estimate_max_q."
Yaowu Xu [Mon, 9 Dec 2013 23:35:00 +0000 (15:35 -0800)]
Merge "Further clean up of estimate_max_q."

10 years agoRenaming comp_pred_mode to reference_mode.
Dmitry Kovalev [Mon, 9 Dec 2013 23:13:34 +0000 (15:13 -0800)]
Renaming comp_pred_mode to reference_mode.

Change-Id: I83ffed2b1878a35ac35f07f9ee74309adc9c7b11

10 years agoMerge "Renaming vp9_get_pred_context_tx_size() function."
Dmitry Kovalev [Mon, 9 Dec 2013 23:10:49 +0000 (15:10 -0800)]
Merge "Renaming vp9_get_pred_context_tx_size() function."

10 years agoCleaning up read_inter_block_mode_info() function.
Dmitry Kovalev [Mon, 9 Dec 2013 22:45:17 +0000 (14:45 -0800)]
Cleaning up read_inter_block_mode_info() function.

Change-Id: Ib4e215a80f00e342d857a54a4ca1b2dc82b6db1d

10 years agoRemoving max_uv_txsize_lookup lookup table.
Dmitry Kovalev [Mon, 9 Dec 2013 19:03:02 +0000 (11:03 -0800)]
Removing max_uv_txsize_lookup lookup table.

Adding get_uv_tx_size_impl() with tx size selection logic, rewriting
get_uv_tx_size().

Change-Id: I3ecb108059a41be227a8c89a0710bd174f508951

10 years agoAdd include guards to setupintrarecon.h and vpx_once.h
Ehsan Akhgari [Mon, 9 Dec 2013 17:05:38 +0000 (12:05 -0500)]
Add include guards to setupintrarecon.h and vpx_once.h

Change-Id: Ife17fc6369ce32f36d5c7f8a2ef5a3b7724d81b9

10 years agoFurther clean up of estimate_max_q.
Paul Wilkins [Mon, 9 Dec 2013 13:20:31 +0000 (13:20 +0000)]
Further clean up of estimate_max_q.

Clean up and simplification of both estimate_max_q
variants and only call once per clip/section.

This leads to a more constrained range of Q values
across a clip / section.

Average gains across all 4 test sets:-

PSNR ~0.5%  SSIM ~0.3%

Change-Id: If77d5f7bb50939a464e117724f4da5b001c62d70

10 years agoMerge "Removing BLOCK_TYPES and adding PLANE_TYPES constant instead."
Dmitry Kovalev [Sat, 7 Dec 2013 10:20:41 +0000 (02:20 -0800)]
Merge "Removing BLOCK_TYPES and adding PLANE_TYPES constant instead."

10 years agoRemove some dead code
Alex Converse [Tue, 3 Dec 2013 22:20:30 +0000 (14:20 -0800)]
Remove some dead code

Change-Id: I0953a3b28758811f9d6a85787850e77592bd7670

10 years agoRenaming vp9_get_pred_context_tx_size() function.
Dmitry Kovalev [Fri, 6 Dec 2013 23:31:06 +0000 (15:31 -0800)]
Renaming vp9_get_pred_context_tx_size() function.

Change-Id: Ia6d6f4dfb1fd1ec0f8ba53796b59a802e9d7881d

10 years agoDisable warning for intentional lossless coding
Yaowu Xu [Thu, 5 Dec 2013 21:52:47 +0000 (13:52 -0800)]
Disable warning for intentional lossless coding

For VP9, lossless coding is enabled by passing 0 for both min_q and
max_q. This is a valid configuration, and should not be warned.

Change-Id: Idd117579cd89cd14c0723b1d7e482067ac12b401

10 years agoMerge "Disable early exit based on distortion in lossless"
Jim Bankoski [Fri, 6 Dec 2013 22:46:28 +0000 (14:46 -0800)]
Merge "Disable early exit based on distortion in lossless"

10 years agoClean-ups in diamond_search_sad
Jingning Han [Fri, 6 Dec 2013 22:23:34 +0000 (14:23 -0800)]
Clean-ups in diamond_search_sad

Use the pre-fetched stride value.

Change-Id: I8d4aaedab7a83a4870be51c110da27e55ca3bc85

10 years agoMerge "Renaming reference mode context calculation function."
Dmitry Kovalev [Fri, 6 Dec 2013 22:22:47 +0000 (14:22 -0800)]
Merge "Renaming reference mode context calculation function."

10 years agoMerge "Replacing b_width_log2 with num_4x4_blocks_wide_lookup."
Dmitry Kovalev [Fri, 6 Dec 2013 22:19:59 +0000 (14:19 -0800)]
Merge "Replacing b_width_log2 with num_4x4_blocks_wide_lookup."

10 years agoDisable early exit based on distortion in lossless
Yaowu Xu [Thu, 5 Dec 2013 21:41:18 +0000 (13:41 -0800)]
Disable early exit based on distortion in lossless

In lossless coding, distortion is always 0. Early exit based on this
metric was incorrect.

This CL also changed to use best_rd instead of distortion as the metric
for easly exit as requested by Jim.

Change-Id: I8ef3e407ac03b4abc3283b273f936a68fad5c2ab

10 years agoMerge "add tile test vectors"
James Zern [Fri, 6 Dec 2013 20:47:57 +0000 (12:47 -0800)]
Merge "add tile test vectors"

10 years agoFull range motion search for regular block sizes
Jingning Han [Fri, 6 Dec 2013 17:16:36 +0000 (09:16 -0800)]
Full range motion search for regular block sizes

Add a full range motion search for regular block sizes. This runs
exhaustive search within the given reference area. This commit further
optimizes the search process by combining 4 points test into one
pipeline, which gives 30% speed-up as compared to run each individual
point at a time.

This full range search serves as a best possible motion search reference.
When replacing the diamond search with full range search, the speed 0
runtime of bus CIF at 2000 kbps goes from 153872ms to 623051ms. The
compression performance compared to speed 0 setting gains 0.585% for
derf set.

Change-Id: Ieef1225216b0b86b4ac4872fa7fb9e18bf2eabb3

10 years agoMerge "Removing duplicated C code from vp9_loopfilter_filters.c file."
Dmitry Kovalev [Fri, 6 Dec 2013 20:13:24 +0000 (12:13 -0800)]
Merge "Removing duplicated C code from vp9_loopfilter_filters.c file."

10 years agoReplacing b_width_log2 with num_4x4_blocks_wide_lookup.
Dmitry Kovalev [Fri, 6 Dec 2013 20:04:06 +0000 (12:04 -0800)]
Replacing b_width_log2 with num_4x4_blocks_wide_lookup.

Change-Id: I8ab9bbe2595ed1743f35223b6a6ce6d023b9a20e

10 years agoRenaming reference mode context calculation function.
Dmitry Kovalev [Fri, 6 Dec 2013 19:23:01 +0000 (11:23 -0800)]
Renaming reference mode context calculation function.

Renames:
  vp9_get_pred_context_comp_inter_inter => vp9_get_reference_mode_context
  vp9_get_pred_prob_comp_inter_inter    => vp9_get_reference_mode_prob

Change-Id: I3bbb69481e6b0c848028667c9269f567f293d3bd

10 years agoRemoving BLOCK_TYPES and adding PLANE_TYPES constant instead.
Dmitry Kovalev [Fri, 6 Dec 2013 18:54:00 +0000 (10:54 -0800)]
Removing BLOCK_TYPES and adding PLANE_TYPES constant instead.

Change-Id: Ic3bb862e93aedf6a489a33ea6f7e5097d96855ee

10 years agoMerge "Remove rate correction factor."
Yaowu Xu [Fri, 6 Dec 2013 18:39:51 +0000 (10:39 -0800)]
Merge "Remove rate correction factor."

10 years agoMerge "Moving vp9_tree_probs_from_distribution() to encoder."
Dmitry Kovalev [Fri, 6 Dec 2013 18:18:30 +0000 (10:18 -0800)]
Merge "Moving vp9_tree_probs_from_distribution() to encoder."

10 years agoMerge "Renaming constants."
Dmitry Kovalev [Fri, 6 Dec 2013 17:55:02 +0000 (09:55 -0800)]
Merge "Renaming constants."

10 years agoMerge "vp9_get_pred_context_intra_inter() clean up."
Dmitry Kovalev [Fri, 6 Dec 2013 17:14:36 +0000 (09:14 -0800)]
Merge "vp9_get_pred_context_intra_inter() clean up."

10 years agoMerge "Remove redundant calls to vp9_update_mode_info_border"
Adrian Grange [Fri, 6 Dec 2013 16:59:47 +0000 (08:59 -0800)]
Merge "Remove redundant calls to vp9_update_mode_info_border"

10 years agoMerge "Remove redundant bsize mapping in motion search"
Jingning Han [Fri, 6 Dec 2013 16:57:58 +0000 (08:57 -0800)]
Merge "Remove redundant bsize mapping in motion search"

10 years agoRemove rate correction factor.
Paul Wilkins [Fri, 6 Dec 2013 13:17:34 +0000 (13:17 +0000)]
Remove rate correction factor.

Removed an adaptive rate correction factor that was having
a negative impact on quality in many clips. This factor
was influencing the Q range available to each frame
independently of the bits allocated to each.

Average results with DISABLE_RC_LONG_TERM_MEM.

derf +0.199, -0.059.
yt +3.957, +3.798
std hd +1.577, +2.140
yt hd +4.127, +4.513

Average results without  DISABLE_RC_LONG_TERM_MEM

derf -0.628, -0.665
yt +3.432, +3.015
std hd -0.105, +0.153
yt hd +3.432, +3.015

Change-Id: I45bab6b606f49a442e7b27a6d631f3ffd843bbce