platform/upstream/libvpx.git
11 years agoRemoving unused static arrays from vp9_reatectrl.c.
Dmitry Kovalev [Fri, 19 Jul 2013 22:55:09 +0000 (15:55 -0700)]
Removing unused static arrays from vp9_reatectrl.c.

Removed arrays: kf_boost_seperation_adjustment,
                gf_adjust_table,
                gf_intra_usage_adjustment,
                gf_interval_table.

Change-Id: I62e400cb6e4d039787615169a3779e31ebf95893

11 years agoMerge "Make libvpx compile on OSX 10.9 (Mavericks)"
Morton Jonuschat [Fri, 19 Jul 2013 19:37:26 +0000 (12:37 -0700)]
Merge "Make libvpx compile on OSX 10.9 (Mavericks)"

11 years agoMake libvpx compile on OSX 10.9 (Mavericks)
Morton Jonuschat [Fri, 19 Jul 2013 19:09:23 +0000 (21:09 +0200)]
Make libvpx compile on OSX 10.9 (Mavericks)

Change-Id: Ibf2555f1c0d00e91d416eb39201a5a91df7fab27

11 years agoMerge "Renaming TXFM_MODE to TX_MODE (like TX_SIZE, TX_TYPE)."
Dmitry Kovalev [Fri, 19 Jul 2013 19:14:32 +0000 (12:14 -0700)]
Merge "Renaming TXFM_MODE to TX_MODE (like TX_SIZE, TX_TYPE)."

11 years agoRenaming TXFM_MODE to TX_MODE (like TX_SIZE, TX_TYPE).
Dmitry Kovalev [Fri, 19 Jul 2013 18:37:13 +0000 (11:37 -0700)]
Renaming TXFM_MODE to TX_MODE (like TX_SIZE, TX_TYPE).

Moving TX_MODE enum to vp9_enums.h. Renaming txfm_mode variables to
tx_mode.

Change-Id: I459d1af6dd928ce7fccdf8ce30b6f1ca057bef92

11 years agoRemoving redundant VP9_COMMON* from function signatures.
Dmitry Kovalev [Fri, 19 Jul 2013 18:20:49 +0000 (11:20 -0700)]
Removing redundant VP9_COMMON* from function signatures.

Functions: vp9_get_pred_context_switchable_interp,
           vp9_get_pred_context_intra_inter,
           vp9_get_pred_context_single_ref_p1,
           vp9_get_pred_context_single_ref_p2.

Change-Id: I3d6fb8aee23c9062270768e1e6da416dd9bb8f96

11 years agoMerge "cosmetics: tile_independence_test: fix formatting"
James Zern [Fri, 19 Jul 2013 17:15:56 +0000 (10:15 -0700)]
Merge "cosmetics: tile_independence_test: fix formatting"

11 years agoMerge "Alignment of THR_MODES to vp9_mode_order[]"
Paul Wilkins [Fri, 19 Jul 2013 17:15:26 +0000 (10:15 -0700)]
Merge "Alignment of THR_MODES to vp9_mode_order[]"

11 years agoMerge "Block index variables in MACROBLOCKD reduced to chars."
Paul Wilkins [Fri, 19 Jul 2013 17:14:52 +0000 (10:14 -0700)]
Merge "Block index variables in MACROBLOCKD reduced to chars."

11 years agoMerge "Add neon optimize vp9_short_idct8x8_add."
hkuang [Fri, 19 Jul 2013 15:28:39 +0000 (08:28 -0700)]
Merge "Add neon optimize vp9_short_idct8x8_add."

11 years agoAlignment of THR_MODES to vp9_mode_order[]
Paul Wilkins [Thu, 18 Jul 2013 15:41:44 +0000 (16:41 +0100)]
Alignment of THR_MODES to vp9_mode_order[]

Change-Id: I4032dd0442043543954dcb3724df974b7cc7e515

11 years agoBlock index variables in MACROBLOCKD reduced to chars.
Paul Wilkins [Thu, 11 Jul 2013 15:18:34 +0000 (16:18 +0100)]
Block index variables in MACROBLOCKD reduced to chars.

Change-Id: I9a4df095732d561807de01a41dcb1a1960726a3c

11 years agoMerge "Removing kf_{y, uv}_mode_prob arrays from VP9Common."
Dmitry Kovalev [Fri, 19 Jul 2013 08:00:46 +0000 (01:00 -0700)]
Merge "Removing kf_{y, uv}_mode_prob arrays from VP9Common."

11 years agoMerge "Fix slightly quality drop caused at speed 1."
Yaowu Xu [Fri, 19 Jul 2013 01:27:49 +0000 (18:27 -0700)]
Merge "Fix slightly quality drop caused at speed 1."

11 years agoMerge "Removing unused int_mv32 union."
Dmitry Kovalev [Fri, 19 Jul 2013 00:56:11 +0000 (17:56 -0700)]
Merge "Removing unused int_mv32 union."

11 years agoFix slightly quality drop caused at speed 1.
Ronald S. Bultje [Thu, 18 Jul 2013 22:17:02 +0000 (15:17 -0700)]
Fix slightly quality drop caused at speed 1.

We would skip the rectangular blocks for sub8x8 partitions because
we would conclude that PARTITION_NONE was better than PARTITION_SPLIT,
however, that conclusion was made before we actually really tested
PARTITION_SPLIT.

Change-Id: I8fa91e59894badc1d8cee3ba8a49e40ae4c4a489

11 years agoMerge "Add best_rd breakout to keyframe partition selection also."
Yaowu Xu [Fri, 19 Jul 2013 00:50:39 +0000 (17:50 -0700)]
Merge "Add best_rd breakout to keyframe partition selection also."

11 years agoMerge "Merge scale_factors and scale_factors_uv."
Yaowu Xu [Fri, 19 Jul 2013 00:50:34 +0000 (17:50 -0700)]
Merge "Merge scale_factors and scale_factors_uv."

11 years agoMerge "Do in-place UV intra mode selection."
Yaowu Xu [Fri, 19 Jul 2013 00:50:07 +0000 (17:50 -0700)]
Merge "Do in-place UV intra mode selection."

11 years agoMerge "Change break statement in a 2d loop to a return statement."
Yaowu Xu [Fri, 19 Jul 2013 00:49:58 +0000 (17:49 -0700)]
Merge "Change break statement in a 2d loop to a return statement."

11 years agoMerge "Using VP9_REF_NO_SCALE instead of (1 << VP9_REF_SCALE_SHIFT)."
Dmitry Kovalev [Fri, 19 Jul 2013 00:29:05 +0000 (17:29 -0700)]
Merge "Using VP9_REF_NO_SCALE instead of (1 << VP9_REF_SCALE_SHIFT)."

11 years agoAdd neon optimize vp9_short_idct8x8_add.
hkuang [Wed, 17 Jul 2013 19:21:28 +0000 (12:21 -0700)]
Add neon optimize vp9_short_idct8x8_add.

Change-Id: Ic32acf3e2939c6d12d9c2bf192a5f5da59705fda

11 years agocosmetics: tile_independence_test: fix formatting
James Zern [Thu, 18 Jul 2013 21:37:53 +0000 (14:37 -0700)]
cosmetics: tile_independence_test: fix formatting

Change-Id: Ifd48f796fa70fe1dc9b87a6f2bdc715bc0ea5ad3

11 years agoUsing VP9_REF_NO_SCALE instead of (1 << VP9_REF_SCALE_SHIFT).
Dmitry Kovalev [Thu, 18 Jul 2013 22:12:46 +0000 (15:12 -0700)]
Using VP9_REF_NO_SCALE instead of (1 << VP9_REF_SCALE_SHIFT).

Change-Id: Ide58a74d31ff948319445a6337d2c05e98720e34

11 years agoMerge "Remove motion vectors from PARTITION_INFO."
Ronald S. Bultje [Thu, 18 Jul 2013 22:10:41 +0000 (15:10 -0700)]
Merge "Remove motion vectors from PARTITION_INFO."

11 years agoMerge "Removing unused mv_bias and check_mv_bounds functions."
Dmitry Kovalev [Thu, 18 Jul 2013 21:41:52 +0000 (14:41 -0700)]
Merge "Removing unused mv_bias and check_mv_bounds functions."

11 years agoMerge "Removing unused members of VP9Decompressor: mbc, prob_skip_false."
Dmitry Kovalev [Thu, 18 Jul 2013 21:41:43 +0000 (14:41 -0700)]
Merge "Removing unused members of VP9Decompressor: mbc, prob_skip_false."

11 years agoAdd best_rd breakout to keyframe partition selection also.
Ronald S. Bultje [Thu, 18 Jul 2013 01:21:41 +0000 (18:21 -0700)]
Add best_rd breakout to keyframe partition selection also.

Change-Id: I96b8058f6dfecf8aa3e152cdcbfd7e10071fbbc9

11 years agoMerge scale_factors and scale_factors_uv.
Ronald S. Bultje [Wed, 17 Jul 2013 22:27:12 +0000 (15:27 -0700)]
Merge scale_factors and scale_factors_uv.

This prevents a duplicate memcpy of a 128-byte struct every time
set_scale_factors() is called (which is a lot), thus leading to a
decrease from 3.7 MB to 1.85 MB of struct copying per 64x64 block
RD/partition loop.

Overall, this decreases encoding time of the first 50 frames of bus
@ 1500kbps (speed 0) from 1min5.9 to 1min4.9, i.e. about a 1.5%
overall speedup. We can likely get more gains by removing the copy
of the other struct (and replacing it with an indexing) as well.

Change-Id: I3dceb7e79f71e6fe911b11cc994cf89a869dde7a

11 years agoDo in-place UV intra mode selection.
Ronald S. Bultje [Thu, 18 Jul 2013 20:09:38 +0000 (13:09 -0700)]
Do in-place UV intra mode selection.

This means we only do UV intra mode selection if we find any intra
mode to actually be useful at all; in addition, we only do UV intra
mode selection for the transform sizes that were selected, rather
than all sizes available in this partition.

First 50 frames of bus @ 1500kbps (speed 0) gains about 5% with this
change.

Change-Id: I7b461eb8b803247f57896c5a9505f745b55502b3

11 years agoChange break statement in a 2d loop to a return statement.
Ronald S. Bultje [Thu, 18 Jul 2013 00:24:33 +0000 (17:24 -0700)]
Change break statement in a 2d loop to a return statement.

The break statement only breaks out of the nested loop, not the
top-level loop, so it doesn't always work as intended. Changing it
to a return statement does what's intended.

Change-Id: I585419823b39a04ec8826b1c8a216099b1728ba7

11 years agoRemove motion vectors from PARTITION_INFO.
Ronald S. Bultje [Wed, 17 Jul 2013 23:46:53 +0000 (16:46 -0700)]
Remove motion vectors from PARTITION_INFO.

The same information already exists in union b_mode_info.

Change-Id: Iac5086b99a3c3cc270380138062bb693e58f9e6d

11 years agoMerge "Fix bug where we don't choose any mode in RD selection."
Ronald S. Bultje [Thu, 18 Jul 2013 19:47:50 +0000 (12:47 -0700)]
Merge "Fix bug where we don't choose any mode in RD selection."

11 years agoFix bug where we don't choose any mode in RD selection.
Ronald S. Bultje [Thu, 18 Jul 2013 19:12:48 +0000 (12:12 -0700)]
Fix bug where we don't choose any mode in RD selection.

This could happen during golden overlay frame coding from a previous
alt-ref frame if the special overlay code was triggered.

Change-Id: I3056d0c547cd26903b260ef93c94026e96bd9868

11 years agoRemoving unused members of VP9Decompressor: mbc, prob_skip_false.
Dmitry Kovalev [Thu, 18 Jul 2013 18:29:34 +0000 (11:29 -0700)]
Removing unused members of VP9Decompressor: mbc, prob_skip_false.

Change-Id: Id5480a4fd56c184ad046c2192b30d190debb3de0

11 years agoRemoving unused mv_bias and check_mv_bounds functions.
Dmitry Kovalev [Thu, 18 Jul 2013 18:20:48 +0000 (11:20 -0700)]
Removing unused mv_bias and check_mv_bounds functions.

Change-Id: I1558fd969d9ad112bf6480bdd16ef87edd396ab5

11 years agoMerge "libvpx: enable building for iOS devices (armv7)"
Johann [Thu, 18 Jul 2013 17:33:51 +0000 (10:33 -0700)]
Merge "libvpx: enable building for iOS devices (armv7)"

11 years agolibvpx: enable building for iOS devices (armv7)
Ami Fischman [Thu, 18 Jul 2013 17:11:01 +0000 (10:11 -0700)]
libvpx: enable building for iOS devices (armv7)

Allow output of gas syntax assembly directly from obj_int_extract

Change-Id: I33a747e87ef1c590a8766dea17f8cb2497e54591

11 years agoMerge "Fix horz loopfilter loops"
Frank Galligan [Thu, 18 Jul 2013 17:21:21 +0000 (10:21 -0700)]
Merge "Fix horz loopfilter loops"

11 years agoMerge "Fix bug which skips zeromv even if near/nearest is not 0,0."
Ronald S. Bultje [Thu, 18 Jul 2013 17:06:51 +0000 (10:06 -0700)]
Merge "Fix bug which skips zeromv even if near/nearest is not 0,0."

11 years agoFix horz loopfilter loops
Frank Galligan [Thu, 18 Jul 2013 16:44:15 +0000 (09:44 -0700)]
Fix horz loopfilter loops

If count was greater than 1 the src pointer would be off on
the second loop.

Change-Id: I8e09037e68dc4ae92076a8067f7b6dacbbef8263

11 years agoFix bug which skips zeromv even if near/nearest is not 0,0.
Ronald S. Bultje [Thu, 18 Jul 2013 16:34:59 +0000 (09:34 -0700)]
Fix bug which skips zeromv even if near/nearest is not 0,0.

Change-Id: Id4f454831f3f11099f39c30246adeaa52857d08d

11 years agoUse mv_check_bounds in sub8x8 rd loop
Jingning Han [Thu, 18 Jul 2013 00:12:02 +0000 (17:12 -0700)]
Use mv_check_bounds in sub8x8 rd loop

Make the use of mv_check_bounds consistent for mvs of both ref_frame[0]
and ref_frame[1].

Change-Id: I1ca24865cc7232ca9cbe5db566c53abad1592211

11 years agoRemoving unused int_mv32 union.
Dmitry Kovalev [Thu, 18 Jul 2013 00:02:44 +0000 (17:02 -0700)]
Removing unused int_mv32 union.

Change-Id: Ie692ed6e5fa1d2122e3a03573914d0fcce842f9e

11 years agoRemoving kf_{y, uv}_mode_prob arrays from VP9Common.
Dmitry Kovalev [Wed, 17 Jul 2013 23:50:52 +0000 (16:50 -0700)]
Removing kf_{y, uv}_mode_prob arrays from VP9Common.

These arrays have constant values (no any updates). Removing two
corresponding memcpy calls. Making a little cleanup in vp9_entropymode.h
as well: removing redundant 'extern' keyword and moving all function
declarations at the end.

Change-Id: Ia16b38b46aec2e2500f5df29c40a297ae241dede

11 years agoMerge "Add a best_yrd shortcut in splitmv mode search."
Ronald S. Bultje [Wed, 17 Jul 2013 23:11:13 +0000 (16:11 -0700)]
Merge "Add a best_yrd shortcut in splitmv mode search."

11 years agoMerge "Skip redundant nearest/near/zero encodes in splitmv."
Ronald S. Bultje [Wed, 17 Jul 2013 23:10:51 +0000 (16:10 -0700)]
Merge "Skip redundant nearest/near/zero encodes in splitmv."

11 years agoMerge "Skip nearest/near/zero redundant encodes."
Ronald S. Bultje [Wed, 17 Jul 2013 23:10:41 +0000 (16:10 -0700)]
Merge "Skip nearest/near/zero redundant encodes."

11 years agoMerge "Best_rd breakout in rd partition search."
Ronald S. Bultje [Wed, 17 Jul 2013 23:10:22 +0000 (16:10 -0700)]
Merge "Best_rd breakout in rd partition search."

11 years agoMerge "Remove unnecessary calling of vp9_init_quantizer()"
Yunqing Wang [Wed, 17 Jul 2013 22:47:17 +0000 (15:47 -0700)]
Merge "Remove unnecessary calling of vp9_init_quantizer()"

11 years agoRemove unnecessary calling of vp9_init_quantizer()
Yunqing Wang [Wed, 17 Jul 2013 21:59:00 +0000 (14:59 -0700)]
Remove unnecessary calling of vp9_init_quantizer()

vp9_init_quantizer() is called in vp9_create_compressor(), and
should not be called in vp9_set_speed_features().

Change-Id: Ic2f1f4b0531b9d46bb841d7e1d8da9812207dad6

11 years agoMerge "Remove unnecessary buffer copy in idct4x4."
hkuang [Wed, 17 Jul 2013 21:51:53 +0000 (14:51 -0700)]
Merge "Remove unnecessary buffer copy in idct4x4."

11 years agoMerge "changed mode checking order"
Yaowu Xu [Wed, 17 Jul 2013 21:44:40 +0000 (14:44 -0700)]
Merge "changed mode checking order"

11 years agoMerge changes Ieffea49e,Idf610746
Dmitry Kovalev [Wed, 17 Jul 2013 21:44:20 +0000 (14:44 -0700)]
Merge changes Ieffea49e,Idf610746

* changes:
  Removing two unused arguments from vp9_inc_mv signature.
  Changing signature of vp9_get_pred_probs_tx_size.

11 years agoMerge "Removing experimental code from vp9_entropymv.c."
Dmitry Kovalev [Wed, 17 Jul 2013 21:43:45 +0000 (14:43 -0700)]
Merge "Removing experimental code from vp9_entropymv.c."

11 years agoMerge "Adding read_comp_pred function."
Dmitry Kovalev [Wed, 17 Jul 2013 21:26:34 +0000 (14:26 -0700)]
Merge "Adding read_comp_pred function."

11 years agoAdd a best_yrd shortcut in splitmv mode search.
Ronald S. Bultje [Wed, 17 Jul 2013 21:21:44 +0000 (14:21 -0700)]
Add a best_yrd shortcut in splitmv mode search.

Encoding of first 50 frames of bus (speed 0) @ 1500kbps goes from
1min6.2 to 1min5.9, i.e. 0.5% faster overall.

Change-Id: I59d8a3b2f0a75010fa041d5e2646c8caac5bd683

11 years agoRemove unnecessary buffer copy in idct4x4.
hkuang [Wed, 17 Jul 2013 21:18:59 +0000 (14:18 -0700)]
Remove unnecessary buffer copy in idct4x4.

Change-Id: I386066b9bcfb4bffb582e6827af36ca0181f6a83

11 years agoSkip redundant nearest/near/zero encodes in splitmv.
Ronald S. Bultje [Wed, 17 Jul 2013 20:53:35 +0000 (13:53 -0700)]
Skip redundant nearest/near/zero encodes in splitmv.

Encode of first 50 frames of bus @ 1500kbps (speed 0) goes from
1min7.3 to 1min6.2, i.e. 1.7% faster overall.

Change-Id: I19d2deacfbffadd61d32551cee9586757ab4a987

11 years agochanged mode checking order
Yaowu Xu [Wed, 17 Jul 2013 19:07:48 +0000 (12:07 -0700)]
changed mode checking order

Change-Id: Ic4c4b363ed840935e42f495f13ea5e601a56f1b2

11 years agoSkip nearest/near/zero redundant encodes.
Ronald S. Bultje [Wed, 17 Jul 2013 18:33:15 +0000 (11:33 -0700)]
Skip nearest/near/zero redundant encodes.

Encode of first 50 frames of bus @ 1500kbps (speed 0) goes from 1min12.8
to 1min7.3, i.e. 8% faster.

Change-Id: Ia22d1c7b687316c553cc60eacae988b24e175b62

11 years agoEnable disable_splitmv feature for other speeds
Yunqing Wang [Wed, 17 Jul 2013 16:37:14 +0000 (09:37 -0700)]
Enable disable_splitmv feature for other speeds

Added disable_splitmv feature at other speed levels. For speed 3 or
above, always turn it on.

Change-Id: Ibb36f0a7ef12a34b4f8d0f9cb6193eab43b34360

11 years agoRemoving experimental code from vp9_entropymv.c.
Dmitry Kovalev [Wed, 17 Jul 2013 17:25:09 +0000 (10:25 -0700)]
Removing experimental code from vp9_entropymv.c.

Change-Id: I340d06e3bc32c78358654496503cccd4196cbe2e

11 years agoMerge "vp9_convolve8_neon placeholder"
Johann [Wed, 17 Jul 2013 17:09:00 +0000 (10:09 -0700)]
Merge "vp9_convolve8_neon placeholder"

11 years agoBest_rd breakout in rd partition search.
Ronald S. Bultje [Wed, 17 Jul 2013 16:56:46 +0000 (09:56 -0700)]
Best_rd breakout in rd partition search.

About 15% faster for bus (speed 0) first 50 frames @ 1500kbps, which
goes from 1min36 to 1min24. Results become slightly better (+0.2% on
derf/yt, +0.4% on hd), probably because of a bugfix for skipmode in
super_block_yrd(). Overall speed change (on derfraw300) is roughly
-13%. This can probably be improved further by caching best_yrd
between partition searches. Also, we might be able to get more
speedups by always doing PARTITION_NONE before PARTITIONS_SPLIT, not
just at the sb8x8 level.

Change-Id: I83736949ebd5b4a3b400ee688d7661913fefc98b

11 years agoDo a skip-block check for sub8x8 partitions also.
Ronald S. Bultje [Wed, 10 Jul 2013 22:18:52 +0000 (15:18 -0700)]
Do a skip-block check for sub8x8 partitions also.

+0.2% SSIM and glbPSNR on derfraw300.

Change-Id: I9cba0bca55e606a22f557c7732b064f738efe84d

11 years agoSpeed up motion estimation using small partitions' result(experiment)
Yunqing Wang [Wed, 3 Jul 2013 21:43:23 +0000 (14:43 -0700)]
Speed up motion estimation using small partitions' result(experiment)

Current partition checking starts from small sizes, and then goes up
to large sizes. This experiment uses the small partitions' motion
estimation result, which is already available, to speed up the
large partition's motion estimation. We can decide to skip some
patition checkings if they are unlikely choices. We could use the
motion vector(MV) result as current partition's prediction MV, limit
the search range and reference frame.

Current result at speed 1:
psnr loss: 1.19% for stdhd, 0.287% for derf.
speed gain: 14% for sunflower(hd), 11% for akiyo.

Further improvement will be done later.

Change-Id: I5abfd070e9cace2e91e2a0247d1325df313887ab

11 years agovp9_convolve8_neon placeholder
Johann [Tue, 16 Jul 2013 17:13:06 +0000 (10:13 -0700)]
vp9_convolve8_neon placeholder

Call the individually optimized horizontal and vertical functions. This
implementation abuses the temp buffer.

This will be replaced with a custom optimized function.

Over 2x speedup.

Change-Id: I5b908d2a73d264e9810d6022bbff73207a3055dd

11 years agoMerge "added missed replacement"
Yaowu Xu [Wed, 17 Jul 2013 14:46:04 +0000 (07:46 -0700)]
Merge "added missed replacement"

11 years agoMerge "Move uv intra mode selection in rd loop."
Paul Wilkins [Wed, 17 Jul 2013 12:19:26 +0000 (05:19 -0700)]
Merge "Move uv intra mode selection in rd loop."

11 years agoMerge "Limit transform sizes searched for uv intra."
Paul Wilkins [Wed, 17 Jul 2013 10:40:11 +0000 (03:40 -0700)]
Merge "Limit transform sizes searched for uv intra."

11 years agoMove uv intra mode selection in rd loop.
Paul Wilkins [Tue, 16 Jul 2013 17:12:34 +0000 (18:12 +0100)]
Move uv intra mode selection in rd loop.

Use an estimate based on DC_PRED for intra uv cost
within the rd loop then only do a full uv mode analysis
if an intra mode is chosen.

Significant speed gains in some cases. Currently only
enabled for speed 2 pending speed/quality tests.

Change-Id: Ie851a12400d5483bce47ec0e3ccb8516041e91c0

11 years agoLimit transform sizes searched for uv intra.
Paul Wilkins [Tue, 16 Jul 2013 14:56:42 +0000 (15:56 +0100)]
Limit transform sizes searched for uv intra.

Apply limit if search_method == USE_LARGESTALL
to the range of UV tx sizes searched.

Change-Id: I6db29f0dd237285ffc50d75a37e8b68151ad821c

11 years agoMerge "Minor cleanup in code to fine uv tx_size."
Paul Wilkins [Wed, 17 Jul 2013 09:50:09 +0000 (02:50 -0700)]
Merge "Minor cleanup in code to fine uv tx_size."

11 years agoMerge "Removing MV_GROUP_UPDATE define and corresponding code."
Dmitry Kovalev [Wed, 17 Jul 2013 04:09:00 +0000 (21:09 -0700)]
Merge "Removing MV_GROUP_UPDATE define and corresponding code."

11 years agoMerge "Skip redundant motion search in 4x4 level rd loop"
Jingning Han [Wed, 17 Jul 2013 03:54:25 +0000 (20:54 -0700)]
Merge "Skip redundant motion search in 4x4 level rd loop"

11 years agoAdding read_comp_pred function.
Dmitry Kovalev [Wed, 17 Jul 2013 03:20:25 +0000 (20:20 -0700)]
Adding read_comp_pred function.

Removing old debug code from vp9_decodemv.c.

Change-Id: I51a6d5fe6a2f6583a1555e692bb1ee5a5b315d6c

11 years agoSkip redundant motion search in 4x4 level rd loop
Jingning Han [Tue, 16 Jul 2013 19:04:07 +0000 (12:04 -0700)]
Skip redundant motion search in 4x4 level rd loop

This commit makes the encoder to perform motion search only once
per reference frame type for each 4x4/4x8/8x4 block. For bus_cif
at 2000 kbps, the runtime goes from 253812ms -> 217817ms
(14% speed-up) for speed 0.

Change-Id: I5f17599ccc8cfaf93ccb4f98fcb6008af6d79e92

11 years agoadded missed replacement
Yaowu Xu [Wed, 17 Jul 2013 00:12:45 +0000 (17:12 -0700)]
added missed replacement

Change-Id: I2bce6f381fef0729b4dd5eb09ccb609f2eddd7ef

11 years agoRemoving two unused arguments from vp9_inc_mv signature.
Dmitry Kovalev [Wed, 17 Jul 2013 00:01:08 +0000 (17:01 -0700)]
Removing two unused arguments from vp9_inc_mv signature.

Change-Id: Ieffea49eb7a5e5092f21f8694c546aff69b07c6d

11 years agoChanging signature of vp9_get_pred_probs_tx_size.
Dmitry Kovalev [Tue, 16 Jul 2013 23:34:54 +0000 (16:34 -0700)]
Changing signature of vp9_get_pred_probs_tx_size.

Removing VP9_COMMON* argument and adding struct tx_probs* instead of
MACROBLOCKD*.

Change-Id: Idf61074631a90ec51eac22c8dcd977f44ac0757c

11 years agoMerge "Loop filter code cleanup."
Dmitry Kovalev [Tue, 16 Jul 2013 22:55:17 +0000 (15:55 -0700)]
Merge "Loop filter code cleanup."

11 years agoRemoving MV_GROUP_UPDATE define and corresponding code.
Dmitry Kovalev [Tue, 16 Jul 2013 22:03:00 +0000 (15:03 -0700)]
Removing MV_GROUP_UPDATE define and corresponding code.

Change-Id: I4884cdc2557d25d50c7c4f7e19b1ad8bdb93cd63

11 years agoCleaning up tile code.
Dmitry Kovalev [Tue, 16 Jul 2013 21:47:15 +0000 (14:47 -0700)]
Cleaning up tile code.

Removing tile_rows and tile_columns from VP9Common, removing redundant
constants MIN_TILE_WIDTH and MAX_TILE_WIDTH, changing signature of
vp9_get_tile_n_bits.

Change-Id: I8ff3104a38179b2c6900df965c144c1d6f602267

11 years agoLoop filter code cleanup.
Dmitry Kovalev [Tue, 16 Jul 2013 21:39:31 +0000 (14:39 -0700)]
Loop filter code cleanup.

Cosmetic code changes, renaming 'flat' local var to 'mask', removing
unused field 'blim' from loopfilter_info_n and loop_filter_info structs.

Change-Id: I51e6ccf727fe361ad9a08e29e1201aa7abd4987f

11 years agoMerge changes I40454d26,I892e76d5,I865ab3f9,I4a4bec17,I61c4351e,I37eb3559,I1031c556...
James Zern [Tue, 16 Jul 2013 21:25:32 +0000 (14:25 -0700)]
Merge changes I40454d26,I892e76d5,I865ab3f9,I4a4bec17,I61c4351e,I37eb3559,I1031c556,I8c8f1f42

* changes:
  delete vp9_loopfilter_sse2.asm
  vp9_loopfilter_intrin_sse2: cosmetics: fix indent
  delete x86/vp9_loopfilter_x86.h
  vp9_loopfilter_intrin_sse2: make some funcs static
  vp9_loopfilter_intrin_sse2: remove unused uv funcs
  vp9_loopfilter: remove uv function typedef
  filter_block_plane: reuse some constants
  vp9_loopfilter.c: make some functions static

11 years agoMerge "use consistent framerate naming"
James Zern [Tue, 16 Jul 2013 21:22:52 +0000 (14:22 -0700)]
Merge "use consistent framerate naming"

11 years agouse consistent framerate naming
James Zern [Sat, 13 Jul 2013 00:12:46 +0000 (17:12 -0700)]
use consistent framerate naming

s/frame_rate/framerate/g

Change-Id: I6fc3e088e419c5f46e3a9390dd8a2cad2677a2fc

11 years agoMerge "SSE2 16x16 inverse ADST/DCT hybrid transform"
Jingning Han [Tue, 16 Jul 2013 21:04:04 +0000 (14:04 -0700)]
Merge "SSE2 16x16 inverse ADST/DCT hybrid transform"

11 years agoMerge "Rewriting vp9_set_pred_flag_{seg_id, mbskip}."
Dmitry Kovalev [Tue, 16 Jul 2013 20:34:42 +0000 (13:34 -0700)]
Merge "Rewriting vp9_set_pred_flag_{seg_id, mbskip}."

11 years agoMerge "Moving vp9_kf_default_bmode_probs to vp9_entropymode.c."
Dmitry Kovalev [Tue, 16 Jul 2013 20:26:53 +0000 (13:26 -0700)]
Merge "Moving vp9_kf_default_bmode_probs to vp9_entropymode.c."

11 years agodelete vp9_loopfilter_sse2.asm
James Zern [Sun, 14 Jul 2013 02:08:13 +0000 (19:08 -0700)]
delete vp9_loopfilter_sse2.asm

sse2 functions are provided by vp9_loopfilter_intrin_sse2.c

Change-Id: I40454d26034e3ef915eeaf889937fe7d1b519b9b

11 years agovp9_loopfilter_intrin_sse2: cosmetics: fix indent
James Zern [Sun, 14 Jul 2013 02:07:20 +0000 (19:07 -0700)]
vp9_loopfilter_intrin_sse2: cosmetics: fix indent

Change-Id: I892e76d5ad1443b2ea0d1a7839fe26afe9c68ffb

11 years agodelete x86/vp9_loopfilter_x86.h
James Zern [Sun, 14 Jul 2013 01:50:55 +0000 (18:50 -0700)]
delete x86/vp9_loopfilter_x86.h

also remove prototype_loopfilter{,_block} defines from vp9_loopfilter.h

Change-Id: I865ab3f9436c7b1ca166f76630328abf01389405

11 years agoMerge "vp9: remove frames_{since,till}.. from MACROBLOCKD"
James Zern [Tue, 16 Jul 2013 20:00:14 +0000 (13:00 -0700)]
Merge "vp9: remove frames_{since,till}.. from MACROBLOCKD"

11 years agoMerge "Cosmetic changes in 4x4 and 8x8 fdct unit tests"
James Zern [Tue, 16 Jul 2013 19:55:42 +0000 (12:55 -0700)]
Merge "Cosmetic changes in 4x4 and 8x8 fdct unit tests"

11 years agoSSE2 16x16 inverse ADST/DCT hybrid transform
Jingning Han [Mon, 15 Jul 2013 18:05:31 +0000 (11:05 -0700)]
SSE2 16x16 inverse ADST/DCT hybrid transform

This commit enables SSE2 implementation of 16x16 inverse ADST/DCT
hybrid transform. The runtime goes from 5742 cycles -> 1821 cycles.
This provides about 1% encoding speed-up at speed 0.

Change-Id: I1678d0988bf30b9efd524877705bbb3645edb17b

11 years agoMerge "VP[89]_COMMON: remove unused near_boffset"
James Zern [Tue, 16 Jul 2013 19:17:04 +0000 (12:17 -0700)]
Merge "VP[89]_COMMON: remove unused near_boffset"

11 years agoMerge "VP9_COMMON: remove unused framerate/bitrate"
James Zern [Tue, 16 Jul 2013 19:16:37 +0000 (12:16 -0700)]
Merge "VP9_COMMON: remove unused framerate/bitrate"

11 years agoMerge "yv12config: remove YUV_TYPE"
James Zern [Tue, 16 Jul 2013 19:16:04 +0000 (12:16 -0700)]
Merge "yv12config: remove YUV_TYPE"