platform/upstream/libvpx.git
11 years agoMerge "vp9_postproc: remove useless self-assign"
James Zern [Fri, 12 Jul 2013 22:41:41 +0000 (15:41 -0700)]
Merge "vp9_postproc: remove useless self-assign"

11 years agoMerge "Code cleanup in vp9_pred_common.c"
Dmitry Kovalev [Fri, 12 Jul 2013 22:04:07 +0000 (15:04 -0700)]
Merge "Code cleanup in vp9_pred_common.c"

11 years agovp9_postproc: remove useless self-assign
James Zern [Fri, 12 Jul 2013 21:17:15 +0000 (14:17 -0700)]
vp9_postproc: remove useless self-assign

Change-Id: I0bc5d2d8c9fec8be18263b0dc2528886bb5b7b61

11 years agoCode cleanup in vp9_pred_common.c
Dmitry Kovalev [Fri, 12 Jul 2013 21:11:48 +0000 (14:11 -0700)]
Code cleanup in vp9_pred_common.c

No bitstream changes. Using MB_MODE_INFO temp variables instead of
MODE_INFO variables. Removing redundant curly braces.

Change-Id: Ib9d1bedfbd8af97ecc722ccf697ea8177bbe287c

11 years agovp9: consistent 'log2' variable naming
James Zern [Fri, 12 Jul 2013 18:37:43 +0000 (11:37 -0700)]
vp9: consistent 'log2' variable naming

lg2 -> log2

Change-Id: I0602ddff49e42c9c40c29c084d04b7592b9f8edf

11 years agoMerge changes I33e76c42,I24aeac1e,If4192b40
James Zern [Fri, 12 Jul 2013 18:10:18 +0000 (11:10 -0700)]
Merge changes I33e76c42,I24aeac1e,If4192b40

* changes:
  vp9_dx_iface: s/vp8/vp9/ where possible
  vp[89]_dx_iface: delete unused function
  vp[89]_dx_iface: factorize vp8_mmap_*()

11 years agovp9_dx_iface: s/vp8/vp9/ where possible
James Zern [Fri, 12 Jul 2013 06:16:22 +0000 (23:16 -0700)]
vp9_dx_iface: s/vp8/vp9/ where possible

drop 'vp9_' from most static functions unrelated to the codec interface
itself.

Change-Id: I33e76c425bb7373570a57a61662a56d65ab4bdf3

11 years agoMerge "msvs-build: use msbuild for vs >= 2005"
James Zern [Fri, 12 Jul 2013 17:59:35 +0000 (10:59 -0700)]
Merge "msvs-build: use msbuild for vs >= 2005"

11 years agoSome minor cleanups for efficiency
Deb Mukherjee [Wed, 10 Jul 2013 23:51:07 +0000 (16:51 -0700)]
Some minor cleanups for efficiency

Implements some of the helper functions more efficiently with
lookups rathers than branches. Modeling function is consolidated
to reduce some computations.

Also merged the two enums BLOCK_SIZE_TYPES and BlockSize into
one because there is no need to keep them separate (even though
the semantics are a little different).

No bitstream or output change.

About 0.5% speedup

Change-Id: I7d71a66e8031ddb340744dc493f22976052b8f9f

11 years agoMerge "Removing redundant code mostly from vp9_pred_common.{h, c}."
Dmitry Kovalev [Fri, 12 Jul 2013 17:22:30 +0000 (10:22 -0700)]
Merge "Removing redundant code mostly from vp9_pred_common.{h, c}."

11 years agoMerge "Speed 2 feature adjustment."
Paul Wilkins [Fri, 12 Jul 2013 09:14:01 +0000 (02:14 -0700)]
Merge "Speed 2 feature adjustment."

11 years agovp[89]_dx_iface: delete unused function
James Zern [Fri, 12 Jul 2013 06:03:24 +0000 (23:03 -0700)]
vp[89]_dx_iface: delete unused function

static mmap_lkup

Change-Id: I24aeac1eca8453e28d58bc06925e58efc228a0a6

11 years agovp[89]_dx_iface: factorize vp8_mmap_*()
James Zern [Fri, 12 Jul 2013 06:01:26 +0000 (23:01 -0700)]
vp[89]_dx_iface: factorize vp8_mmap_*()

s/vp8/vpx/ -> vpx_codec_internal.h / vpx_codec.c

Change-Id: If4192b40206276a761b01d44e334fe15bcb81128

11 years agoMerge "Cosmetic changes in 16x16 ADST/DCT unit test"
Jingning Han [Fri, 12 Jul 2013 04:52:39 +0000 (21:52 -0700)]
Merge "Cosmetic changes in 16x16 ADST/DCT unit test"

11 years agoMerge "Remove unnecessary tx_type branch in encode_block"
Jingning Han [Fri, 12 Jul 2013 04:52:27 +0000 (21:52 -0700)]
Merge "Remove unnecessary tx_type branch in encode_block"

11 years agoRemoving redundant code mostly from vp9_pred_common.{h, c}.
Dmitry Kovalev [Fri, 12 Jul 2013 01:39:10 +0000 (18:39 -0700)]
Removing redundant code mostly from vp9_pred_common.{h, c}.

Removing redundant function arguments and curly braces.

Change-Id: I46e02561f33fe02e84a3b19756f03b9504bd6a1b

11 years agoRemove unused function block_error().
Ronald S. Bultje [Thu, 11 Jul 2013 19:11:45 +0000 (12:11 -0700)]
Remove unused function block_error().

Change-Id: I78a79fc51c2d7cc3c261f35b569155397f3dc0c4

11 years agoMerge "vp9: fix peek_si for version==0"
James Zern [Thu, 11 Jul 2013 22:51:39 +0000 (15:51 -0700)]
Merge "vp9: fix peek_si for version==0"

11 years agoMerge "small update to peek_si/get_si documentation"
James Zern [Thu, 11 Jul 2013 22:47:11 +0000 (15:47 -0700)]
Merge "small update to peek_si/get_si documentation"

11 years agoMerge "Calling is_inter_mode() instead of custom code."
Dmitry Kovalev [Thu, 11 Jul 2013 22:20:14 +0000 (15:20 -0700)]
Merge "Calling is_inter_mode() instead of custom code."

11 years agoMerge "SSE2 4x4 invserse ADST/DCT transform"
Jingning Han [Thu, 11 Jul 2013 21:17:23 +0000 (14:17 -0700)]
Merge "SSE2 4x4 invserse ADST/DCT transform"

11 years agoCalling is_inter_mode() instead of custom code.
Dmitry Kovalev [Thu, 11 Jul 2013 21:14:47 +0000 (14:14 -0700)]
Calling is_inter_mode() instead of custom code.

Change-Id: Iccd4ab95ea51a6d57ed43947f2fd7ad92e8979cf

11 years agoMerge "Making vp9_default_nmv_context static."
Dmitry Kovalev [Thu, 11 Jul 2013 20:58:34 +0000 (13:58 -0700)]
Merge "Making vp9_default_nmv_context static."

11 years agosmall update to peek_si/get_si documentation
James Zern [Thu, 11 Jul 2013 19:23:28 +0000 (12:23 -0700)]
small update to peek_si/get_si documentation

correct a doxygen and function reference

Change-Id: I525371d64969aa60c464d0f6a133bc29895d7991

11 years agovp9: fix peek_si for version==0
James Zern [Thu, 11 Jul 2013 01:45:57 +0000 (18:45 -0700)]
vp9: fix peek_si for version==0

Change-Id: I6bfec4fa50dfc1a953edb1a2aa8e97e6e896bed6

11 years agoMoving segmentation related vars into separate struct.
Dmitry Kovalev [Wed, 10 Jul 2013 19:29:43 +0000 (12:29 -0700)]
Moving segmentation related vars into separate struct.

Adding segmentation struct to vp9_seg_common.h. Struct members are from
macroblockd and VP9Common structs. Moving segmentation related constants
and enums to vp9_seg_common.h.

Change-Id: I23fabc33f11a359249f5f80d161daf569d02ec03

11 years agoMerge "Adding write_compressed_header function."
Dmitry Kovalev [Thu, 11 Jul 2013 18:57:17 +0000 (11:57 -0700)]
Merge "Adding write_compressed_header function."

11 years agoMerge "Removing unused TOKENEXTRA arg from pick_sb_modes function."
Dmitry Kovalev [Thu, 11 Jul 2013 18:46:06 +0000 (11:46 -0700)]
Merge "Removing unused TOKENEXTRA arg from pick_sb_modes function."

11 years agoCosmetic changes in 16x16 ADST/DCT unit test
Jingning Han [Thu, 11 Jul 2013 16:37:25 +0000 (09:37 -0700)]
Cosmetic changes in 16x16 ADST/DCT unit test

Change-Id: Ic649e9e47d14d6f8cae0c443a425ea533a97ad8d

11 years agoconvolve8 optimizations for neon
Johann [Thu, 23 May 2013 19:50:41 +0000 (12:50 -0700)]
convolve8 optimizations for neon

Independent horizontal and vertical implementations.

Requires that blocks be built from 4x4 and [xy]_step_q4 == 16

6-10% improvement. CIF improved the least.

Change-Id: I137f5ceae4440adc0960bf88e4453e55a618bcda

11 years agoAdd neon optimize vp9_dc_only_idct_add.
hkuang [Tue, 9 Jul 2013 19:06:21 +0000 (12:06 -0700)]
Add neon optimize vp9_dc_only_idct_add.

Change-Id: Iae84ab945cc9662a0ddd839aa2b9ca59f2ae5423

11 years agoRemove unnecessary tx_type branch in encode_block
Jingning Han [Thu, 11 Jul 2013 16:09:41 +0000 (09:09 -0700)]
Remove unnecessary tx_type branch in encode_block

The function encode_block is called only by inter-prediction modes,
hence removing the transform type branching there.

Change-Id: I34a3172e28ce2388835efd0f8781922211bff857

11 years agoMerge "Wide loopfilter 16 pix at a time"
Jim Bankoski [Thu, 11 Jul 2013 13:44:02 +0000 (06:44 -0700)]
Merge "Wide loopfilter 16 pix at a time"

11 years agoSpeed 2 feature adjustment.
Paul Wilkins [Wed, 3 Jul 2013 16:54:06 +0000 (17:54 +0100)]
Speed 2 feature adjustment.

With sf->auto_mv_step_size on it is questionable
whether sf->reduce_first_step_size is worthwhile.
At speed 2 it was not having a big impact.

Even at speed 2 sf->optimize_coefficients = 0 is not
having a big speed imapct so for now I have moved it
down into a higher speed setting.

Change-Id: I8a54de76d486ad37aabce76474889da2768b14c1

11 years agoSSE2 4x4 invserse ADST/DCT transform
Jingning Han [Wed, 10 Jul 2013 19:11:09 +0000 (12:11 -0700)]
SSE2 4x4 invserse ADST/DCT transform

Enable SSE2 4x4 inverse ADST/DCT transform. The runtime goes from
292 cycles down to 89 cycles. Running bus_cif at 2000 kbps, the
overall runtime of speed 0 goes from 301s to 295s (2% speed-up).

Change-Id: I24098136e7fee7ab2fbf1c11755bdf2ca37f3628

11 years agoMerge "Fix tx_type bug in intra4x4 rd loop"
Jingning Han [Thu, 11 Jul 2013 03:13:25 +0000 (20:13 -0700)]
Merge "Fix tx_type bug in intra4x4 rd loop"

11 years agoReplace copy_memNxM functions with a generic copy/avg function.
Ronald S. Bultje [Wed, 10 Jul 2013 18:17:19 +0000 (11:17 -0700)]
Replace copy_memNxM functions with a generic copy/avg function.

Change-Id: I3ce849452ed4f08527de9565a9914d5ee36170aa

11 years agoRemove unused fwalsh/fdct x86 SIMD implementations.
Ronald S. Bultje [Wed, 10 Jul 2013 17:34:58 +0000 (10:34 -0700)]
Remove unused fwalsh/fdct x86 SIMD implementations.

Change-Id: Ia942e56cf322821d42ba06178672791eeee2847e

11 years agoMaking vp9_default_nmv_context static.
Dmitry Kovalev [Thu, 11 Jul 2013 00:44:45 +0000 (17:44 -0700)]
Making vp9_default_nmv_context static.

Change-Id: Ia3d5bd45adf288de11ab59c4728266c93c17e275

11 years agoMerge "Remove unused iwalsh4x4 MMX/SSE2 functions."
Ronald S. Bultje [Thu, 11 Jul 2013 00:08:46 +0000 (17:08 -0700)]
Merge "Remove unused iwalsh4x4 MMX/SSE2 functions."

11 years agoMerge "Remove unused 16x3/3x16 sad SSE2 functions."
Ronald S. Bultje [Thu, 11 Jul 2013 00:08:43 +0000 (17:08 -0700)]
Merge "Remove unused 16x3/3x16 sad SSE2 functions."

11 years agoWide loopfilter 16 pix at a time
John Koleszar [Wed, 12 Jun 2013 21:37:01 +0000 (14:37 -0700)]
Wide loopfilter 16 pix at a time

Where possible, do the 16 pixel wide filter while doing the horizontal
filtering pass. The same approach can be taken for the mbloop_filter
when that's implemented. Doing so on the vertical pass is a little more
involved, but possible.

Change-Id: I010cb505e623464247ae8f67fa25a0cdac091320

11 years agomsvs-build: use msbuild for vs >= 2005
James Zern [Sat, 6 Apr 2013 02:30:15 +0000 (19:30 -0700)]
msvs-build: use msbuild for vs >= 2005

allows concurrent builds via the /m command line option

Change-Id: I668792ba00276e8626dc175c0a44ddab35fc7114

11 years agoRemoving unused TOKENEXTRA arg from pick_sb_modes function.
Dmitry Kovalev [Wed, 10 Jul 2013 22:57:28 +0000 (15:57 -0700)]
Removing unused TOKENEXTRA arg from pick_sb_modes function.

Change-Id: I0543e72fa092eef3976b65e16bb597197c364873

11 years agoFix tx_type bug in intra4x4 rd loop
Jingning Han [Wed, 10 Jul 2013 22:45:34 +0000 (15:45 -0700)]
Fix tx_type bug in intra4x4 rd loop

This commit fixed the mis-use of the tx_type for inverse transform
in intra4x4 rate-distortion optimization loop. It improves the
overall coding performance.

Change-Id: I7fe9953175b74890357dbcee33c138573766e980

11 years agoMerge "Prunes out full-rd computation based on modeled rd"
Deb Mukherjee [Wed, 10 Jul 2013 22:37:11 +0000 (15:37 -0700)]
Merge "Prunes out full-rd computation based on modeled rd"

11 years agoMerge "Adding read_compressed_header function."
Dmitry Kovalev [Wed, 10 Jul 2013 22:11:08 +0000 (15:11 -0700)]
Merge "Adding read_compressed_header function."

11 years agoAdding write_compressed_header function.
Dmitry Kovalev [Wed, 10 Jul 2013 22:08:34 +0000 (15:08 -0700)]
Adding write_compressed_header function.

Change-Id: Ic5257fa8278e9b6297de230e4fd26a1e23ad2bb7

11 years agoconfigure with internal stats not working
Jim Bankoski [Wed, 10 Jul 2013 22:07:53 +0000 (15:07 -0700)]
configure with internal stats not working

Change-Id: I5dea4570cb05df27a522abf6e7b695998654284a

11 years agoRemove unused iwalsh4x4 MMX/SSE2 functions.
Ronald S. Bultje [Wed, 10 Jul 2013 17:27:42 +0000 (10:27 -0700)]
Remove unused iwalsh4x4 MMX/SSE2 functions.

Change-Id: I2d22577911a37ed7d8c7e08cac20764842267652

11 years agoRemove unused 16x3/3x16 sad SSE2 functions.
Ronald S. Bultje [Wed, 10 Jul 2013 17:23:41 +0000 (10:23 -0700)]
Remove unused 16x3/3x16 sad SSE2 functions.

Change-Id: I30a597c0cc366e34c9a3e2afe32d70e044f95ca4

11 years agoMerge "SSSE3 assembly for 4x4/8x8/16x16/32x32 H intra prediction."
Ronald S. Bultje [Wed, 10 Jul 2013 21:52:23 +0000 (14:52 -0700)]
Merge "SSSE3 assembly for 4x4/8x8/16x16/32x32 H intra prediction."

11 years agoMerge "SSE/SSE2 assembly for 4x4/8x8/16x16/32x32 TM intra prediction."
Ronald S. Bultje [Wed, 10 Jul 2013 21:52:19 +0000 (14:52 -0700)]
Merge "SSE/SSE2 assembly for 4x4/8x8/16x16/32x32 TM intra prediction."

11 years agoMerge "remove warnings when NDEBUG is set"
Jim Bankoski [Wed, 10 Jul 2013 21:39:39 +0000 (14:39 -0700)]
Merge "remove warnings when NDEBUG is set"

11 years agoremove warnings when NDEBUG is set
Jim Bankoski [Wed, 10 Jul 2013 21:27:20 +0000 (14:27 -0700)]
remove warnings when NDEBUG is set

Change-Id: Ie0cb732fdcb98616a422c4463bff80642248d136

11 years agoPrunes out full-rd computation based on modeled rd
Deb Mukherjee [Mon, 8 Jul 2013 23:01:01 +0000 (16:01 -0700)]
Prunes out full-rd computation based on modeled rd

Adds a speed feature to eliminate full-rd computation if the modeled
rd or rd based on a different parameter in the same mode is already
a lot larger than the best rd yet.

Specifically, only search the sharp and smooth filters if the modeled
rd cost based on the  regular filter is within a certain factor of the
best rd cost so far. Also, skip full-rd computation of non splitmv
inter modes if the modeled rd cost based on pred error is within the
same factor of the best rd cost so far.

Also adds some enhancements in the rd search for splitmv mode to
speed things up by early breakouts. Negligible impact on performance.

Resuts on derfraw300:
psnr:    -0.013% with the splitmv enhancements, -0.24% with the rd
         breakout feature on.
speedup: 6% with splitmv enhancements, 20% with also residual breakout
         (tested on football sequence at 600 Kbps)

Change-Id: I37abc308ea9f110c1679ce649b6a7e73ab1ad5fc

11 years agoMerge "msvc: set a more useful debug format"
James Zern [Wed, 10 Jul 2013 20:02:22 +0000 (13:02 -0700)]
Merge "msvc: set a more useful debug format"

11 years agoMerge "test_libvpx: disable pthreads in gtest for win targets"
James Zern [Wed, 10 Jul 2013 20:01:52 +0000 (13:01 -0700)]
Merge "test_libvpx: disable pthreads in gtest for win targets"

11 years agoSSE2 16x16 ADST/DCT hybrid transform
Jingning Han [Wed, 3 Jul 2013 16:05:01 +0000 (09:05 -0700)]
SSE2 16x16 ADST/DCT hybrid transform

This commit enables 16x16 ADST/DCT forward hybrid transform using SSE2
operations. It reduces the runtime from 5433 cycles to 1621 cycles, at
no compression performance loss.

Change-Id: I75fd7f1984e9e28846af459f810ff0d6ae125230

11 years agoMerge "Adding encode_tiles function to vp9_bitstream.c."
Dmitry Kovalev [Wed, 10 Jul 2013 18:43:50 +0000 (11:43 -0700)]
Merge "Adding encode_tiles function to vp9_bitstream.c."

11 years agoMerge "Add a feature to reduce chrome intra mode search"
Yaowu Xu [Wed, 10 Jul 2013 18:35:47 +0000 (11:35 -0700)]
Merge "Add a feature to reduce chrome intra mode search"

11 years agoMerge "Add unit test for 16x16 forward ADST/DCT"
Jingning Han [Wed, 10 Jul 2013 18:16:39 +0000 (11:16 -0700)]
Merge "Add unit test for 16x16 forward ADST/DCT"

11 years agoMerge "Bug fix: set frame_parallel_decoding_mode"
Scott LaVarnway [Wed, 10 Jul 2013 18:09:30 +0000 (11:09 -0700)]
Merge "Bug fix: set frame_parallel_decoding_mode"

11 years agoMerge "Fix intermediate height in convolve"
John Koleszar [Wed, 10 Jul 2013 18:04:40 +0000 (11:04 -0700)]
Merge "Fix intermediate height in convolve"

11 years agoAdding read_compressed_header function.
Dmitry Kovalev [Mon, 8 Jul 2013 18:54:36 +0000 (11:54 -0700)]
Adding read_compressed_header function.

Splitting setup_txfm_mode into read_tx_mode and read_tx_probs.

Change-Id: I5b4fe48698d56490857d32eafcaeb4291f208479

11 years agoMerge "SSE/SSE2 assembly for 4x4/8x8/16x16/32x32 V intra prediction."
Ronald S. Bultje [Wed, 10 Jul 2013 17:24:16 +0000 (10:24 -0700)]
Merge "SSE/SSE2 assembly for 4x4/8x8/16x16/32x32 V intra prediction."

11 years agoMerge "SSE/SSE2 assembly for 4x4/8x8/16x16/32x32 DC intra prediction."
Ronald S. Bultje [Wed, 10 Jul 2013 17:13:16 +0000 (10:13 -0700)]
Merge "SSE/SSE2 assembly for 4x4/8x8/16x16/32x32 DC intra prediction."

11 years agoMerge "Remove memcpy() in handle_inter_mode() filter selection."
Ronald S. Bultje [Wed, 10 Jul 2013 17:13:07 +0000 (10:13 -0700)]
Merge "Remove memcpy() in handle_inter_mode() filter selection."

11 years agoMerge "Removing vp9_maskingmv.c and corresponding assembly file."
Dmitry Kovalev [Wed, 10 Jul 2013 17:05:06 +0000 (10:05 -0700)]
Merge "Removing vp9_maskingmv.c and corresponding assembly file."

11 years agoAdd unit test for 16x16 forward ADST/DCT
Jingning Han [Tue, 9 Jul 2013 23:16:49 +0000 (16:16 -0700)]
Add unit test for 16x16 forward ADST/DCT

Unit tests on the functional accuracy of forward ADST/DCT.

Change-Id: I81afff866bdeacbd457b0af96993a035741657f6

11 years agoSSSE3 assembly for 4x4/8x8/16x16/32x32 H intra prediction.
Ronald S. Bultje [Tue, 9 Jul 2013 23:18:28 +0000 (16:18 -0700)]
SSSE3 assembly for 4x4/8x8/16x16/32x32 H intra prediction.

Change-Id: Iad70966b986f65259329070e258f76ef0af816b4

11 years agoSSE/SSE2 assembly for 4x4/8x8/16x16/32x32 TM intra prediction.
Ronald S. Bultje [Wed, 10 Jul 2013 02:46:01 +0000 (19:46 -0700)]
SSE/SSE2 assembly for 4x4/8x8/16x16/32x32 TM intra prediction.

Change-Id: I3441c059214c2956e8261331bbf521525a617a86

11 years agoSSE/SSE2 assembly for 4x4/8x8/16x16/32x32 V intra prediction.
Ronald S. Bultje [Tue, 9 Jul 2013 21:54:20 +0000 (14:54 -0700)]
SSE/SSE2 assembly for 4x4/8x8/16x16/32x32 V intra prediction.

Change-Id: I55a6cfa2daba738cbc0c4a02f806893f7e556997

11 years agoSSE/SSE2 assembly for 4x4/8x8/16x16/32x32 DC intra prediction.
Ronald S. Bultje [Tue, 9 Jul 2013 21:52:20 +0000 (14:52 -0700)]
SSE/SSE2 assembly for 4x4/8x8/16x16/32x32 DC intra prediction.

Change-Id: Ibe1690afc5459f3b3beca401e7734fcd03da6dd0

11 years agoRemove memcpy() in handle_inter_mode() filter selection.
Ronald S. Bultje [Wed, 10 Jul 2013 16:26:32 +0000 (09:26 -0700)]
Remove memcpy() in handle_inter_mode() filter selection.

Encode time of first 50 frames of bus (speed 0) @ 1500kbps goes from
2min4.9 to 2min3.1, i.e. a 1.4% speedup overall.

Change-Id: I9b25e87974430cb942caa276410bb2eda815bd83

11 years agoAdd a feature to reduce chrome intra mode search
Yaowu Xu [Wed, 10 Jul 2013 15:59:18 +0000 (08:59 -0700)]
Add a feature to reduce chrome intra mode search

Change-Id: I721ebdeef2b53ce3e5c3eba3f7462ae2103c95a8

11 years agomi_width_log2 & mi_height_log2
Jim Bankoski [Wed, 10 Jul 2013 14:26:08 +0000 (07:26 -0700)]
mi_width_log2 & mi_height_log2

converted to lookup to avoid unnecessary code

Change-Id: I2ee6a01f06984cc2c4ba74b3fffd215318f749d2

11 years agob_width_log2 and b_height_log2 lookups
Jim Bankoski [Wed, 10 Jul 2013 14:19:09 +0000 (07:19 -0700)]
b_width_log2 and b_height_log2 lookups

    Replace case statement with lookup.
    Small speed gain at low speed settings but at speed 2+ where the
    number of motion searches etc. falls the impact rises to ~3-4%.

    Change-Id: Idff639b7b302ee65e042b7bf836943ac0a06fad8

Change-Id: I5940719a4a161f8c26ac9a6753f1678494cec644

11 years agoremoving case statements around prediction entropy coding
Jim Bankoski [Wed, 10 Jul 2013 02:55:07 +0000 (19:55 -0700)]
removing case statements around prediction entropy coding

Removes SEG_ID
Removes MBSKIP
Removes SWITCHABLE_INTERP
Removes INTRA_INTER
Removes COMP_INTER_INTER
Removes COMP_REF_P
Removes SINGLE_REF_P1
Removes SINGLE_REF_P2
Removes TX_SIZE

Change-Id: Ie4520ae1f65c8cac312432c0616cc80dea5bf34b

11 years agoMerge "Revert "Remove memcpy() in handle_inter_mode() filter selection.""
Yaowu Xu [Wed, 10 Jul 2013 03:10:06 +0000 (20:10 -0700)]
Merge "Revert "Remove memcpy() in handle_inter_mode() filter selection.""

11 years agoMerge "remove unused VP8 com/dec asm offsets"
James Zern [Wed, 10 Jul 2013 02:13:49 +0000 (19:13 -0700)]
Merge "remove unused VP8 com/dec asm offsets"

11 years agoMerge "Remove all asm offset files from VP9"
James Zern [Wed, 10 Jul 2013 02:13:37 +0000 (19:13 -0700)]
Merge "Remove all asm offset files from VP9"

11 years agoMerge "Loop filter code cleanup."
Dmitry Kovalev [Wed, 10 Jul 2013 01:56:19 +0000 (18:56 -0700)]
Merge "Loop filter code cleanup."

11 years agoRevert "Remove memcpy() in handle_inter_mode() filter selection."
Yaowu Xu [Wed, 10 Jul 2013 00:40:39 +0000 (17:40 -0700)]
Revert "Remove memcpy() in handle_inter_mode() filter selection."

This reverts commit fcf7998a47f7e1ec27fe93f99e488d345560a9be.

Change-Id: Ic6532223faec9f1483b78adb2e37b79c7b1a0efb

11 years agomsvc: set a more useful debug format
James Zern [Wed, 10 Jul 2013 00:28:22 +0000 (17:28 -0700)]
msvc: set a more useful debug format

pdb vs. c7; works better with test_libvpx

Change-Id: I67d18e328dd8e7734d3710f3912e9b179d368a62

11 years agoMerge "Added a lossless test"
Yaowu Xu [Wed, 10 Jul 2013 00:15:09 +0000 (17:15 -0700)]
Merge "Added a lossless test"

11 years agoAdding encode_tiles function to vp9_bitstream.c.
Dmitry Kovalev [Tue, 9 Jul 2013 22:59:19 +0000 (15:59 -0700)]
Adding encode_tiles function to vp9_bitstream.c.

Change-Id: Ie44824ec25fd8fdb25d7c8124a9b28c26d802029

11 years agoMerge "Add Neon horizontal and vertical vp9_mbloop_filter"
Frank Galligan [Tue, 9 Jul 2013 22:38:44 +0000 (15:38 -0700)]
Merge "Add Neon horizontal and vertical vp9_mbloop_filter"

11 years agoAdded a lossless test
Yaowu Xu [Tue, 9 Jul 2013 17:54:36 +0000 (10:54 -0700)]
Added a lossless test

It does encodings with min and max q set at 0, and check to make sure
output PSNR at MAX_PSNR (100).

Change-Id: Ia2418353cccf6e487204ea4ff874a7e71e55cb3e

11 years agoremove unused VP8 com/dec asm offsets
James Zern [Tue, 9 Jul 2013 21:33:49 +0000 (14:33 -0700)]
remove unused VP8 com/dec asm offsets

Change-Id: Ib3b26ee27f04b2dcbbd32b3127afb45e9f50cfcf

11 years agoRemove all asm offset files from VP9
John Koleszar [Fri, 26 Apr 2013 05:07:29 +0000 (22:07 -0700)]
Remove all asm offset files from VP9

The files are empty and unused.

Change-Id: Ieb4242d14273efdf24149bda33f9591540bba06a

11 years agoMerge "Removed unnecessary xd->mode_info_context assignment"
Scott LaVarnway [Tue, 9 Jul 2013 19:45:32 +0000 (12:45 -0700)]
Merge "Removed unnecessary xd->mode_info_context assignment"

11 years agoAdd Neon horizontal and vertical vp9_mbloop_filter
Frank Galligan [Mon, 1 Jul 2013 19:52:38 +0000 (12:52 -0700)]
Add Neon horizontal and vertical vp9_mbloop_filter

- The vp9 mbfilter C code will branch on flat and mask. This CL
  will perform both branches and combine the data. A later CL will
  perform a check to see if all patch will take one branch.
- These functions are about 1.75 times faster than the C code on
  Nexus 7.

PS #3
- Changed all functions to dub limit, blimit, and thresh from
  vld {dx[]}, freeing up r4-r6.
- Changed code to use vbif to reduce one instruction and free
  up a d register.

Change-Id: I028dae0e434dc9891c3677bdb182e201ffb04777

11 years agoMerge "Adding update_tx_ct function, removing duplicated code."
Dmitry Kovalev [Tue, 9 Jul 2013 19:26:11 +0000 (12:26 -0700)]
Merge "Adding update_tx_ct function, removing duplicated code."

11 years agoRemoving vp9_maskingmv.c and corresponding assembly file.
Dmitry Kovalev [Tue, 9 Jul 2013 18:22:56 +0000 (11:22 -0700)]
Removing vp9_maskingmv.c and corresponding assembly file.

Change-Id: I9842d02d61d78d17dc3449bae8ffbe60f4b3ecb3

11 years agoLoop filter code cleanup.
Dmitry Kovalev [Tue, 9 Jul 2013 18:17:36 +0000 (11:17 -0700)]
Loop filter code cleanup.

Using MAX_LOOP_FILTER constant instead of number 63.

Change-Id: If91e0c198331b3041e7cd0707a5948479e9209d8

11 years agoRemoved unnecessary xd->mode_info_context assignment
Scott LaVarnway [Tue, 9 Jul 2013 17:41:34 +0000 (13:41 -0400)]
Removed unnecessary xd->mode_info_context assignment

mi is xd->mode_info_context

Change-Id: Ib101be922b695205ec57b5ce1828ba19bde5b41c

11 years agoMerge "Unbreak lossless."
Ronald S. Bultje [Tue, 9 Jul 2013 16:54:48 +0000 (09:54 -0700)]
Merge "Unbreak lossless."

11 years agoMerge "Make intra prediction pointers RTCD-based."
Ronald S. Bultje [Tue, 9 Jul 2013 16:54:43 +0000 (09:54 -0700)]
Merge "Make intra prediction pointers RTCD-based."

11 years agoUnbreak lossless.
Ronald S. Bultje [Tue, 9 Jul 2013 16:46:37 +0000 (09:46 -0700)]
Unbreak lossless.

Change-Id: I8130ec9b5371c65e885f245a5ac73840c23cb4a1