platform/upstream/libvpx.git
11 years agoMerge "Removed shadow warnings : loopfilter*.c"
Scott LaVarnway [Thu, 14 Mar 2013 17:55:58 +0000 (10:55 -0700)]
Merge "Removed shadow warnings : loopfilter*.c"

11 years agoRemoved shadow warnings : reconintra.c
Scott LaVarnway [Thu, 14 Mar 2013 15:28:34 +0000 (08:28 -0700)]
Removed shadow warnings : reconintra.c

Adding -Wshadow to CFLAGS generated a bunch of warnings.  This patch
removes these warnings.

Change-Id: I9d52c4a44351607d7d20d52e2a1bffe2a067891a

11 years agoRemoved shadow warnings : loopfilter*.c
Scott LaVarnway [Thu, 14 Mar 2013 15:23:26 +0000 (08:23 -0700)]
Removed shadow warnings : loopfilter*.c

Adding -Wshadow to CFLAGS generated a bunch of warnings.  This commit
is based on work already done by jzern.

Change-Id: Iefc08a7ab601c4d1b507f039577433bfb1c6cc9d

11 years agovpxenc: improve progress indicators with --skip
John Koleszar [Mon, 11 Mar 2013 22:03:00 +0000 (15:03 -0700)]
vpxenc: improve progress indicators with --skip

Account for skipped input frames when calculating frame rates, ETA.

Fixes https://code.google.com/p/webm/issues/detail?id=556

Change-Id: I9c8b51e02e9ff0ab2cf6f16fc9382fc7f6c77b80

11 years agovpxdec: fix use of uninitialized do_scale argument
John Koleszar [Mon, 11 Mar 2013 19:30:29 +0000 (12:30 -0700)]
vpxdec: fix use of uninitialized do_scale argument

This fixes a potential crash with VP8 streams that have an alt-ref on
the first frame, as well as potentially scaling the output in cases
where that wasn't desired.

Change-Id: I1fd74b5ab43329fbbffecb004dfd44de34c4dc22

11 years agoMerge "vp8: clamp probability values"
James Zern [Fri, 8 Mar 2013 19:20:49 +0000 (11:20 -0800)]
Merge "vp8: clamp probability values"

11 years agovp8: clamp probability values
James Zern [Tue, 5 Mar 2013 20:02:28 +0000 (12:02 -0800)]
vp8: clamp probability values

fixes out of bounds reads on vp8_prob_cost table.
present since:
217591f Added rate-targeted temporal scalability
v0.9.7-p1-71-g217591f

Change-Id: I9194b773098a381f1e3f67bd3307f05df27c24fd

11 years agoMerge "Code cleanup."
Dmitry Kovalev [Tue, 5 Mar 2013 22:22:23 +0000 (14:22 -0800)]
Merge "Code cleanup."

11 years agoCode cleanup.
Dmitry Kovalev [Tue, 5 Mar 2013 00:53:00 +0000 (16:53 -0800)]
Code cleanup.

Writing all #define guards using the same style. Inlining macro
VP8DX_BOOL_DECODER_FILL into vp8dx_bool_decoder_fill. Removing unnecessary
includes.

Change-Id: I483fa979ab34008bf7835b5f34c6471c44daf956

11 years agovpxdec: support scaling output
John Koleszar [Tue, 26 Feb 2013 00:58:47 +0000 (16:58 -0800)]
vpxdec: support scaling output

Adds an option, --scale, that will rescale any frames produced by
the decoder that don't match the resolution of the first frame to
that resolution. This is useful for playback of files that use
spatial resampling.

Change-Id: I867adc650d535df7ec5b107549359712ea3aaaa0

11 years agoFix rollover and pass 1 time estimate
John Koleszar [Wed, 27 Feb 2013 19:14:23 +0000 (11:14 -0800)]
Fix rollover and pass 1 time estimate

Fixes a rollover of the cx_time variable for encodes that take
over ~4200 seconds. Also enable the time estimate in first pass.

Change-Id: Ib5a98ee71bccd79a804d709cec7260651d0b7141

11 years agovpxenc: support scaling prior to encoding
John Koleszar [Thu, 1 Mar 2012 20:50:40 +0000 (12:50 -0800)]
vpxenc: support scaling prior to encoding

Scales the input of the encoder using libyuv's "box filter". Each stream
may have a different width and height specified. If the width (or
height) parameter is missing (or is explicitly set to 0) then the value
will be calculated based on the specified height (or width) and the
input file's dimensions, preserving its aspect ratio. Leaving the height
unspecified behaves similarly.

Change-Id: I700ef89ce54fb87588420a71c39c0e3e73b1a40e

11 years agoDon't exit on decode errors in vpxenc.
Ronald S. Bultje [Sat, 16 Feb 2013 00:31:02 +0000 (16:31 -0800)]
Don't exit on decode errors in vpxenc.

Allows the user to specify whether decode errors should be fatal or not.
Also makes mismatches optionally fatal.

Change-Id: I58cff4a82f3d42f5653b91cf348a7f669377e632

11 years agoAdd estimated completion time to vpxenc
John Koleszar [Wed, 13 Feb 2013 05:17:56 +0000 (21:17 -0800)]
Add estimated completion time to vpxenc

Make the progress line more useful by providing per-frame updates of
processing frame rate and estimated time remaining.

Fixes issue #534.

Change-Id: Ic91551878ff4b2f5db1cedaafb588add220cfa52

11 years agoMerge "vp8_init: fix NULL dereference on allocation error"
James Zern [Mon, 4 Mar 2013 19:10:06 +0000 (11:10 -0800)]
Merge "vp8_init: fix NULL dereference on allocation error"

11 years agovp8_init: fix NULL dereference on allocation error
James Zern [Sat, 2 Mar 2013 20:45:14 +0000 (12:45 -0800)]
vp8_init: fix NULL dereference on allocation error

Change-Id: I15a6cd014fce8090cdb0441723bd1a90b562579c

11 years agoprefix vp8 asm_{com,dec,enc}_offsets files
James Zern [Sat, 2 Mar 2013 21:42:41 +0000 (13:42 -0800)]
prefix vp8 asm_{com,dec,enc}_offsets files

make them symmetrical with the generated output and their vp9
counterparts

Change-Id: I72cc97c4d33d713dff620a6d7cc25955266216fc

11 years agoMerge "Use intrinsics for sse2 regular quantize"
Johann [Sat, 2 Mar 2013 01:20:26 +0000 (17:20 -0800)]
Merge "Use intrinsics for sse2 regular quantize"

11 years agoUse intrinsics for sse2 regular quantize
Johann [Thu, 28 Feb 2013 01:27:59 +0000 (17:27 -0800)]
Use intrinsics for sse2 regular quantize

Remove dependency of this function on asm_offsets. ssse3/sse4 next.

Change quant_shift calculation so it be done using SIMD. Pre-calculate
as much as possible to simplify EOB selection.

Take advantage of qcoeff being zero'd by tying the if statements
together.

Speed parity with previous implementation with gcc x86_64 linux

Change-Id: Ife97556a1eca3a74b09def1a3d04084974dff1fb

11 years agofirstpass.c: correct casting around gf_group_bits
James Zern [Thu, 28 Feb 2013 23:45:29 +0000 (15:45 -0800)]
firstpass.c: correct casting around gf_group_bits

gf_group_bits is int64_t remove casts to int.

Change-Id: I3b4225905041fac9af9fdfcbcb6f1c357ea4b593

11 years agoMerge "vp8 fast quantizer with intrinsics"
Johann [Thu, 28 Feb 2013 19:32:03 +0000 (11:32 -0800)]
Merge "vp8 fast quantizer with intrinsics"

11 years agoMerge "vp8/encoder/mcomp.c: remove an unused variable"
James Zern [Wed, 27 Feb 2013 19:33:18 +0000 (11:33 -0800)]
Merge "vp8/encoder/mcomp.c: remove an unused variable"

11 years agoMerge "add vp8 variance test"
John Koleszar [Wed, 27 Feb 2013 19:22:46 +0000 (11:22 -0800)]
Merge "add vp8 variance test"

11 years agoMerge "give vp9 variance struct a unique name"
John Koleszar [Wed, 27 Feb 2013 19:22:36 +0000 (11:22 -0800)]
Merge "give vp9 variance struct a unique name"

11 years agoMerge "rtcd: make include guard unique"
John Koleszar [Wed, 27 Feb 2013 19:22:26 +0000 (11:22 -0800)]
Merge "rtcd: make include guard unique"

11 years agoFix --as=nasm compatibility for new asm code.
Jan Kratochvil [Wed, 27 Feb 2013 17:51:59 +0000 (09:51 -0800)]
Fix --as=nasm compatibility for new asm code.

s/movd/movq/

Change-Id: Id1a56de91551f8dc796f14f1056c565dfc1ba626

11 years agovp8 fast quantizer with intrinsics
Johann [Sat, 2 Feb 2013 00:14:38 +0000 (16:14 -0800)]
vp8 fast quantizer with intrinsics

Reduce dependency on offsets file by using intrinsics. Disassembly shows
improvements over previous assembly specifically in register management,
preloading, and {pro,epi}log. Speed change is within margin of error.

Change-Id: I8131b4b4d62bc092407fe847bfaa8f2c0e1384ff

11 years agoadd vp8 variance test
James Zern [Sat, 23 Feb 2013 00:23:36 +0000 (16:23 -0800)]
add vp8 variance test

Change-Id: I4e94ee2c4e2360d6a11a454c323f2899c1bb6f72

11 years agogive vp9 variance struct a unique name
James Zern [Sat, 23 Feb 2013 00:06:48 +0000 (16:06 -0800)]
give vp9 variance struct a unique name

variance_vtable clashed with vp8/common/variance.h

Change-Id: I09c1de44d5519f1bd13f58c01144c0de4706de6f

11 years agortcd: make include guard unique
James Zern [Sat, 23 Feb 2013 00:03:40 +0000 (16:03 -0800)]
rtcd: make include guard unique

prior numbers were removed resulting in the same include guard for
vp[89]_rtcd

Change-Id: If2741e5b0cbdda7390c20e865e9f05992caff93e

11 years agovp8/encoder/mcomp.c: remove an unused variable
James Zern [Fri, 22 Feb 2013 23:38:45 +0000 (15:38 -0800)]
vp8/encoder/mcomp.c: remove an unused variable

Change-Id: I980da3c70f7cee1b723ede0ed2ae527ac7cd6a51

11 years agoMerge "Fix variance (signed integer) overflow"
James Zern [Fri, 22 Feb 2013 23:33:20 +0000 (15:33 -0800)]
Merge "Fix variance (signed integer) overflow"

11 years agoMerge "vp8: make gf_group_bits 64-bit"
James Zern [Fri, 22 Feb 2013 23:31:28 +0000 (15:31 -0800)]
Merge "vp8: make gf_group_bits 64-bit"

11 years agoMerge "vp8_first_pass(): avoid floating point div by 0"
James Zern [Fri, 22 Feb 2013 23:30:14 +0000 (15:30 -0800)]
Merge "vp8_first_pass(): avoid floating point div by 0"

11 years agovp8: make gf_group_bits 64-bit
James Zern [Fri, 22 Feb 2013 19:46:34 +0000 (11:46 -0800)]
vp8: make gf_group_bits 64-bit

avoids signed integer overflow; matches kf_group_bits

Change-Id: I193145cdc4fa53e70fba0a1731a03eb1a574931d

11 years agovp8_first_pass(): avoid floating point div by 0
James Zern [Fri, 22 Feb 2013 19:42:09 +0000 (11:42 -0800)]
vp8_first_pass(): avoid floating point div by 0

Change-Id: Id1e6a12db6b0c1d3f64ead8fd8834aadc30fbed2

11 years agoFix variance (signed integer) overflow
James Zern [Fri, 22 Feb 2013 19:28:48 +0000 (11:28 -0800)]
Fix variance (signed integer) overflow

based on change made in experimental:
  9847344 Fix variance (signed integer) overflow

Change-Id: I36f4ba5700f6f4615057daf7e70868f68a86669f

11 years agoMerge "Fixed the buffer overflow issue"
James Zern [Fri, 22 Feb 2013 20:36:32 +0000 (12:36 -0800)]
Merge "Fixed the buffer overflow issue"

11 years agoMerge "sixtap_predict_test: fix sizes passed to memset"
James Zern [Fri, 22 Feb 2013 20:32:07 +0000 (12:32 -0800)]
Merge "sixtap_predict_test: fix sizes passed to memset"

11 years agoFixed the buffer overflow issue
Jingning Han [Wed, 20 Feb 2013 23:32:17 +0000 (15:32 -0800)]
Fixed the buffer overflow issue

The issue that potentially broke the encoding process was due to the fact
that the length of token link is calculated from the total number of tokens
coded, while it is possible, in high bit-rate setting, this length is
greater than the buffer length initially assigned to the cpi->tok.

This patch increases the initially allocated buffer length assigned to
cpi->tok from
(mb_rows * mb_cols * 24 * 16) to (mb_rows * mb_cols * (1 + 24 * 16)).

It resolves the buffer overflow problem.

Change-Id: I8661a8d39ea0a3c24303e3f71a170787a1d5b1df

11 years agosixtap_predict_test: fix sizes passed to memset
James Zern [Fri, 22 Feb 2013 19:29:47 +0000 (11:29 -0800)]
sixtap_predict_test: fix sizes passed to memset

src_/dst_/dst_c_ are heap allocated, use the allocation size rather than
sizeof(var)

Change-Id: I3335ad487dc9b154cdf212891d1d74c812eff060

11 years agoMerge "Remove 'local' variables in rtcd.sh"
John Koleszar [Fri, 22 Feb 2013 16:22:33 +0000 (08:22 -0800)]
Merge "Remove 'local' variables in rtcd.sh"

11 years agoAppend .exe to the executable on OS/2
KO Myung-Hun [Fri, 22 Feb 2013 03:35:18 +0000 (12:35 +0900)]
Append .exe to the executable on OS/2

Change-Id: I1c3b17450b08d2fdfacb7b94055da29d4d20f9c8

11 years agoRemove 'local' variables in rtcd.sh
John Koleszar [Thu, 21 Feb 2013 19:11:13 +0000 (11:11 -0800)]
Remove 'local' variables in rtcd.sh

These aren't required to be supported by sh.

Change-Id: I54d641a2377531e0b320676d29d4ecdeee82288a

11 years agoUse dq instead of ddq with NASM
KO Myung-Hun [Thu, 7 Feb 2013 13:03:11 +0000 (22:03 +0900)]
Use dq instead of ddq with NASM

Change-Id: Iffb7cd44b449dc10fa5c24405be909d051b7abb5

11 years agoUse smartalign for long nops with NASM
KO Myung-Hun [Sun, 3 Feb 2013 12:44:56 +0000 (21:44 +0900)]
Use smartalign for long nops with NASM

'CPU amdnop' is supported by YASM only.

Change-Id: Ia3f7c2ba6d3bdf2889b62f5c6127fd515d7c7394

11 years agoDisable USE_POSIX_MAP on OS/2
KO Myung-Hun [Sun, 3 Feb 2013 12:43:55 +0000 (21:43 +0900)]
Disable USE_POSIX_MAP on OS/2

Change-Id: Ib88ab619fa4e1593e85ca325555f2c4648ac9bc7

11 years agoMerge "Add support for x64 and win64 yasm flags."
John Koleszar [Fri, 1 Feb 2013 01:05:33 +0000 (17:05 -0800)]
Merge "Add support for x64 and win64 yasm flags."

11 years agoAdd support for x64 and win64 yasm flags.
Frank Galligan [Thu, 31 Jan 2013 23:36:55 +0000 (15:36 -0800)]
Add support for x64 and win64 yasm flags.

Some projects must define only win64 for Windows 64bit builds using
yasm.

Change-Id: I1d09590d66a7bfc8b4412e1cc8685978ac60b748

11 years agoFix for divide by zero in vp8_adjust_key_frame.
Marco Paniconi [Thu, 31 Jan 2013 18:46:39 +0000 (10:46 -0800)]
Fix for divide by zero in vp8_adjust_key_frame.

Change-Id: I3bf9bdd95abfd287fbcb644f4fb85fb9204be95a

11 years agoMerge "WIP: Multiple decoder instances support"
Jim Bankoski [Thu, 31 Jan 2013 02:59:55 +0000 (18:59 -0800)]
Merge "WIP: Multiple decoder instances support"

11 years agoWIP: Multiple decoder instances support
Scott LaVarnway [Wed, 3 Oct 2012 17:07:13 +0000 (10:07 -0700)]
WIP: Multiple decoder instances support

Started adding support for multiple internal decoder instances.  Also added
code to limit the vp8 config options available when using frame-based
multithreading.

Change-Id: I0f1ee7abcfcff59204f50162e28254b8dd6972eb

11 years agolibvpx: Fix warnings on windows.
Frank Galligan [Tue, 29 Jan 2013 00:59:10 +0000 (16:59 -0800)]
libvpx: Fix warnings on windows.

Warnings found when tyring to build libvpx in Chromium.

Change-Id: I5824d9e2c06351e0cf46e9f5fa102cc8b04cf963

11 years agoMerge "Use FRAGMENT_DATA struct in pbi"
Scott LaVarnway [Tue, 29 Jan 2013 21:42:54 +0000 (13:42 -0800)]
Merge "Use FRAGMENT_DATA struct in pbi"

11 years agoUse FRAGMENT_DATA struct in pbi
Scott LaVarnway [Tue, 29 Jan 2013 18:34:35 +0000 (10:34 -0800)]
Use FRAGMENT_DATA struct in pbi

for fragment information.

Change-Id: Idc83625591a1e4ca6f551dcfb7fc0428f6f37351

11 years agoobj_int_extract.bat is not a generated file
Johann [Tue, 29 Jan 2013 02:19:17 +0000 (18:19 -0800)]
obj_int_extract.bat is not a generated file

Trying to create Visual Studio project files would fail with:
make[1]: *** No rule to make target `obj_int_extract.bat', needed by
`.projects'.  Stop.

Change-Id: Ie55458427ddea199a3de9973eaf2a37f711f839e

11 years agoMerge "Bug fix: error-concealment enabled changed postproc output"
Jim Bankoski [Sat, 26 Jan 2013 03:23:55 +0000 (19:23 -0800)]
Merge "Bug fix:  error-concealment enabled changed postproc output"

11 years agoBug fix: error-concealment enabled changed postproc output
Scott LaVarnway [Sat, 26 Jan 2013 01:06:32 +0000 (17:06 -0800)]
Bug fix:  error-concealment enabled changed postproc output

When error concealment is enabled, it swaps the mi and prev_mi ptrs after
each frame is decoded.  The postproc uses the mi ptr for the mode info context.
Now the postproc will use the correct mode info context.

Change-Id: I537ae5450f319c624999b44525bb52bb30047b7b

11 years agoDelay SSE check until the compiler is configured.
Johann [Sat, 26 Jan 2013 00:43:09 +0000 (16:43 -0800)]
Delay SSE check until the compiler is configured.

Move SSE4 detection below compiler configuration. Otherwise ${CC} may
not be populated.

We are specifically interested in -msse4.1. Narrow detection code.

Change-Id: I0ffac49e91b3fdb2aceb6eb6b90dc1c10b159111

11 years ago64-bit Mac Chromium support for libvpx.
Mark Mentovai [Fri, 25 Jan 2013 23:02:52 +0000 (18:02 -0500)]
64-bit Mac Chromium support for libvpx.

For 64-bit Mac Chromium, use private_extern for HIDDEN_DATA, the same as
32-bit Mac Chromium.

Change-Id: Ica0fa9e48a47409facece691ae1e39327369083c

11 years agoMerge "Include apple arm conversion script"
Johann [Fri, 25 Jan 2013 20:46:25 +0000 (12:46 -0800)]
Merge "Include apple arm conversion script"

11 years agoInclude apple arm conversion script
Johann [Fri, 25 Jan 2013 20:11:19 +0000 (12:11 -0800)]
Include apple arm conversion script

Fix building iOS targets from 'make dist' sources

Change-Id: I0bb9ba2a6d94e57c6cf439a79419af254e4a359c

11 years agoMerge "Bug fix: Handle input data ptr = NULL and size = 0 correctly"
Marco Paniconi [Fri, 25 Jan 2013 20:05:13 +0000 (12:05 -0800)]
Merge "Bug fix:  Handle input data ptr = NULL and size = 0 correctly"

11 years agoMerge "make: support V=1 as short form of verbose=yes"
James Zern [Wed, 23 Jan 2013 22:47:30 +0000 (14:47 -0800)]
Merge "make: support V=1 as short form of verbose=yes"

11 years agoBug fix: Handle input data ptr = NULL and size = 0 correctly
Scott LaVarnway [Tue, 22 Jan 2013 18:52:29 +0000 (10:52 -0800)]
Bug fix:  Handle input data ptr = NULL and size = 0 correctly

Issue 517: Issues decoding VPX_CODEC_USE_INPUT_FRAGMENTS
http://code.google.com/p/webm/issues/detail?id=517

Change-Id: I030c4cf15b1e1b993433571b6ee77c959a368ff2

11 years agoMerge "libvpx: Fix some warnings."
Jim Bankoski [Tue, 22 Jan 2013 15:58:15 +0000 (07:58 -0800)]
Merge "libvpx: Fix some warnings."

11 years agoLink pthread when it is available
Johann [Fri, 18 Jan 2013 19:31:22 +0000 (11:31 -0800)]
Link pthread when it is available

Linking when we don't use it but it is available is probably harmless.

Gtest requires pthreads. Don't automatically enable unit tests if we
don't have it.

Change-Id: I5e6c3b609f840c7b6dbb36fc65809f0ef84685f8

11 years agolibvpx: Fix some warnings.
Frank Galligan [Fri, 18 Jan 2013 17:44:23 +0000 (09:44 -0800)]
libvpx: Fix some warnings.

Change-Id: If8be8b9d28a29631f29c46daea8a226ab3580610

11 years agoDon't include x86inc.asm on non-x86 targets
John Koleszar [Thu, 17 Jan 2013 00:44:33 +0000 (16:44 -0800)]
Don't include x86inc.asm on non-x86 targets

This file is currently unused, as the asm that depended on it has been
disabled for the current roll into Chromium. It's expected that it
will return in some form, so wrap it in an x86 check rather than
deleting it. This extra file isn't really an issue with the libvpx
build system, but affects the gyp builds since on ARM (android) it
tries to do the ADS->GAS conversion on all .asm files reported in
libvpx_srcs.txt.

Change-Id: I080fbc22ab59fff41264ae230a48fa753594135b

11 years agoMerge branch 'experimental' of review:webm/libvpx
John Koleszar [Tue, 15 Jan 2013 00:25:26 +0000 (16:25 -0800)]
Merge branch 'experimental' of review:webm/libvpx

Change-Id: Ib2c2236349c2ae8ee81bd01c5067dddcbac713ca

11 years agofix a number issues that cause failures
Yaowu Xu [Tue, 15 Jan 2013 02:03:34 +0000 (18:03 -0800)]
fix a number issues that cause failures

During master jenkins verification proces

Change-Id: I3722b8753eaf39f99b45979ce407a8ea0bea0b89

11 years agoUse INT64_MAX instead of LLONG_MAX
John Koleszar [Mon, 14 Jan 2013 19:49:30 +0000 (11:49 -0800)]
Use INT64_MAX instead of LLONG_MAX

These variables have the type int64_t, not long long. long long could
be a larger type than 64 bits. Emulate INT64_MAX for older versions of
MSVC, and remove the unreferenced vpx_ports/vpxtypes.h

Change-Id: Ideaca71838fcd3849d816d5ab17aa347c97d03b0

11 years agoRemove compound intra-intra experiment.
Ronald S. Bultje [Mon, 14 Jan 2013 22:37:53 +0000 (14:37 -0800)]
Remove compound intra-intra experiment.

This experiment gives little gains and adds relatively much code
complexity (and it hinders other experiments), so let's get rid of
it.

Change-Id: Id25e79a137a1b8a01138aa27a1fa0ba4a2df274a

11 years agoMerge experiment "subpelrefmv"
Yaowu Xu [Mon, 14 Jan 2013 22:39:54 +0000 (14:39 -0800)]
Merge experiment "subpelrefmv"

Change-Id: Iac7f3d108863552b850c92c727e00c95571c9e96

11 years agoMerge experiment "widerlpf"
Yaowu Xu [Mon, 14 Jan 2013 20:11:06 +0000 (12:11 -0800)]
Merge experiment "widerlpf"

Change-Id: I0c94475075e66e13cfe4c20fab7db6474441ae86

11 years agoMerge "changed UV plane loop filtering for TX_8X8" into experimental
Yaowu Xu [Mon, 14 Jan 2013 22:47:31 +0000 (14:47 -0800)]
Merge "changed UV plane loop filtering for TX_8X8" into experimental

11 years agoMerge "change to evaluate reference mvs using above only" into experimental
Yaowu Xu [Mon, 14 Jan 2013 22:40:38 +0000 (14:40 -0800)]
Merge "change to evaluate reference mvs using above only" into experimental

11 years agochanged UV plane loop filtering for TX_8X8
Yaowu Xu [Mon, 14 Jan 2013 17:28:35 +0000 (09:28 -0800)]
changed UV plane loop filtering for TX_8X8

In commit 9a1d73d, loop filtering was added for UV 4x4 boundaries
when TX_8X8 is used by a MB. This commit further refined the decision
to be based on the actual transform used for the UV planes. When
UV planes use 4x4 transform, i.e. when prediction mode used is either
I8X8_PRED or SPLITMV, UV planes are filtered on 4x4 boundaries, and no
filtering is applied on 4x4 block boundaries when UV planes use 8X8
transform.

Change-Id: Ibb404face0a1d129b4b4abaf67c55d82e8df8bec

11 years agoMerge "Fix compiler warnings" into experimental
Paul Wilkins [Mon, 14 Jan 2013 22:20:57 +0000 (14:20 -0800)]
Merge "Fix compiler warnings" into experimental

11 years agoMerge "Merge prediction filter" into experimental
Adrian Grange [Mon, 14 Jan 2013 22:18:21 +0000 (14:18 -0800)]
Merge "Merge prediction filter" into experimental

11 years agochange to evaluate reference mvs using above only
Yaowu Xu [Thu, 10 Jan 2013 23:38:29 +0000 (15:38 -0800)]
change to evaluate reference mvs using above only

Change-Id: Ibcc342efac0a9be7a21d9b2c09984d9e16bbb225

11 years agoFix compiler warnings
Yaowu Xu [Mon, 14 Jan 2013 21:56:52 +0000 (13:56 -0800)]
Fix compiler warnings

The warnings caused verify failure with gerrit for several  commits

Change-Id: I030df8638bd69b8783a3ac58e720ff9f0bfd546c

11 years agoMerge prediction filter
Adrian Grange [Mon, 14 Jan 2013 20:57:07 +0000 (12:57 -0800)]
Merge prediction filter

Removed the experimental flag from around the prediction filter.

Change-Id: Ic1dd2db8fe8ac17ed5129f83094d4c5cdd5527d2

11 years agoReset x->skip for each iteration in the RD loop.
Ronald S. Bultje [Mon, 14 Jan 2013 20:43:12 +0000 (12:43 -0800)]
Reset x->skip for each iteration in the RD loop.

This prevents ill-defined behaviour, such as setting x->skip for a mode
that is excluded because of frame-level flags (e.g. filter selection,
compound prediction selection), then not breaking out of the RD loop
because the mode is not allowed, but keeping the flag on. Whatever mode
is iterated through next in the RD loop will then carry this flag, and
all sort of bad stuff happens, such as x->skip being set on intra pred
modes.

Change-Id: I5bec46b36e38292174acb1c564b3caf00a9b4b9a

11 years agoFix unused variable warnings
John Koleszar [Mon, 14 Jan 2013 20:10:11 +0000 (12:10 -0800)]
Fix unused variable warnings

Previous commit does not build cleanly on Jenkins with the DWT/DCT
hybrid experiment enabled (--enable-dwtdcthybrid).

Change-Id: Ia67e8f59d17ef2d5200ec6b90dfe6711ed6835a5

11 years agoconfigure: add support for android x86
Andoni Morales Alastruey [Mon, 14 Jan 2013 11:25:52 +0000 (12:25 +0100)]
configure: add support for android x86

Change-Id: Iadbfce5ecddd53a5238c2036e2c07f05d5853a5a

11 years agoFurther enhancements/fixes on dct/dwt hybrid txfm
Deb Mukherjee [Wed, 9 Jan 2013 14:26:54 +0000 (06:26 -0800)]
Further enhancements/fixes on dct/dwt hybrid txfm

Fixes some scaling issues. Adds an option to only compute the
dct on the low-low subband for 32x32 and 64x64 blocks using
only a single 16x16 dct after 1 and 2 wavelet decomposition
levels respectively. Also adds an option to use a 8x8 dct
as building block.

Currenlty with the 2/6 filter and with a single 16x16 dct on
the low low band, the reuslts compared to full 32x32 dct is
as follows:
derf: -0.15%
yt: -0.29%
std-hd: -0.18%
hd: -0.6%
These are my current recommended settings, since the 2/6 filter
is very simple.

Results with 8x8 dct are about 0.3% worse.

Change-Id: I00100cdc96e32deced591985785ef0d06f325e44

11 years agoMerge "WIP: Added sse2 version of vp9_mb_lpf_horizontal_edge_w" into experimental
Jim Bankoski [Sat, 12 Jan 2013 01:15:41 +0000 (17:15 -0800)]
Merge "WIP: Added sse2 version of vp9_mb_lpf_horizontal_edge_w" into experimental

11 years agoWIP: Added sse2 version of vp9_mb_lpf_horizontal_edge_w
Scott LaVarnway [Sat, 12 Jan 2013 01:11:04 +0000 (17:11 -0800)]
WIP: Added sse2 version of vp9_mb_lpf_horizontal_edge_w

and vp9_mb_lpf_vertical_edge_w_sse2.  This was quickly done so we can
run some tests over the weekend.  Future commits will optimize/refactor these
functions further.

The decoder performance improved by ~17% for the clip used.

Change-Id: I612687cd5a7670ee840a0cbc3c68dc2b84d4af76

11 years agoMerge "Upstream changes from Chromium Android Clang build." into experimental
Jim Bankoski [Sat, 12 Jan 2013 01:06:26 +0000 (17:06 -0800)]
Merge "Upstream changes from Chromium Android Clang build." into experimental

11 years agoMerge "Add loop filtering for UV plane" into experimental
Yaowu Xu [Sat, 12 Jan 2013 00:56:39 +0000 (16:56 -0800)]
Merge "Add loop filtering for UV plane" into experimental

11 years agoAdd loop filtering for UV plane
Yaowu Xu [Fri, 11 Jan 2013 23:53:32 +0000 (15:53 -0800)]
Add loop filtering for UV plane

On block boundary within a MB when 8x8 block boundary only is filtered
for Y.

Change-Id: Ie1c804c877d199e78e2fecd8c2d3f1e114ce9ec1

11 years agoUpstream changes from Chromium Android Clang build.
Frank Galligan [Fri, 11 Jan 2013 23:34:05 +0000 (15:34 -0800)]
Upstream changes from Chromium Android Clang build.

See https://codereview.chromium.org/11875006/

Change-Id: Ied2a17df2b3222635f84aef120eaa9feb53750d2

11 years agoMerge "Initial sse2 version of the wide loopfilters" into experimental
Scott LaVarnway [Fri, 11 Jan 2013 23:34:26 +0000 (15:34 -0800)]
Merge "Initial sse2 version of the wide loopfilters" into experimental

11 years agoInitial sse2 version of the wide loopfilters
Scott LaVarnway [Fri, 11 Jan 2013 22:54:14 +0000 (14:54 -0800)]
Initial sse2 version of the wide loopfilters

Updated the rtcd_defs and used the sse2 uv version
of the loopfilter.  The performance improved by ~8%
for the test clip used.

Change-Id: I5a0bca3b6674198d40ca4a77b8cc722ddde79c36

11 years agoRemove INT64_MAX references.
Paul Wilkins [Fri, 11 Jan 2013 19:41:39 +0000 (19:41 +0000)]
Remove INT64_MAX references.

Replace INT64_MAX references with LLONG_MAX
for windows build.

Change-Id: Ib8b45c1e9c15c043b2f54c27ed83b8682b2be34f

11 years agoMerge "Reduce the usage of widerlpf" into experimental
Yaowu Xu [Fri, 11 Jan 2013 19:15:43 +0000 (11:15 -0800)]
Merge "Reduce the usage of widerlpf" into experimental

11 years agortcd for new wider loop filters
Jim Bankoski [Fri, 11 Jan 2013 17:45:45 +0000 (09:45 -0800)]
rtcd for new wider loop filters

Change-Id: I8826bcdcf72ba6d86bde31cd13902a710399805c

11 years agoReduce the usage of widerlpf
Yaowu Xu [Thu, 10 Jan 2013 18:55:07 +0000 (10:55 -0800)]
Reduce the usage of widerlpf

The commit changed to not to use wider lpf within a superblock when
32x32 transform is used for the block.

The commit also changed to use the shorter version of loop filtering:
for UV planes.

Change-Id: I344c1fb9a3be9d1200782a788bcb0b001fedcff8

11 years agoMerge "configure: support hardfloat armv7 CHOSTS"
Johann [Thu, 10 Jan 2013 18:56:28 +0000 (10:56 -0800)]
Merge "configure: support hardfloat armv7 CHOSTS"