platform/upstream/libvpx.git
4 years agoRevert "disable cross build for ARM" 23/234023/1
Jeongmo Yang [Thu, 21 May 2020 06:19:44 +0000 (15:19 +0900)]
Revert "disable cross build for ARM"

This reverts commit 1f84267b34d0b8787e206d8b041fbf67f877bc74.

Change-Id: I902026fc42a40bc8792a5f2b83d22ac722ae698b
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years agochange to the upstream version because git tree contains an upstream branch 48/109648/1 accepted/tizen_4.0_unified accepted/tizen_5.0_unified accepted/tizen_5.5_unified accepted/tizen_5.5_unified_mobile_hotfix accepted/tizen_5.5_unified_wearable_hotfix accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable tizen_4.0 tizen_5.0 tizen_5.5 tizen_5.5_mobile_hotfix tizen_5.5_tv tizen_5.5_wearable_hotfix accepted/tizen/4.0/unified/20170816.012828 accepted/tizen/4.0/unified/20170828.222932 accepted/tizen/5.0/unified/20181102.030816 accepted/tizen/5.5/unified/20191031.012207 accepted/tizen/5.5/unified/mobile/hotfix/20201027.074458 accepted/tizen/5.5/unified/wearable/hotfix/20201027.100826 accepted/tizen/common/20170112.174255 accepted/tizen/ivi/20170111.223023 accepted/tizen/mobile/20170111.222933 accepted/tizen/tv/20170111.222947 accepted/tizen/unified/20170309.040037 accepted/tizen/wearable/20170111.223008 submit/tizen/20170111.114435 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170828.100006 submit/tizen_5.0/20181101.000007 submit/tizen_5.5/20191031.000007 submit/tizen_5.5_mobile_hotfix/20201026.185107 submit/tizen_5.5_wearable_hotfix/20201026.184307 submit/tizen_unified/20170308.100414 tizen_4.0.IoT.p1_release tizen_4.0.IoT.p2_release tizen_4.0.m1_release tizen_4.0.m2_release tizen_5.5.m2_release
Sejun Park [Wed, 11 Jan 2017 04:17:23 +0000 (13:17 +0900)]
change to the upstream version because git tree contains an upstream branch

Change-Id: I9f97067067b853ba9363883a42040b9a203dc9d8

7 years agofixed build errors due to toolchain upgrade 37/109537/1 submit/tizen/20170110.100630
Sejun Park [Tue, 10 Jan 2017 09:48:48 +0000 (18:48 +0900)]
fixed build errors due to toolchain upgrade

Change-Id: I5d4ebfd0a0be7c23ece59283e3125f6a56cbcd44

8 years agoChange license BSD-3-Clause to BSD-2.0 and remove GPL-2.0+ license 34/55834/2 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable tizen_3.0.m2 accepted/tizen/3.0.m2/mobile/20170105.024710 accepted/tizen/3.0.m2/tv/20170105.024851 accepted/tizen/3.0.m2/wearable/20170105.025019 accepted/tizen/3.0/common/20161114.111100 accepted/tizen/3.0/ivi/20161011.050528 accepted/tizen/3.0/mobile/20161015.033641 accepted/tizen/3.0/tv/20161016.005159 accepted/tizen/3.0/wearable/20161015.083529 accepted/tizen/ivi/20160218.025325 accepted/tizen/mobile/20151230.115329 accepted/tizen/tv/20151230.115354 accepted/tizen/wearable/20151230.115422 submit/tizen/20151230.022322 submit/tizen_3.0.m2/20170104.093753 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000004 submit/tizen_3.0_mobile/20161015.000004 submit/tizen_3.0_tv/20161015.000004 submit/tizen_3.0_wearable/20161015.000004 submit/tizen_common/20160218.142243 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000006
Gilbok Lee [Tue, 29 Dec 2015 23:47:12 +0000 (08:47 +0900)]
Change license BSD-3-Clause to BSD-2.0 and remove GPL-2.0+ license

Change-Id: I1f70a559ecb226a096b67f01e7e51afbfdfee73d
Signed-off-by: Gilbok Lee <gilbok.lee@samsung.com>
9 years agopackaging: workaround a gbs export 57/32157/2 tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common tizen_3.0.2015.q2_common tizen_3.0.m1_mobile tizen_3.0.m1_tv tizen_3.0_ivi accepted/tizen/common/20141222.101600 accepted/tizen/ivi/20141225.062824 accepted/tizen/mobile/20150105.022534 accepted/tizen/tv/20150105.022354 accepted/tizen/wearable/20150105.054715 submit/tizen_common/20141222.092000 submit/tizen_common/20151015.190624 submit/tizen_common/20151019.135620 submit/tizen_ivi/20141225.111111 submit/tizen_mobile/20141231.012840 submit/tizen_mobile/20151202.000001 submit/tizen_tv/20151202.000000 submit/tizen_wearable/20150102.000000 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release tizen_3.0_ivi_release
Philippe Coval [Tue, 16 Dec 2014 10:38:26 +0000 (11:38 +0100)]
packaging: workaround a gbs export

An other way to apply the patch "disable cross build for ARM"
Which is not exported in gbs 0.23

For now both changes are here,
it would make sense to drop the downstream patch in the future.

This problem have been reported to gbs developers.

Change-Id: Ic8864ddba2d92103a2e65e3f1ca355a89a98904d
Bug-Tizen: TC-1845/2of3
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
9 years agopackaging: use gittag from upstream 56/32156/2
Philippe Coval [Tue, 16 Dec 2014 09:55:18 +0000 (10:55 +0100)]
packaging: use gittag from upstream

Change-Id: I853c44f660d86cd16a4736aaa80ae7846284bf94
Bug-Tizen: TC-1845/2of2
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
9 years agopackaging: Bump to 1.3.0
Philippe Coval [Thu, 11 Dec 2014 14:22:13 +0000 (15:22 +0100)]
packaging: Bump to 1.3.0

Converted from tar to git

Change-Id: I8de2858a957cc9070c44f0a8bc2802277cc6bada
Bug-Tizen: TC-1845/1of3
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
9 years agoup changelog
Anas Nashif [Wed, 25 Sep 2013 16:10:58 +0000 (12:10 -0400)]
up changelog

Change-Id: I79347ce936132a9f3d1017e0a752330e26bd3de2

9 years agoUpdate to 1.2
Anas Nashif [Wed, 25 Sep 2013 08:52:02 +0000 (04:52 -0400)]
Update to 1.2

Change-Id: Ic721fac79f96cfe3600672783b4b6d12c0d2d1c6
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
9 years agodisable cross build for ARM
Anas Nashif [Wed, 25 Sep 2013 08:51:46 +0000 (04:51 -0400)]
disable cross build for ARM

Change-Id: I824846804faa0fe638335cbbcd3333876f264d48
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
9 years agoresetting manifest requested domain to floor
Alexandru Cornea [Mon, 1 Jul 2013 17:20:10 +0000 (20:20 +0300)]
resetting manifest requested domain to floor

9 years agoinitial import
Anas Nashif [Sat, 2 Feb 2013 16:39:53 +0000 (08:39 -0800)]
initial import

9 years agopackaging: Initial packaging for Tizen
Anas Nashif [Sat, 2 Feb 2013 16:37:16 +0000 (08:37 -0800)]
packaging: Initial packaging for Tizen

Change-Id: Ieff03d3eedf096445cc674e1fdda496d685f75ba

10 years agoFix bug in extend_frame chroma extended too far v1.3.0
Adrian Grange [Fri, 22 Nov 2013 01:19:04 +0000 (17:19 -0800)]
Fix bug in extend_frame chroma extended too far

This fixes issue 667.

In the case where the frame was an odd number of pixels
wide or high, the border was being extended by one col
or row too far.

The calculation of color plane dimensions was modified
to use those already computed at the time the frame
buffer was allocated.

Also freed the temporary scaling buffer in vpxdec to
prevent a memory leak.

Change-Id: I195bc81d84c0fc5d8260c1232200d62399e4b51f

10 years agoCorrect ssse3 8/16-pixel wide sub-pixel filter calculation
Yunqing Wang [Wed, 20 Nov 2013 20:52:56 +0000 (12:52 -0800)]
Correct ssse3 8/16-pixel wide sub-pixel filter calculation

Although no mismatch was indicated for 8/16 wide sub-pixel filters
in issue 661, they had similar problems that could cause mismatch
potentially. This patch fixed calculations in HORIZx8/16
and VERTx8/16.

Change-Id: Ib85412d690bea5609a51f0e50e7c858406b8ff9e

10 years agoTake out assertion from inverse transforms
Jingning Han [Fri, 15 Nov 2013 23:21:38 +0000 (15:21 -0800)]
Take out assertion from inverse transforms

Separate the rounding and right shift operations of forward transform
from those of inverse transform. Take out the assertion check from
inverse transforms. If the transform coefficients were constructed to
cause intermediate steps of inverse transform overflow, the codec will
just let it overflow without breaking the decoding flow.

Change-Id: Ia7ce15dfd1a73b4abbaa78cbc74ec718523c5b1b

10 years agoFix stack pointer in sub-pixel filters
Yunqing Wang [Wed, 20 Nov 2013 17:42:44 +0000 (09:42 -0800)]
Fix stack pointer in sub-pixel filters

In commit "3d50da5397d20abc932d81453b26cde758293a40", the stack
pointer was modified while aligning the stack, and it needed to
be pop out at the end.

Change-Id: I39e4adc6b8aa3379854dd264d41aa6f0f15c7953

10 years agoFix decoder mismatch with ssse3 enabled
Yunqing Wang [Tue, 19 Nov 2013 22:29:25 +0000 (14:29 -0800)]
Fix decoder mismatch with ssse3 enabled

This patch fixed issue 661: "Decoder produces mismatched outputs
with ssse3 enabled and disabled." In sub-pixel filters, a pixel
value was multiplied by a filter coefficient, and the results
were added up. The order of adding up these multiplications had to
be arranged carefully to prevent incorrect overflowing.

Change-Id: Ia78663dfe74a2d46900f1c6fb07c21fac273892f

10 years agovpxenc: add --aq-mode flag to control adaptive quantization
Guillaume Martres [Thu, 14 Nov 2013 18:23:57 +0000 (19:23 +0100)]
vpxenc: add --aq-mode flag to control adaptive quantization

Change-Id: I2a08c00e8576099abc84b6ef05cb3567426e29cf

10 years agoDisable avx/avx2 for Visual Studio 2010
Johann [Mon, 18 Nov 2013 21:30:19 +0000 (13:30 -0800)]
Disable avx/avx2 for Visual Studio 2010

VS2010 only supports avx. There is currently no avx code
in libvpx so don't create a special case for it.

Change-Id: I39a11410367712b98bc6122c5a42fabffcdb94cf

10 years agoAdd support for VC++2013
Yaowu Xu [Wed, 13 Nov 2013 19:36:32 +0000 (11:36 -0800)]
Add support for VC++2013

Change-Id: I5f979135d371c3fc7b9485e29479f112baa5fa3b

10 years agoPrepare 1.3.0 release:
Paweł Hajdan [Fri, 15 Nov 2013 18:48:09 +0000 (10:48 -0800)]
Prepare 1.3.0 release:

- update .mailmap and AUTHORS
- update CHANGELOG

Change-Id: I3d75e8a6f87cabcbebc20e3ee5f3cd7db4d2e84d

10 years agoMerge "Cleaning up vp9_loopfilter.c file."
Dmitry Kovalev [Fri, 15 Nov 2013 18:10:59 +0000 (10:10 -0800)]
Merge "Cleaning up vp9_loopfilter.c file."

10 years agoMerge "Generate GAS output for Chromium"
Johann [Fri, 15 Nov 2013 17:17:37 +0000 (09:17 -0800)]
Merge "Generate GAS output for Chromium"

10 years agoMerge "Build iOS targets with XCode 5"
Johann [Fri, 15 Nov 2013 17:17:28 +0000 (09:17 -0800)]
Merge "Build iOS targets with XCode 5"

10 years agoMerge "Fix coding format in vp9_idct"
Jingning Han [Fri, 15 Nov 2013 16:59:14 +0000 (08:59 -0800)]
Merge "Fix coding format in vp9_idct"

10 years agoGenerate GAS output for Chromium
Johann [Wed, 13 Nov 2013 23:41:40 +0000 (15:41 -0800)]
Generate GAS output for Chromium

Upstream changes to account for differences in clang
syntax for Chromium iOS builds.

Since most of these are incompatible with XCode clang,
hide them behind a flag.

Change-Id: Idafcbcd4eb01b1ada6277da2d2edfd6c04b579fd

10 years agoBuild iOS targets with XCode 5
Johann [Wed, 13 Nov 2013 22:05:27 +0000 (14:05 -0800)]
Build iOS targets with XCode 5

Thanks to armando.dicianno for the patch

Fixes issue #603

Change-Id: I91ec030e5674b82c05115ed4dfbdb8ccbff22b66

10 years agopartition plane context speed up
Jim Bankoski [Fri, 15 Nov 2013 16:00:43 +0000 (08:00 -0800)]
partition plane context speed up

Removes silly operations inside loop.

Change-Id: I9eeab1e914e715a887f86cf1089de508e2364165

10 years agoMerge "loop filter assert cleanout"
Jim Bankoski [Fri, 15 Nov 2013 15:48:36 +0000 (07:48 -0800)]
Merge "loop filter assert cleanout"

10 years agoMerge "Cleaning up vp9_tile_common.{h, c} files."
Dmitry Kovalev [Fri, 15 Nov 2013 04:55:01 +0000 (20:55 -0800)]
Merge "Cleaning up vp9_tile_common.{h, c} files."

10 years agoFix coding format in vp9_idct
Jingning Han [Fri, 15 Nov 2013 00:04:31 +0000 (16:04 -0800)]
Fix coding format in vp9_idct

Change-Id: If97ae16a4478717933345b6b9d5bc1b417b8dd84

10 years agofix scalling bug by buffer auto-reallocation
Adrian Grange [Thu, 14 Nov 2013 22:55:49 +0000 (14:55 -0800)]
fix scalling bug by buffer auto-reallocation

Change-Id: Ib748eb287520c794631697204da6ebe19523ce95

10 years agoCleaning up vp9_loopfilter.c file.
Dmitry Kovalev [Thu, 14 Nov 2013 23:04:14 +0000 (15:04 -0800)]
Cleaning up vp9_loopfilter.c file.

Change-Id: Ic6770072f80dfb54d2725ed96370d4f243a9f474

10 years agoCleaning up vp9_tile_common.{h, c} files.
Dmitry Kovalev [Thu, 14 Nov 2013 21:40:56 +0000 (13:40 -0800)]
Cleaning up vp9_tile_common.{h, c} files.

Change-Id: I9d18f351abe7614107f34f47eeb38a234a9937c9

10 years agoRemoving unused coefband_trans_8x8plus array from VP9Decompressor.
Dmitry Kovalev [Thu, 14 Nov 2013 21:37:18 +0000 (13:37 -0800)]
Removing unused coefband_trans_8x8plus array from VP9Decompressor.

Change-Id: Ic1367d767705377402ebfec0705f9f553a834400

10 years agoTweaks to vpx_test android make file
Joshua Litt [Thu, 14 Nov 2013 00:30:31 +0000 (16:30 -0800)]
Tweaks to vpx_test android make file

  * Change from thumb mode to arm mode improves test time significantly
  * Direct inclusion of test.mk allows for unit test configuration via
    configure script
Change-Id: Id58d3ba8289374528756a672459d8334afe20e2a

10 years agoloop filter assert cleanout
Jim Bankoski [Thu, 14 Nov 2013 20:25:32 +0000 (12:25 -0800)]
loop filter assert cleanout

Change-Id: I4e2ad4b7342681e6ac236356ef3a4927a54f105b

10 years agoMerge "Eliminating usage of txfrm_block_to_raster_block() from encode_block()."
Dmitry Kovalev [Thu, 14 Nov 2013 18:12:54 +0000 (10:12 -0800)]
Merge "Eliminating usage of txfrm_block_to_raster_block() from encode_block()."

10 years agoMerge "Enable 4x4 DCT/ADST transform unit test"
Jingning Han [Thu, 14 Nov 2013 17:26:33 +0000 (09:26 -0800)]
Merge "Enable 4x4 DCT/ADST transform unit test"

10 years agoMerge "For CBR, keep rate-correction damping factor to 2."
Marco Paniconi [Thu, 14 Nov 2013 16:11:42 +0000 (08:11 -0800)]
Merge "For CBR, keep rate-correction damping factor to 2."

10 years agoSimplifies band-getting with a static array
Deb Mukherjee [Thu, 14 Nov 2013 00:02:06 +0000 (16:02 -0800)]
Simplifies band-getting with a static array

Simplifies the code by implementing band mapping with static arrays.
A lot of the code complexity introduced in a previous patch
disappears.

Change-Id: Ia3fac36e594fb5ad2d55ae141c58bba4c55c2d28

10 years agoEliminating usage of txfrm_block_to_raster_block() from encode_block().
Dmitry Kovalev [Thu, 14 Nov 2013 03:33:12 +0000 (19:33 -0800)]
Eliminating usage of txfrm_block_to_raster_block() from encode_block().

Change-Id: I7d11f1b6075a1115cdc2dcd605225b9c9c9b39c7

10 years agoMerge "Cleaning up decode_coefs() function."
Dmitry Kovalev [Thu, 14 Nov 2013 02:39:14 +0000 (18:39 -0800)]
Merge "Cleaning up decode_coefs() function."

10 years agoEnable 4x4 DCT/ADST transform unit test
Jingning Han [Tue, 12 Nov 2013 20:47:32 +0000 (12:47 -0800)]
Enable 4x4 DCT/ADST transform unit test

This commit enables the  unit tests for 4x4 DCT and ADST transforms.
It covers tests of round-trip error check, coefficient match check,
coefficient overflow check, and inverse accuracy check.

Change-Id: Ibfea928ee48f0ebc088b7fdb0bf2d89a14161299

10 years agoCleaning up decode_coefs() function.
Dmitry Kovalev [Thu, 14 Nov 2013 00:46:21 +0000 (16:46 -0800)]
Cleaning up decode_coefs() function.

Removing vp9_read_and_apply_sign macro which was used only once.

Change-Id: I6a1625b720d89fc1291c99deccd6638b705f9b06

10 years agoFor CBR, keep rate-correction damping factor to 2.
Marco Paniconi [Thu, 14 Nov 2013 00:02:54 +0000 (16:02 -0800)]
For CBR, keep rate-correction damping factor to 2.

The switch to the rate-correction damping factor
in https://gerrit.chromium.org/gerrit/#/c/67536/ was not conditioned on CBR mode.

Change-Id: I2326704e8ac030a4f7b592dd3fedb94c7dd0644d

10 years agoMerge "Dual buffer encoding for intra modes"
Jingning Han [Wed, 13 Nov 2013 23:43:00 +0000 (15:43 -0800)]
Merge "Dual buffer encoding for intra modes"

10 years agoFix an overflow issue in SSE2 forward ADST
Jingning Han [Wed, 13 Nov 2013 22:48:38 +0000 (14:48 -0800)]
Fix an overflow issue in SSE2 forward ADST

The step that sums three input samples could potentially cause the
intermediate result go beyond 16 bit limit, when operating as the
second 1-D transform. This commit fixes the issue.

Change-Id: Iaf512449ac2d25ddd8a806d760afab362c62a516

10 years agoMerge "Replacing raster_block with block in the encoder."
Dmitry Kovalev [Wed, 13 Nov 2013 22:14:27 +0000 (14:14 -0800)]
Merge "Replacing raster_block with block in the encoder."

10 years agoMerge "Split macro strings on whitespace"
Johann [Wed, 13 Nov 2013 22:08:03 +0000 (14:08 -0800)]
Merge "Split macro strings on whitespace"

10 years agoMerge "Removing function pointers from inter prediction."
Dmitry Kovalev [Wed, 13 Nov 2013 21:54:15 +0000 (13:54 -0800)]
Merge "Removing function pointers from inter prediction."

10 years agoDual buffer encoding for intra modes
Jingning Han [Thu, 7 Nov 2013 22:56:58 +0000 (14:56 -0800)]
Dual buffer encoding for intra modes

Overall change (using dual buffer scheme for superblocks of both inter
and intra modes) reduces speed 2 runtime:
bluesky_1080p at 6000kbps:   263553ms -> 257441ms
riverbed_1080p at 8000kbps:  233230ms -> 225308ms.

Change-Id: Idf8d70f768a4b0d97b2a8506372c57b7b4022119

10 years agoMerge "Syncing write_modes_{b, sb} implementation with decode_modes_{b, sb}."
Dmitry Kovalev [Wed, 13 Nov 2013 18:47:46 +0000 (10:47 -0800)]
Merge "Syncing write_modes_{b, sb} implementation with decode_modes_{b, sb}."

10 years agoMerge "Optimizing set_contexts() function."
Dmitry Kovalev [Wed, 13 Nov 2013 18:01:05 +0000 (10:01 -0800)]
Merge "Optimizing set_contexts() function."

10 years agoMerge "Use 1D array to store super block filter levels"
Yunqing Wang [Wed, 13 Nov 2013 17:40:14 +0000 (09:40 -0800)]
Merge "Use 1D array to store super block filter levels"

10 years agoMerge "mips dsp-ase r2 vp9 decoder intra module optimizations (rebase)"
Johann [Wed, 13 Nov 2013 17:00:09 +0000 (09:00 -0800)]
Merge "mips dsp-ase r2 vp9 decoder intra module optimizations (rebase)"

10 years agomips dsp-ase r2 vp9 decoder intra module optimizations (rebase)
Parag Salasakar [Wed, 13 Nov 2013 05:47:14 +0000 (11:17 +0530)]
mips dsp-ase r2 vp9 decoder intra module optimizations (rebase)

Change-Id: Ib27fc4f3dbe01fe8adfa04a61aaba21b3480e75c

10 years agomips dsp-ase r2 vp9 decoder loopfilter module optimizations (rebase)
Parag Salasakar [Wed, 13 Nov 2013 05:23:16 +0000 (10:53 +0530)]
mips dsp-ase r2 vp9 decoder loopfilter module optimizations (rebase)

Change-Id: Ia7f640ca395e8deaac5986f19d11ab18d85eec2d

10 years agoMoving q_index from MACROBLOCKD to MACROBLOCK.
Dmitry Kovalev [Wed, 13 Nov 2013 01:28:27 +0000 (17:28 -0800)]
Moving q_index from MACROBLOCKD to MACROBLOCK.

Moving because q_index is used only by encoder.

Change-Id: I0b96175614ed4fd3d76ee56a0ba36258e1e896f6

10 years agoMerge "Enable dual buffer rd search and encoding scheme"
Jingning Han [Wed, 13 Nov 2013 02:11:41 +0000 (18:11 -0800)]
Merge "Enable dual buffer rd search and encoding scheme"

10 years agoMerge "Add test vector for row/col tile decoding"
Jingning Han [Wed, 13 Nov 2013 02:11:34 +0000 (18:11 -0800)]
Merge "Add test vector for row/col tile decoding"

10 years agoMerge "Calculating transform block offsets (x and y) only once."
Dmitry Kovalev [Wed, 13 Nov 2013 00:57:30 +0000 (16:57 -0800)]
Merge "Calculating transform block offsets (x and y) only once."

10 years agoMerge "Using max_tx_size instead of bsize when possible."
Dmitry Kovalev [Wed, 13 Nov 2013 00:54:30 +0000 (16:54 -0800)]
Merge "Using max_tx_size instead of bsize when possible."

10 years agoMerge "Moving {sb, mb, b, ab}_index from MACROBLOCKD to MACROBLOCK."
Dmitry Kovalev [Tue, 12 Nov 2013 23:59:28 +0000 (15:59 -0800)]
Merge "Moving {sb, mb, b, ab}_index from MACROBLOCKD to MACROBLOCK."

10 years agoMerge "Adding const to tree pointer inside vp9_extra_bit struct."
Dmitry Kovalev [Tue, 12 Nov 2013 23:48:07 +0000 (15:48 -0800)]
Merge "Adding const to tree pointer inside vp9_extra_bit struct."

10 years agoMerge "Added optimized vp9_idct32x32_34_add_dspr2"
Johann [Tue, 12 Nov 2013 23:30:00 +0000 (15:30 -0800)]
Merge "Added optimized vp9_idct32x32_34_add_dspr2"

10 years agoSplit macro strings on whitespace
Johann [Tue, 12 Nov 2013 20:26:45 +0000 (12:26 -0800)]
Split macro strings on whitespace

Match any whitespace instead of individual spaces. The macro
definitions in vp9/common/arm/neon/vp9_short_idct32x32_1_add_neon.asm
triggered this and treated spaces as arguments leading to lines like:
$8vld1$8.$88$8           {$8q8$8}, [$$89$8], $$8stride$8

Change-Id: I2d5718aba4614e4fd7b702e15c2a1bd80e656bd2

10 years agoAdding const to tree pointer inside vp9_extra_bit struct.
Dmitry Kovalev [Tue, 12 Nov 2013 22:21:15 +0000 (14:21 -0800)]
Adding const to tree pointer inside vp9_extra_bit struct.

Change-Id: I60e02fa3de930ff1f969687ab5af93dee40d86ad

10 years agoAndroid.mk file for vpx unittests
Joshua Litt [Mon, 11 Nov 2013 20:31:42 +0000 (12:31 -0800)]
Android.mk file for vpx unittests

These changes are to support automated regressions of vpx on android
new file:   test/android/Android.mk
new file:   test/android/README
new file:   test/android/get_files.py

Change-Id: I52c8e9daf3676a3561badbe710ec3a16fed72abd

10 years agoCalculating transform block offsets (x and y) only once.
Dmitry Kovalev [Mon, 11 Nov 2013 22:54:01 +0000 (14:54 -0800)]
Calculating transform block offsets (x and y) only once.

Change-Id: I4b5106bdc08fd4551339b968c13428a8f43122e2

10 years agoUse 1D array to store super block filter levels
Yunqing Wang [Tue, 12 Nov 2013 20:01:25 +0000 (12:01 -0800)]
Use 1D array to store super block filter levels

As Jim suggested, 1D array was used to store filter levels instead
of 2D array. This used shift_y in setup_mask directly, and saved
few cycles.

Change-Id: If61ab298784861f1806b1cd396d4e4e2e0f097b9

10 years agoAdd test vector for row/col tile decoding
Jingning Han [Mon, 11 Nov 2013 18:39:32 +0000 (10:39 -0800)]
Add test vector for row/col tile decoding

1920x1080

vp90-2-08-tile-4x4.webm
vp90-2-08-tile-4x4.webm.md5

vpxenc blue_sky_1080p25 --frame-parallel=0 \
--tile-columns=2 --tile-rows=2 \
--lossless=0 --error-resilient=0 \
--min-q=0 --max-q=30 --kf-min-dist=0 --kf-max-dist=9999 \
--cpu-used=0 --codec=vp9 -p 2 --good --fps=25/1 --limit=5

vp90-2-08-tile-4x1.webm
vp90-2-08-tile-4x1.webm.md5

vpxenc blue_sky_1080p25 --frame-parallel=0 \
--tile-columns=0 --tile-rows=2 \
--lossless=0 --error-resilient=0 \
--min-q=0 --max-q=30 --kf-min-dist=0 --kf-max-dist=9999 \
--cpu-used=0 --codec=vp9 -p 2 --good --fps=25/1 --limit=5

Change-Id: I77d0ccf9b721ae5cfa72781fe0d3c534ea43b756

10 years agoMerge "Removes conditional statements from band getting"
Deb Mukherjee [Tue, 12 Nov 2013 19:22:21 +0000 (11:22 -0800)]
Merge "Removes conditional statements from band getting"

10 years agoUse lowercase 'b' to branch
Johann [Tue, 12 Nov 2013 18:41:06 +0000 (10:41 -0800)]
Use lowercase 'b' to branch

iOS doesn't recognize B:
bad instruction `B idct32_pass_loop'

Change-Id: I3cf6aede4639f1d9efa97f7962fa287ba6feaaef

10 years agoMerge "Rewrite filter_selectively_horiz for parallel loopfiltering"
Yunqing Wang [Tue, 12 Nov 2013 18:20:49 +0000 (10:20 -0800)]
Merge "Rewrite filter_selectively_horiz for parallel loopfiltering"

10 years agoMerge "Improve loopfilter function"
Yunqing Wang [Tue, 12 Nov 2013 18:19:56 +0000 (10:19 -0800)]
Merge "Improve loopfilter function"

10 years agoRemoves conditional statements from band getting
Deb Mukherjee [Wed, 6 Nov 2013 01:25:38 +0000 (17:25 -0800)]
Removes conditional statements from band getting

Implements scan order to band map with arrays in both the encoder
and decoder to remove conditional statements.

Encoding seems to be about 1% faster at speed 0, tested on football.
Decoding seems to be about 0.5-1% faster on a set of 25 videos.

Change-Id: Idb233ca0b9e0efd790e30880642e8717e1c5c8dd

10 years agoMerge "Removing redundant assignment."
Dmitry Kovalev [Tue, 12 Nov 2013 02:37:22 +0000 (18:37 -0800)]
Merge "Removing redundant assignment."

10 years agoRemoving function pointers from inter prediction.
Dmitry Kovalev [Tue, 12 Nov 2013 02:37:00 +0000 (18:37 -0800)]
Removing function pointers from inter prediction.

Removing foreach_predicted_block_visitor and calling build_inter_predictors
directly.

Change-Id: I11bb3c872b99b47c2680b01b0dbcc01c558c4a2b

10 years agoEnable dual buffer rd search and encoding scheme
Jingning Han [Wed, 6 Nov 2013 05:07:08 +0000 (21:07 -0800)]
Enable dual buffer rd search and encoding scheme

This commit enables the dual buffer rate-distortion optimization
and encoding scheme. It stacks the original transform coefficients,
quantized levels, and reconstructed coefficients, in the rate-
distortion optimization search process, hence eliminates the need
to re-run residual generation, forward transform, and quantization
in the encoding stage.

Change-Id: I011bfad3a59a380a869ee552e91dae0394ec492e

10 years agoMerge "Allocate dual buffer sets for encoding"
Jingning Han [Tue, 12 Nov 2013 02:00:57 +0000 (18:00 -0800)]
Merge "Allocate dual buffer sets for encoding"

10 years agoRemoving redundant assignment.
Dmitry Kovalev [Tue, 12 Nov 2013 01:39:43 +0000 (17:39 -0800)]
Removing redundant assignment.

xd->mi_8x8 is assigned inside set_offsets() for each prediction block.

Change-Id: I20e5974a9eaf105e5a04fc7f99b7a93bd50e3d0a

10 years agoSyncing write_modes_{b, sb} implementation with decode_modes_{b, sb}.
Dmitry Kovalev [Tue, 12 Nov 2013 01:29:31 +0000 (17:29 -0800)]
Syncing write_modes_{b, sb} implementation with decode_modes_{b, sb}.

Change-Id: Iaee740ec3bfb2b5328c24f4641c285e5a4a046dc

10 years agoRewrite filter_selectively_horiz for parallel loopfiltering
Yunqing Wang [Sat, 9 Nov 2013 00:12:04 +0000 (16:12 -0800)]
Rewrite filter_selectively_horiz for parallel loopfiltering

Added loop filter mask checking, and made the caller function
ready for implementation of parallel loopfiltering in horizontal
direction.

Next, we need to go through the loopfilter functions (both c and
optimized versions), and provide 16-byte wide loopfiltering for
each filter type.

Change-Id: Ifef47e7ef9086ebc2fd6ca7ede8f27c9bbf79e66

10 years agoMerge "vpxenc: clean up; move stats code out of vpxenc.c"
Tom Finegan [Tue, 12 Nov 2013 01:01:57 +0000 (17:01 -0800)]
Merge "vpxenc: clean up; move stats code out of vpxenc.c"

10 years agoMerge "Cleaning up joint_motion_search function."
Dmitry Kovalev [Tue, 12 Nov 2013 00:34:39 +0000 (16:34 -0800)]
Merge "Cleaning up joint_motion_search function."

10 years agovpxenc: clean up; move stats code out of vpxenc.c
Tom Finegan [Fri, 8 Nov 2013 05:28:45 +0000 (21:28 -0800)]
vpxenc: clean up; move stats code out of vpxenc.c

Change-Id: I6b245ef5017c49373ba33e30f8fbf3d1b97409b5

10 years agoAllocate dual buffer sets for encoding
Jingning Han [Fri, 1 Nov 2013 19:53:37 +0000 (12:53 -0700)]
Allocate dual buffer sets for encoding

Allocate memory space of dual buffer sets that store the coeff, qcoeff,
dqcoeff, and eobs. Connect the pointers of macroblock_plane and
macroblockd_plane to the actual buffer in use accordingly.

Change-Id: I2f0b5f482ca879fae39095013eaf8901db20a5a4

10 years agoMerge "Decouple macroblockd_plane buffer usage"
Jingning Han [Tue, 12 Nov 2013 00:09:16 +0000 (16:09 -0800)]
Merge "Decouple macroblockd_plane buffer usage"

10 years agoCleaning up joint_motion_search function.
Dmitry Kovalev [Tue, 12 Nov 2013 00:04:02 +0000 (16:04 -0800)]
Cleaning up joint_motion_search function.

Change-Id: I70a0878b23bda0ac3ff8733b4c96d5c636bc551c

10 years agoMoving {sb, mb, b, ab}_index from MACROBLOCKD to MACROBLOCK.
Dmitry Kovalev [Mon, 11 Nov 2013 23:58:57 +0000 (15:58 -0800)]
Moving {sb, mb, b, ab}_index from MACROBLOCKD to MACROBLOCK.

We use {sb, mb, b, ab}_index only inside encoder, so moving them into
appropriate data structure.

Change-Id: Ib5c1036716354d9d321e11a60c1634c1cb8f9716

10 years agoMerge "Fixed memory leak with svc_test.cc"
Ivan Maltz [Mon, 11 Nov 2013 23:52:42 +0000 (15:52 -0800)]
Merge "Fixed memory leak with svc_test.cc"

10 years agoDecouple macroblockd_plane buffer usage
Jingning Han [Thu, 31 Oct 2013 19:21:49 +0000 (12:21 -0700)]
Decouple macroblockd_plane buffer usage

Make the macroblockd_plane contain dynamic buffer pointers instead
static pointers to the memory space allocated therein. The decoder
uses the buffer allocated in pbi, while encoder will use a dual
buffer approach for rate-distortion optimization search.

Change-Id: Ie6f24be2dcda35df7c15b4014e5ccf236fb3f76c

10 years agoFixed memory leak with svc_test.cc
Ivan Maltz [Mon, 11 Nov 2013 21:55:34 +0000 (13:55 -0800)]
Fixed memory leak with svc_test.cc

was not calling vpx_codec_destroy and delete(decoder_) in TearDown

Change-Id: Iff4fd24a260223d224b3ea3287cdf0227405492f

10 years agoReplacing raster_block with block in the encoder.
Dmitry Kovalev [Mon, 11 Nov 2013 23:18:48 +0000 (15:18 -0800)]
Replacing raster_block with block in the encoder.

We only used "ib" to call get_scan() function, which in turn calls
get_tx_type_4x4() function. The latter one only needs block index if
bsize < BLOCK_8X8 -- under that condition raster_block == block.

Change-Id: I697306a0c3cf937acdd4f5e623d4367c5acc0b2f

10 years agoFix a bug in the assembly code.
hkuang [Mon, 11 Nov 2013 20:49:12 +0000 (12:49 -0800)]
Fix a bug in the assembly code.

Change-Id: Ic416e3f8a11e82ee298e6f709b2119a9ddf1e2f8

10 years agoMerge "Replacing (raster_block >> tx_size) with (block >> (tx_size << 1))."
Dmitry Kovalev [Mon, 11 Nov 2013 20:27:42 +0000 (12:27 -0800)]
Merge "Replacing (raster_block >> tx_size) with (block >> (tx_size << 1))."

10 years agoMerge "vpx[dec|enc]: Clean up target OS based IO focused preproc abuse."
Tom Finegan [Mon, 11 Nov 2013 19:53:33 +0000 (11:53 -0800)]
Merge "vpx[dec|enc]: Clean up target OS based IO focused preproc abuse."

10 years agovpx[dec|enc]: Clean up target OS based IO focused preproc abuse.
Tom Finegan [Mon, 11 Nov 2013 14:48:18 +0000 (06:48 -0800)]
vpx[dec|enc]: Clean up target OS based IO focused preproc abuse.

Relocate it to tools_common.h so we can stop duping this code
everywhere.

BUG=https://code.google.com/p/webm/issues/detail?id=660

Change-Id: If8aa49b74d297273cd9fd7006b2767837055a359