Dmitry Kovalev
9239e96536
Removing get_mi_{row, col} functions.
...
Passing mi_row and mi_col parameters to functions explicitly. Removing
unused xd argument from scale_mv function.
Change-Id: Icb4c495ec72d26fb066c14470d3ae0b741fbf18a
2013-07-31 14:06:55 -07:00
Dmitry Kovalev
8701bc11df
Consistent update for inter_mode probabilities.
...
Using inter-mode counts instead of inter-mode-tree branch counts inside
FRAME_COUNTS structure.
Change-Id: I60dde13af37d06146d7d15543311c1b5044e9e04
2013-07-30 18:06:34 -07:00
Adrian Grange
fbd73648dd
Merge "Cleanup typos, remove unnecessary lines, replace switch"
2013-07-30 12:59:46 -07:00
Adrian Grange
b30a06b930
Cleanup typos, remove unnecessary lines, replace switch
...
Removed unnecessary code lines, replaced switch with an if,
fixed spelling errors and formatting.
Change-Id: Ie48aa4604aa0ed48362ca359d792fb21b2ec1dc6
2013-07-30 12:10:32 -07:00
Jingning Han
5875d7a4a4
Merge "16x16 inverse 2D-DCT with DC only"
2013-07-29 15:29:25 -07:00
John Koleszar
9c6fafb25b
Merge "Remove unnecessary 64 byte alignment"
2013-07-29 15:09:15 -07:00
Jingning Han
a7c4de22e1
16x16 inverse 2D-DCT with DC only
...
This commit provides special handle on 16x16 inverse 2D-DCT, where
only DC coefficient is quantized to be non-zero value.
Change-Id: I7bf71be7fa13384fab453dc8742b5b50e77a277c
2013-07-29 14:45:53 -07:00
Dmitry Kovalev
828119d6ab
Renaming txfm to tx for consistency in some places.
...
Change-Id: I2a6a646570e2af66315e7c658d00d99f80c4b127
2013-07-29 14:35:55 -07:00
John Koleszar
a31effca75
Remove unnecessary 64 byte alignment
...
Fixes a warning on MSVS 2012 where the alignment of vp9_default_iscan_8x8
didn't match between its declaration and definition.
Change-Id: I1466a15635f4b22594d705d570b7e399bfb6cf21
2013-07-29 14:02:02 -07:00
Dmitry Kovalev
730a34416f
Renaming NB_TXFM_MODES constant to TX_MODES.
...
Change-Id: I10bf06e3a3d5271221ae6a42a36074d01d493039
2013-07-29 13:38:40 -07:00
Dmitry Kovalev
23391ea835
Renaming TX_SIZE_MAX_SB to TX_SIZES.
...
Change-Id: I6aa4191935aa93461a07c41b59fdae1eb5f5f107
2013-07-29 12:25:34 -07:00
Dmitry Kovalev
cc0ff7ecfa
Cleanup: replacing xd->mode_info_context with temp variable.
...
Change-Id: I5a3e83102784cabb918a5404405fcab99c5bb9b6
2013-07-26 19:05:37 -07:00
Ronald S. Bultje
6f3054b65d
Merge "d45 intra prediction SSSE3 optimizations."
2013-07-26 17:21:09 -07:00
Jingning Han
b9c3dd481a
Merge "Special handle on DC only inverse 8x8 2D-DCT"
2013-07-26 16:04:14 -07:00
hkuang
aaa9755746
Merge "Fix some format error and code error in neon code."
2013-07-26 15:24:28 -07:00
Jingning Han
325e0aa650
Special handle on DC only inverse 8x8 2D-DCT
...
This commit enables a special handle for the 8x8 inverse 2D-DCT,
where only DC coefficient is quantized to be non-zero. For bus_cif
at 2000 kbps, it provides about 1% speed-up at speed 0.
Change-Id: I2523222359eec26b144cf8fd4c63a4ad63b1b011
2013-07-26 14:16:51 -07:00
hkuang
588b4daf54
Fix some format error and code error in neon code.
...
Change-Id: I748dee8938dfb19f417f24eed005f3d216f83a82
2013-07-26 14:14:57 -07:00
Dmitry Kovalev
c09b81719f
Merge "General cleanups."
2013-07-26 13:59:39 -07:00
Ronald S. Bultje
94b0c6791d
d45 intra prediction SSSE3 optimizations.
...
Change-Id: Ie48035ff4f93c41f8a9b3023e6444fd10432d8fb
2013-07-26 13:30:02 -07:00
Johann
6c8ef8d957
Add const to vp9_accum_mv_refs parameter
...
Change-Id: I0625d8ffddf590dfecd1bb8b8d6f57ef64b8bf18
2013-07-25 14:25:33 -07:00
Dmitry Kovalev
7131cb0e3d
General cleanups.
...
Removing unused constants, macros, and function declarations. Using
ROUND_POWER_OF_TWO macro, vp9_zero, vp9_copy where possible. Moving
#include from *.h to *.c. Merging for loops for motion vectors.
Change-Id: Ic3bf841764a2bb177128bb3a6d7aa8f68229cd13
2013-07-25 14:13:48 -07:00
Dmitry Kovalev
08fd41ccd7
Adding lookup table for size group.
...
Change-Id: Ia6144d77ebed66e0739b62e4d673e26a95aa9550
2013-07-25 12:58:54 -07:00
Dmitry Kovalev
be00d3970d
Merge "Removing duplicated code for merging two probabilities."
2013-07-25 12:52:26 -07:00
Dmitry Kovalev
d604914f09
Merge "Removing vp9_adapt_mode_context function."
2013-07-25 12:46:31 -07:00
Dmitry Kovalev
f7ece83141
Merge "Inlining inc_mv_component_count function."
2013-07-25 12:45:23 -07:00
Dmitry Kovalev
778989a097
Removing duplicated PREDICTION_PROBS constant.
...
Already defined in vp9_seg_common.h.
Change-Id: I5a0e3fa15966b1ebeb77ccd506b55fc231c22342
2013-07-25 11:08:21 -07:00
Dmitry Kovalev
47d61f008f
Removing vp9_adapt_mode_context function.
...
Moving code from vp9_adapt_mode_context to vp9_adapt_mode_probs.
Change-Id: I60829c30b28968cd813551ef3a206dfb98d323c9
2013-07-25 10:48:45 -07:00
Jingning Han
384e37e32b
SSE2 inverse 4x4 2D-DCT with DC only
...
Add SSE2 implementation to handle the special case of inverse 2D-DCT
where only DC coefficient is non-zero.
Change-Id: I2c6a59e21e5e77b8cf39a4af5eecf4d5ade32e2f
2013-07-24 23:19:56 -07:00
Jingning Han
91fa12429c
Merge "Merge vp9_dc_only_idct_add and vp9_short_idct4x4_1"
2013-07-24 23:18:24 -07:00
Dmitry Kovalev
40358dc406
Removing duplicated code for merging two probabilities.
...
Adding common merge_probs and merge_probs2 functions. Changing ints to
usigned ints in some places.
Change-Id: Icf088ffdea7cf5b95284a128916409bdd53506b0
2013-07-24 17:44:04 -07:00
Dmitry Kovalev
4450fa4cd9
Inlining vp9_init_mode_contexts function.
...
Change-Id: I21ee76bcae101cc9f6ef1d867622e50b7ae565fc
2013-07-24 17:03:03 -07:00
Jingning Han
d2de1ca37b
Merge vp9_dc_only_idct_add and vp9_short_idct4x4_1
...
They share the same functionality, so merging together.
Change-Id: I98a0386fcee052cb854f9ff90c283c1b844bcb79
2013-07-24 16:51:15 -07:00
Dmitry Kovalev
fcc34796d2
Removing CONFIG_BALANCED_COEFTREE experiment.
...
Change-Id: I61a8b0101eac3ee2e0621d56151b90c269fd4db4
2013-07-24 15:53:42 -07:00
Dmitry Kovalev
1787b00214
Merge "Adding condition inside get_tx_type_{4x4, 8x8, 16x16}."
2013-07-24 15:23:22 -07:00
Dmitry Kovalev
0064958c71
Inlining inc_mv_component_count function.
...
Change-Id: Ic99d07a56b1752ec49fc5074b1dd6804b17609a0
2013-07-24 15:03:00 -07:00
Dmitry Kovalev
9139ee0908
Adding condition inside get_tx_type_{4x4, 8x8, 16x16}.
...
Adding plane type check condition because it was always used outside of
get_tx_type_{4x4, 8x8, 16x16}.
Change-Id: I02f0bbfee8063474865bd903eb25b54d26e07230
2013-07-24 12:55:45 -07:00
James Zern
9e29b4cd54
Merge "vp9_find_mv_refs_idx: remove unused split_count"
2013-07-24 12:49:15 -07:00
James Zern
e6c0387edd
vp9_find_mv_refs_idx: remove unused split_count
...
variable was write only
Change-Id: I04b002178f66961836ee08fb60a05b91b54e91d8
2013-07-24 11:51:37 -07:00
Ronald S. Bultje
47336afd8d
Merge "More optimizations for cost_coeffs()."
2013-07-23 21:36:12 -07:00
Dmitry Kovalev
1099a436d3
Moving counts from FRAME_CONTEXT to new struct FRAME_COUNTS.
...
Counts are separate from frame context. We have several frame contexts but
need only one copy of all counts.
Change-Id: I5279b0321cb450bbea7049adaa9275306a7cef7d
2013-07-23 17:02:08 -07:00
Dmitry Kovalev
8d13b0d1df
Removing LOW_PRECISION_MV_UPDATE define.
...
Change-Id: I78d16ee758e1fae0200b746f00031f6d9c6d6ce7
2013-07-23 15:41:45 -07:00
Dmitry Kovalev
db7f5d28b9
Removing vp9_is_interpolating_filter array.
...
All filters are interpolating now, so we don't need this array, all
values from this array are evaluated to true.
Change-Id: I9af6d8219ae0eb984063cd15e4e2296374ae4961
2013-07-23 14:24:39 -07:00
Dmitry Kovalev
2855d8aea1
Merge "Adding update_tx_counts function."
2013-07-23 13:57:59 -07:00
Dmitry Kovalev
0d59d6efcd
Merge "Removing MODE_COUNT_TESTING from vp9_entropymode.c."
2013-07-23 13:57:05 -07:00
Dmitry Kovalev
9c2c17dec7
Merge "Cleanup inside vp9_get_pred_context_tx_size."
2013-07-23 12:45:49 -07:00
Dmitry Kovalev
a97d4ab123
Removing MODE_COUNT_TESTING from vp9_entropymode.c.
...
Change-Id: I5367bc1d9e660d86879d285a6f146d8a47e62464
2013-07-23 12:37:41 -07:00
James Zern
8dede954c7
Merge "vp9: make some static tables const"
2013-07-23 11:37:01 -07:00
James Zern
c3871f8f70
Merge "VP9_COMMON: remove unused temp_scale_frame"
2013-07-23 10:30:55 -07:00
Paul Wilkins
cedd24ec61
Merge "Renaming of segment constants."
2013-07-23 08:16:12 -07:00
Jim Bankoski
86a9dec73c
clean up bw, bh
...
many structures use bw and bh and they have different meanings. This cl attempts
to start this clean up and remove unneccessary 2 step look up log and then
shift operations...
also removed partition type multiple operation code in bitstream.c.
Change-Id: I7e03e552bdfc0939738e430862e3073d30fdd5db
2013-07-23 06:51:44 -07:00