platform/upstream/libvpx.git
10 years agoMerge "rename README.webm -> README.libvpx"
James Zern [Fri, 11 Apr 2014 21:23:11 +0000 (14:23 -0700)]
Merge "rename README.webm -> README.libvpx"

10 years agoMerge "Removing offset argument of mvcomp macros."
Dmitry Kovalev [Fri, 11 Apr 2014 21:09:17 +0000 (14:09 -0700)]
Merge "Removing offset argument of mvcomp macros."

10 years agoMerge "Adding RD_OPT struct."
Dmitry Kovalev [Fri, 11 Apr 2014 21:08:16 +0000 (14:08 -0700)]
Merge "Adding RD_OPT struct."

10 years agoMerge "Removing unused cost arguments from mcomp functions."
Dmitry Kovalev [Fri, 11 Apr 2014 20:50:44 +0000 (13:50 -0700)]
Merge "Removing unused cost arguments from mcomp functions."

10 years agoMerge "Renaming zz_motion_search() to get_block_variance()."
Dmitry Kovalev [Fri, 11 Apr 2014 20:46:54 +0000 (13:46 -0700)]
Merge "Renaming zz_motion_search() to get_block_variance()."

10 years agoMerge "Adding temp variable q to vp9_cyclic_refresh_setup()."
Dmitry Kovalev [Fri, 11 Apr 2014 20:45:53 +0000 (13:45 -0700)]
Merge "Adding temp variable q to vp9_cyclic_refresh_setup()."

10 years agorename README.webm -> README.libvpx
James Zern [Fri, 11 Apr 2014 19:28:01 +0000 (12:28 -0700)]
rename README.webm -> README.libvpx

matches the project name and doesn't share a media file extension

Change-Id: I9ad6c0a180e36c41f8fc49120615a070ea792a30

10 years agoRenaming zz_motion_search() to get_block_variance().
Dmitry Kovalev [Fri, 11 Apr 2014 18:03:56 +0000 (11:03 -0700)]
Renaming zz_motion_search() to get_block_variance().

Change-Id: Ibec06411c8cd843c2ca33b528a511a656e551983

10 years agoAdding RD_OPT struct.
Dmitry Kovalev [Wed, 9 Apr 2014 22:00:14 +0000 (15:00 -0700)]
Adding RD_OPT struct.

Change-Id: I2d1b5c1481aefe226082e1f096ca9edd340d4d31

10 years agovp9_rc_postencode_update() cleanup.
Dmitry Kovalev [Fri, 11 Apr 2014 17:36:10 +0000 (10:36 -0700)]
vp9_rc_postencode_update() cleanup.

Change-Id: Idb1289aa0eadff8f75dcf995547ab3a1b9e27375

10 years agoAdding temp variable q to vp9_cyclic_refresh_setup().
Dmitry Kovalev [Fri, 11 Apr 2014 17:31:54 +0000 (10:31 -0700)]
Adding temp variable q to vp9_cyclic_refresh_setup().

Change-Id: If0e9c811c8ae78c0914d615bad0067a5b57e4a71

10 years agoMerge "Removing legacy XMA code from vp8."
Dmitry Kovalev [Fri, 11 Apr 2014 17:27:46 +0000 (10:27 -0700)]
Merge "Removing legacy XMA code from vp8."

10 years agoRemoving unused cost arguments from mcomp functions.
Dmitry Kovalev [Fri, 11 Apr 2014 06:28:52 +0000 (23:28 -0700)]
Removing unused cost arguments from mcomp functions.

Change-Id: Id81a76d18be6b2de69f81bb563d74c3bb356d434

10 years agoMerge "Removing unused initial_{width, height} from VP9Decoder."
Dmitry Kovalev [Fri, 11 Apr 2014 17:23:35 +0000 (10:23 -0700)]
Merge "Removing unused initial_{width, height} from VP9Decoder."

10 years agoMerge "Removing unnecessary typedef."
Dmitry Kovalev [Fri, 11 Apr 2014 17:23:23 +0000 (10:23 -0700)]
Merge "Removing unnecessary typedef."

10 years agoMerge "Replacing int_mv with MV."
Dmitry Kovalev [Fri, 11 Apr 2014 17:23:18 +0000 (10:23 -0700)]
Merge "Replacing int_mv with MV."

10 years agoAdjust active minQ calculation for normal frames.
Paul Wilkins [Fri, 4 Apr 2014 13:39:39 +0000 (14:39 +0100)]
Adjust active minQ calculation for normal frames.

This increases the range of Q values available to
normal inter frames to allow encoder a better chance
to hit the target rate.

Change-Id: I33cd96469a46577fdcea631e26d3355710909e6d

10 years agoChange Qlimit for arf kf.
Paul Wilkins [Fri, 4 Apr 2014 11:56:50 +0000 (12:56 +0100)]
Change Qlimit for arf kf.

The limits applied under the flag
"LIMIT_QRANGE_FOR_ALTREF_AND_KEY"
behaved in an undesirable way if the gap between
active_worst_quality and active_best_quality was
changed.

In this patch, the adjustment is made using the
vp9_compute_qdelta_by_rate() function and fixed
rate multiplier values. Hence it is not impacted by
the relative value of active_best_quality.

Change-Id: I93b3308e04ade1e4eb5af63edf64f91cd3700249

10 years agoReplacing int_mv with MV.
Dmitry Kovalev [Fri, 11 Apr 2014 06:48:09 +0000 (23:48 -0700)]
Replacing int_mv with MV.

Change-Id: I1020dec1ac2e9404a8efcc04681a050417b8b065

10 years agoRemoving unnecessary typedef.
Dmitry Kovalev [Fri, 11 Apr 2014 06:31:45 +0000 (23:31 -0700)]
Removing unnecessary typedef.

Change-Id: Ie584128e0120c2d849e8809c4128a759b85e210c

10 years agoRemoving legacy XMA code from vp8.
Dmitry Kovalev [Fri, 11 Apr 2014 00:52:37 +0000 (17:52 -0700)]
Removing legacy XMA code from vp8.

Change-Id: Ib9f7fd3fd56e304e5f587f790c97ac34a3077265

10 years agoMerge "Cleaning up vp9_dthread.{c, h}."
Dmitry Kovalev [Fri, 11 Apr 2014 04:44:33 +0000 (21:44 -0700)]
Merge "Cleaning up vp9_dthread.{c, h}."

10 years agoMerge "Removing output_framerate field from VP9_COMP."
Dmitry Kovalev [Fri, 11 Apr 2014 03:51:45 +0000 (20:51 -0700)]
Merge "Removing output_framerate field from VP9_COMP."

10 years agoMerge "Moving last_frame_type update out from vp9_rc_postencode_update."
Dmitry Kovalev [Fri, 11 Apr 2014 03:51:27 +0000 (20:51 -0700)]
Merge "Moving last_frame_type update out from vp9_rc_postencode_update."

10 years agoMerge "Fixing invalid ref buffer in vp9_diamond_search_sad_c()."
Dmitry Kovalev [Fri, 11 Apr 2014 01:18:41 +0000 (18:18 -0700)]
Merge "Fixing invalid ref buffer in vp9_diamond_search_sad_c()."

10 years agoMerge "Cleaning up optimize_b()."
Dmitry Kovalev [Fri, 11 Apr 2014 00:15:19 +0000 (17:15 -0700)]
Merge "Cleaning up optimize_b()."

10 years agoMoving last_frame_type update out from vp9_rc_postencode_update.
Dmitry Kovalev [Thu, 10 Apr 2014 23:35:10 +0000 (16:35 -0700)]
Moving last_frame_type update out from vp9_rc_postencode_update.

Change-Id: Ib00a694b9cf8e0c276dfefddab8cb36b8693e022

10 years agoMerge "Removing unnecessary vp9_zero() call."
Dmitry Kovalev [Thu, 10 Apr 2014 23:27:45 +0000 (16:27 -0700)]
Merge "Removing unnecessary vp9_zero() call."

10 years agoRemoving output_framerate field from VP9_COMP.
Dmitry Kovalev [Thu, 10 Apr 2014 23:21:39 +0000 (16:21 -0700)]
Removing output_framerate field from VP9_COMP.

Change-Id: Id755813fd5e78039bc9e76a046b33c8cafbc36dc

10 years agoCleaning up vp9_dthread.{c, h}.
Dmitry Kovalev [Thu, 10 Apr 2014 23:17:49 +0000 (16:17 -0700)]
Cleaning up vp9_dthread.{c, h}.

Change-Id: If33087462293605f79d9281af133091fff33a876

10 years agoRemoving offset argument of mvcomp macros.
Dmitry Kovalev [Thu, 10 Apr 2014 23:07:41 +0000 (16:07 -0700)]
Removing offset argument of mvcomp macros.

Change-Id: I8bb72b790a0783720833f27b7cf41055bee6becd

10 years agoMerge "Define var threshold as unsigned int to match the type"
Yunqing Wang [Thu, 10 Apr 2014 22:59:05 +0000 (15:59 -0700)]
Merge "Define var threshold as unsigned int to match the type"

10 years agoMerge "Remove the unneeded output_framerate from svc."
Marco Paniconi [Thu, 10 Apr 2014 22:26:59 +0000 (15:26 -0700)]
Merge "Remove the unneeded output_framerate from svc."

10 years agoMerge "Fix onyx_if.c to not to redefine M_LOG2_E if it's already defined."
John Koleszar [Thu, 10 Apr 2014 22:24:25 +0000 (15:24 -0700)]
Merge "Fix onyx_if.c to not to redefine M_LOG2_E if it's already defined."

10 years agoFixing invalid ref buffer in vp9_diamond_search_sad_c().
Dmitry Kovalev [Thu, 10 Apr 2014 22:16:48 +0000 (15:16 -0700)]
Fixing invalid ref buffer in vp9_diamond_search_sad_c().

Problem has been introduced recently with the cleanup patch
I0816ec12ec0a6f21d0f25f10c214b5fd327afc6c

Change-Id: Iaacb956a6039eb5826b82618dc03be32053fb892

10 years agoMerge "Changing webmenc to use libwebm"
Vignesh Venkatasubramanian [Thu, 10 Apr 2014 21:51:50 +0000 (14:51 -0700)]
Merge "Changing webmenc to use libwebm"

10 years agoRemove the unneeded output_framerate from svc.
Marco Paniconi [Thu, 10 Apr 2014 20:43:36 +0000 (13:43 -0700)]
Remove the unneeded output_framerate from svc.

And change a parameter setting in vpx_temporal_scalable_patterns.

Change-Id: I7c208296ebcecbc8f73de032f6cdb26a1fc1442b

10 years agoRemoving unnecessary vp9_zero() call.
Dmitry Kovalev [Thu, 10 Apr 2014 18:35:36 +0000 (11:35 -0700)]
Removing unnecessary vp9_zero() call.

Change-Id: I9886f52a0fb19b4250c4c9444c3348897c84c9e2

10 years agoCleaning up optimize_b().
Dmitry Kovalev [Thu, 10 Apr 2014 18:19:38 +0000 (11:19 -0700)]
Cleaning up optimize_b().

Change-Id: I5c62fabd380492740c1c2c0d71861e64ee1b05e8

10 years agoMerge "Regrouping code in rd_pick_sb_modes()."
Dmitry Kovalev [Thu, 10 Apr 2014 18:14:59 +0000 (11:14 -0700)]
Merge "Regrouping code in rd_pick_sb_modes()."

10 years agoMerge "Cleaning up get_sby_perpixel_{, diff_}variance()."
Dmitry Kovalev [Thu, 10 Apr 2014 18:14:24 +0000 (11:14 -0700)]
Merge "Cleaning up get_sby_perpixel_{, diff_}variance()."

10 years agoMerge "Remove vestiges of large tx sizes in sub8x8 code."
Alex Converse [Thu, 10 Apr 2014 18:13:50 +0000 (11:13 -0700)]
Merge "Remove vestiges of large tx sizes in sub8x8 code."

10 years agoMerge "Cleanup table declarations in vp9_rdopt."
Alex Converse [Thu, 10 Apr 2014 18:13:44 +0000 (11:13 -0700)]
Merge "Cleanup table declarations in vp9_rdopt."

10 years agoDefine var threshold as unsigned int to match the type
Yunqing Wang [Thu, 10 Apr 2014 15:32:23 +0000 (08:32 -0700)]
Define var threshold as unsigned int to match the type

Minor change to use matching type in comparison.

Change-Id: I670cae2d584918c67c1af791a797629f392f599e

10 years agoMerge "Fix encoder uninitialized read errors reported by drmemory"
Yunqing Wang [Thu, 10 Apr 2014 16:45:08 +0000 (09:45 -0700)]
Merge "Fix encoder uninitialized read errors reported by drmemory"

10 years agoMerge "Fix coding format in vp9_rc_regulate_q"
Jingning Han [Thu, 10 Apr 2014 16:30:03 +0000 (09:30 -0700)]
Merge "Fix coding format in vp9_rc_regulate_q"

10 years agoMerge "Prevent the usage of invalid best_mode_index"
Yaowu Xu [Thu, 10 Apr 2014 16:04:10 +0000 (09:04 -0700)]
Merge "Prevent the usage of invalid best_mode_index"

10 years agoMerge "Remove duplicate code"
Yaowu Xu [Thu, 10 Apr 2014 16:04:04 +0000 (09:04 -0700)]
Merge "Remove duplicate code"

10 years agoFix onyx_if.c to not to redefine M_LOG2_E if it's already defined.
Sergey Ulanov [Thu, 10 Apr 2014 01:47:00 +0000 (18:47 -0700)]
Fix onyx_if.c to not to redefine M_LOG2_E if it's already defined.

This fixes warning when compiling libvpx for PNaCl. PNaCl's version
of math.h defines M_LOG2_E.

Change-Id: Iba9450441538e9f82447ad2936bea94d21bafdf1

10 years agoMerge "Minor code cleanup"
Yunqing Wang [Thu, 10 Apr 2014 15:25:10 +0000 (08:25 -0700)]
Merge "Minor code cleanup"

10 years agoMerge "Revert "Converting set_prev_mi() to get_prev_mi().""
Dmitry Kovalev [Thu, 10 Apr 2014 03:44:30 +0000 (20:44 -0700)]
Merge "Revert "Converting set_prev_mi() to get_prev_mi().""

10 years agoMerge "Moving q_trans[] table to vp9_quantize.{c, h}."
Dmitry Kovalev [Thu, 10 Apr 2014 03:18:24 +0000 (20:18 -0700)]
Merge "Moving q_trans[] table to vp9_quantize.{c, h}."

10 years agoMerge "Removing unused code from vp9_onyx_if.c."
Dmitry Kovalev [Thu, 10 Apr 2014 03:18:07 +0000 (20:18 -0700)]
Merge "Removing unused code from vp9_onyx_if.c."

10 years agoRemove vestiges of large tx sizes in sub8x8 code.
Alex Converse [Thu, 10 Apr 2014 00:58:12 +0000 (17:58 -0700)]
Remove vestiges of large tx sizes in sub8x8 code.

Change-Id: I27015ed57b4c4390cfde3d0eecd82c3e76fd3786

10 years agoPrevent the usage of invalid best_mode_index
Yaowu Xu [Thu, 10 Apr 2014 00:32:48 +0000 (17:32 -0700)]
Prevent the usage of invalid best_mode_index

This commit changed the initialization of best_mode_index to -1 to make
sure it is not mistakenly used for mode masking.

Change-Id: I75b05db51466070dd23c4ee57a4d4b40764dc019

10 years agoMerge "Removing redundant assignments."
Dmitry Kovalev [Wed, 9 Apr 2014 23:56:25 +0000 (16:56 -0700)]
Merge "Removing redundant assignments."

10 years agoMerge "Remove unused tile arguments from vp_rdopt."
Alex Converse [Wed, 9 Apr 2014 23:45:46 +0000 (16:45 -0700)]
Merge "Remove unused tile arguments from vp_rdopt."

10 years agoMerge "Cleanup vp9_rd_pick_inter_mode_sub8x8()."
Alex Converse [Wed, 9 Apr 2014 23:45:41 +0000 (16:45 -0700)]
Merge "Cleanup vp9_rd_pick_inter_mode_sub8x8()."

10 years agoRemoving unused initial_{width, height} from VP9Decoder.
Dmitry Kovalev [Wed, 9 Apr 2014 23:17:48 +0000 (16:17 -0700)]
Removing unused initial_{width, height} from VP9Decoder.

Change-Id: I039474b34863bc3db9c6cda82485c32826a1b5d1

10 years agoFix coding format in vp9_rc_regulate_q
Jingning Han [Wed, 9 Apr 2014 22:41:15 +0000 (15:41 -0700)]
Fix coding format in vp9_rc_regulate_q

Change-Id: I08aa0c213df34c084eb7a3c51b6b3306e49c7757

10 years agoRevert "Converting set_prev_mi() to get_prev_mi()."
Dmitry Kovalev [Wed, 9 Apr 2014 22:23:16 +0000 (15:23 -0700)]
Revert "Converting set_prev_mi() to get_prev_mi()."

This reverts commit 22a3e30790d141033778e430a47ba7d558237362

Change-Id: I460d905edf5fb2006da58c18fbe02c04d0c631bb

10 years agoMerge "Fix the setting of mode_skip_mask"
Yaowu Xu [Wed, 9 Apr 2014 21:29:23 +0000 (14:29 -0700)]
Merge "Fix the setting of mode_skip_mask"

10 years agoCleanup table declarations in vp9_rdopt.
Alex Converse [Wed, 9 Apr 2014 18:39:59 +0000 (11:39 -0700)]
Cleanup table declarations in vp9_rdopt.

Change-Id: Ia4bef41a6b0252593ad84612a2a143c724fd03ea

10 years agoRemoving unused code from vp9_onyx_if.c.
Dmitry Kovalev [Wed, 9 Apr 2014 20:42:26 +0000 (13:42 -0700)]
Removing unused code from vp9_onyx_if.c.

Change-Id: I0462bf1ca1b4e5a1c06259979b4daff949b8a2c6

10 years agoMoving q_trans[] table to vp9_quantize.{c, h}.
Dmitry Kovalev [Wed, 9 Apr 2014 20:35:39 +0000 (13:35 -0700)]
Moving q_trans[] table to vp9_quantize.{c, h}.

Change-Id: I1324c339815a47004ddccdaf651d24c60382b92f

10 years agoMerge "Fix avx builds on macosx with clang 5.0."
Tom Finegan [Wed, 9 Apr 2014 20:03:26 +0000 (13:03 -0700)]
Merge "Fix avx builds on macosx with clang 5.0."

10 years agoRegrouping code in rd_pick_sb_modes().
Dmitry Kovalev [Wed, 9 Apr 2014 20:00:02 +0000 (13:00 -0700)]
Regrouping code in rd_pick_sb_modes().

Change-Id: I51c71dd4aee6592fb90feebcf864bccc87dacec6

10 years agoRemove duplicate code
Yaowu Xu [Wed, 9 Apr 2014 01:13:01 +0000 (18:13 -0700)]
Remove duplicate code

Change-Id: Ie26b6ca8de733a527f820b16148e7a2231073f0f

10 years agoMerge "Adding vp9_inc_frame_in_layer() function."
Dmitry Kovalev [Wed, 9 Apr 2014 19:50:25 +0000 (12:50 -0700)]
Merge "Adding vp9_inc_frame_in_layer() function."

10 years agoMinor code cleanup
Yunqing Wang [Wed, 9 Apr 2014 19:07:26 +0000 (12:07 -0700)]
Minor code cleanup

Cleanup.

Change-Id: I54d989e24b35323cda7290654e425565d5c9ea2d

10 years agoRemove unused tile arguments from vp_rdopt.
Alex Converse [Wed, 9 Apr 2014 18:23:22 +0000 (11:23 -0700)]
Remove unused tile arguments from vp_rdopt.

Change-Id: I721ff26e3d5dbef80b8cd2dd562adae3748f6687

10 years agoCleanup vp9_rd_pick_inter_mode_sub8x8().
Alex Converse [Wed, 9 Apr 2014 18:15:59 +0000 (11:15 -0700)]
Cleanup vp9_rd_pick_inter_mode_sub8x8().

Change-Id: I9be2e4e9aeda0fae6dc946deae2999be51daebe0

10 years agoMerge "Fixing broken build."
Alex Converse [Wed, 9 Apr 2014 18:47:23 +0000 (11:47 -0700)]
Merge "Fixing broken build."

10 years agoFix the setting of mode_skip_mask
Yaowu Xu [Wed, 9 Apr 2014 18:37:27 +0000 (11:37 -0700)]
Fix the setting of mode_skip_mask

In mode selection loop, once mode_index pass mode_skip_start, all
modes with a different reference frame from current best mode are
masked out using mode_skip_mask.

However, the setting of mode_skip_mask may use an invalid mode if
there is no mode tested yet. This commit fixes the issue by making
sure a mode has been tested and selected. Otherwise, no mode will be
masked out because of their reference frame.

Change-Id: Ib0009e8a96836a65cf5347440fff8a2e1a67f29f

10 years agoMerge "Fix TODO typo"
James Zern [Wed, 9 Apr 2014 18:29:44 +0000 (11:29 -0700)]
Merge "Fix TODO typo"

10 years agoMerge "Add more test files that change number of tile columns."
James Zern [Wed, 9 Apr 2014 18:29:12 +0000 (11:29 -0700)]
Merge "Add more test files that change number of tile columns."

10 years agoMerge "third_party/libwebm: Pull from upstream"
Vignesh Venkatasubramanian [Wed, 9 Apr 2014 18:16:14 +0000 (11:16 -0700)]
Merge "third_party/libwebm: Pull from upstream"

10 years agoFixing broken build.
Dmitry Kovalev [Wed, 9 Apr 2014 17:46:54 +0000 (10:46 -0700)]
Fixing broken build.

Change-Id: I9b8f9a3f4fa9d48695149dd68ecb5e8d84accafe

10 years agoMerge "Converting set_prev_mi() to get_prev_mi()."
Dmitry Kovalev [Wed, 9 Apr 2014 17:27:05 +0000 (10:27 -0700)]
Merge "Converting set_prev_mi() to get_prev_mi()."

10 years agoMerge "Use source frame difference to make partition decision"
Yunqing Wang [Wed, 9 Apr 2014 17:26:42 +0000 (10:26 -0700)]
Merge "Use source frame difference to make partition decision"

10 years agoAdding vp9_inc_frame_in_layer() function.
Dmitry Kovalev [Wed, 9 Apr 2014 01:59:09 +0000 (18:59 -0700)]
Adding vp9_inc_frame_in_layer() function.

Change-Id: Idf612c772440158cd1645623241c51ab0d57405c

10 years agoMerge "Applying q_trans[] inside set_encoder_config()."
Dmitry Kovalev [Wed, 9 Apr 2014 17:25:59 +0000 (10:25 -0700)]
Merge "Applying q_trans[] inside set_encoder_config()."

10 years agoFix encoder uninitialized read errors reported by drmemory
Yunqing Wang [Wed, 9 Apr 2014 16:59:15 +0000 (09:59 -0700)]
Fix encoder uninitialized read errors reported by drmemory

This patch fixed the uninitialized read errors in Issue 748:
"dr memory VP9 encode errors". In vp9_convolve_avg_sse2,
when width is 4, pavgb reads 8 bytes from dst buffer that is
out of range. An error is reported although the data is not
actually used later. This issue was resolved by preventing
uninitialized reads.

Change-Id: I109a54910aa47139cb13119de86f2062cff207df

10 years agoMerge "Select prediction filter type in non-RD mode decision"
Jingning Han [Wed, 9 Apr 2014 16:07:45 +0000 (09:07 -0700)]
Merge "Select prediction filter type in non-RD mode decision"

10 years agoFix TODO typo
Frank Galligan [Wed, 9 Apr 2014 15:48:44 +0000 (08:48 -0700)]
Fix TODO typo

Change-Id: I7a5230852cb24ce22bfe85ea2608cdb4619b5200

10 years agoAdd more test files that change number of tile columns.
Frank Galligan [Wed, 9 Apr 2014 15:44:29 +0000 (08:44 -0700)]
Add more test files that change number of tile columns.

Change-Id: I08fe184a04e5435aeac92f1d7cc9733ca52c2783

10 years agoMerge "High-level hooks for Profile 2 (10/12 bit)"
Deb Mukherjee [Wed, 9 Apr 2014 05:19:38 +0000 (22:19 -0700)]
Merge "High-level hooks for Profile 2 (10/12 bit)"

10 years agoApplying q_trans[] inside set_encoder_config().
Dmitry Kovalev [Wed, 9 Apr 2014 02:43:08 +0000 (19:43 -0700)]
Applying q_trans[] inside set_encoder_config().

Change-Id: Ib64edeb58b3e25488fb85bbe85c9decb15b4d0a1

10 years agoCleaning up get_sby_perpixel_{, diff_}variance().
Dmitry Kovalev [Tue, 8 Apr 2014 22:43:51 +0000 (15:43 -0700)]
Cleaning up get_sby_perpixel_{, diff_}variance().

Change-Id: Icbfeb04647d654253866d290abd4775a877b4f61

10 years agoFix avx builds on macosx with clang 5.0.
Tom Finegan [Wed, 9 Apr 2014 01:32:19 +0000 (18:32 -0700)]
Fix avx builds on macosx with clang 5.0.

The macosx release of clang v5.0 identifies itself as:
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)

This version of clang uses the older _mm_broadcastsi128_si256, like
v3.3, as given away in the LLVM svn version above.

Change-Id: I4d6d59d5454efd57d2ae9e75f5eb7486af7cbd0c

10 years agoRemoving redundant assignments.
Dmitry Kovalev [Wed, 9 Apr 2014 01:52:25 +0000 (18:52 -0700)]
Removing redundant assignments.

Change-Id: I3ced24f2c3b9cc483278c0f0d60512e7d2efa4f4

10 years agoMerge "Cleaning up encode_frame_internal()."
Dmitry Kovalev [Wed, 9 Apr 2014 01:23:15 +0000 (18:23 -0700)]
Merge "Cleaning up encode_frame_internal()."

10 years agoMerge "Cleaning up vp9_firstpass.c"
Dmitry Kovalev [Wed, 9 Apr 2014 01:22:34 +0000 (18:22 -0700)]
Merge "Cleaning up vp9_firstpass.c"

10 years agoMerge "Adding vp9_ssim.h file."
Dmitry Kovalev [Wed, 9 Apr 2014 01:19:21 +0000 (18:19 -0700)]
Merge "Adding vp9_ssim.h file."

10 years agoMerge "Fix decoder resolution change with tiles"
Frank Galligan [Wed, 9 Apr 2014 00:13:33 +0000 (17:13 -0700)]
Merge "Fix decoder resolution change with tiles"

10 years agoUse source frame difference to make partition decision
Yunqing Wang [Wed, 2 Apr 2014 00:32:20 +0000 (17:32 -0700)]
Use source frame difference to make partition decision

Calculate the difference variance between last source frame and
current source frame. The variance is calculated at 16x16 block
level. The variances are compared to several thresholds to decide
final partition sizes.

An adaptive strategy is implemented to decide using
SOURCE_VAR_BASED_PARTITION or FIXED_PARTITION based on motions
in the video. The switching test is done once every
search_type_check_frequency frames.

The selection of source_var_thresh needs to be investigated
further later.

RTC set Borg test showed 0.424% overall psnr gain, and 0.357%
ssim gain. For clips with large enough static area, the
encoding speedup is around 2% to 15%.

Change-Id: Id7d268f1d8cbca7fb8026aa4a53b3c77459dc156

10 years agoSelect prediction filter type in non-RD mode decision
Jingning Han [Fri, 4 Apr 2014 22:59:10 +0000 (15:59 -0700)]
Select prediction filter type in non-RD mode decision

This commit allows the non-RD mode decision flow to  select
prediction filter type in NEWMV mode. It provides 8.14% compression
performance gains in both settings of AQ=0 and 3. The current speed
impact is about 5% to 10% slower.

Change-Id: Id66ecebf77abd8f90fb3f6a066c0e8dfb4bf1c42

10 years agothird_party/libwebm: Pull from upstream
Vignesh Venkatasubramanian [Tue, 8 Apr 2014 23:25:23 +0000 (16:25 -0700)]
third_party/libwebm: Pull from upstream

Pulling latest libwebm from upstream.

Change-Id: I62edafb0b0283160c9b4060fd5907e3aad6c7820

10 years agoHigh-level hooks for Profile 2 (10/12 bit)
Deb Mukherjee [Sat, 5 Apr 2014 00:30:16 +0000 (17:30 -0700)]
High-level hooks for Profile 2 (10/12 bit)

Adds some high-level hooks for profile 2 before further
progress on the implementation.

According to the definitiion in this patch:
1. Profile 2 only supports 10 or 12 bit color but not 8
2. Profile 2 supports all color sampling modes: 444, 422 and 420,
and alpha plane.
3. Profile 3 is currently undefined.

Please consider the definition carefully and suggest modifications
to the definition as needed.

Change-Id: I5b284fc679e54ac5aee171af72fa7994cfd28995

10 years agoAdding vp9_ssim.h file.
Dmitry Kovalev [Tue, 8 Apr 2014 23:08:39 +0000 (16:08 -0700)]
Adding vp9_ssim.h file.

Change-Id: Ib3b3864a6018c62ac1ea18e30795af74464596cd