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
Jim Bankoski [Thu, 31 Jan 2013 02:59:55 +0000 (18:59 -0800)]
Merge "WIP: 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
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
Scott LaVarnway [Tue, 29 Jan 2013 21:42:54 +0000 (13:42 -0800)]
Merge "Use 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
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
Jim Bankoski [Sat, 26 Jan 2013 03:23:55 +0000 (19:23 -0800)]
Merge "Bug 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
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
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
Johann [Fri, 25 Jan 2013 20:46:25 +0000 (12:46 -0800)]
Merge "Include 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
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"
James Zern [Wed, 23 Jan 2013 22:47:30 +0000 (14:47 -0800)]
Merge "make: support V=1 as short form of verbose=yes"
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
Jim Bankoski [Tue, 22 Jan 2013 15:58:15 +0000 (07:58 -0800)]
Merge "libvpx: Fix some warnings."
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
Frank Galligan [Fri, 18 Jan 2013 17:44:23 +0000 (09:44 -0800)]
libvpx: Fix some warnings.
Change-Id: If8be8b9d28a29631f29c46daea8a226ab3580610
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
John Koleszar [Tue, 15 Jan 2013 00:25:26 +0000 (16:25 -0800)]
Merge branch 'experimental' of review:webm/libvpx
Change-Id: Ib2c2236349c2ae8ee81bd01c5067dddcbac713ca
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
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
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
Yaowu Xu [Mon, 14 Jan 2013 22:39:54 +0000 (14:39 -0800)]
Merge experiment "subpelrefmv"
Change-Id: Iac7f3d108863552b850c92c727e00c95571c9e96
Yaowu Xu [Mon, 14 Jan 2013 20:11:06 +0000 (12:11 -0800)]
Merge experiment "widerlpf"
Change-Id: I0c94475075e66e13cfe4c20fab7db6474441ae86
Yaowu Xu [Mon, 14 Jan 2013 22:47:31 +0000 (14:47 -0800)]
Merge "changed UV plane loop filtering for TX_8X8" 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
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
Paul Wilkins [Mon, 14 Jan 2013 22:20:57 +0000 (14:20 -0800)]
Merge "Fix compiler warnings" into experimental
Adrian Grange [Mon, 14 Jan 2013 22:18:21 +0000 (14:18 -0800)]
Merge "Merge prediction filter" into experimental
Yaowu Xu [Thu, 10 Jan 2013 23:38:29 +0000 (15:38 -0800)]
change to evaluate reference mvs using above only
Change-Id: Ibcc342efac0a9be7a21d9b2c09984d9e16bbb225
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
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
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
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
Andoni Morales Alastruey [Mon, 14 Jan 2013 11:25:52 +0000 (12:25 +0100)]
configure: add support for android x86
Change-Id: Iadbfce5ecddd53a5238c2036e2c07f05d5853a5a
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
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
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
Jim Bankoski [Sat, 12 Jan 2013 01:06:26 +0000 (17:06 -0800)]
Merge "Upstream changes from Chromium Android Clang build." into experimental
Yaowu Xu [Sat, 12 Jan 2013 00:56:39 +0000 (16:56 -0800)]
Merge "Add loop filtering for UV plane" into experimental
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
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
Scott LaVarnway [Fri, 11 Jan 2013 23:34:26 +0000 (15:34 -0800)]
Merge "Initial sse2 version of the wide loopfilters" into experimental
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
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
Yaowu Xu [Fri, 11 Jan 2013 19:15:43 +0000 (11:15 -0800)]
Merge "Reduce the usage of widerlpf" into experimental
Jim Bankoski [Fri, 11 Jan 2013 17:45:45 +0000 (09:45 -0800)]
rtcd for new wider loop filters
Change-Id: I8826bcdcf72ba6d86bde31cd13902a710399805c
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
Johann [Thu, 10 Jan 2013 18:56:28 +0000 (10:56 -0800)]
Merge "configure: support hardfloat armv7 CHOSTS"
Johann [Thu, 10 Jan 2013 18:35:22 +0000 (10:35 -0800)]
Merge "configure: support mingw-w64"
Ronald S. Bultje [Thu, 10 Jan 2013 16:36:42 +0000 (08:36 -0800)]
Fix wrong pitch argument in dct32x32 unit test.
Change-Id: Id9474a1686daebfa3d004e21823bf1888ec9e534
Ronald S. Bultje [Thu, 10 Jan 2013 16:23:59 +0000 (08:23 -0800)]
Merge tx32x32 experiment.
Change-Id: I615651e4c7b09e576a341ad425cf80c393637833
Ronald S. Bultje [Thu, 10 Jan 2013 16:18:33 +0000 (08:18 -0800)]
Merge "Merge superblocks64 experiment." into experimental
Luca Barbato [Thu, 10 Jan 2013 04:13:57 +0000 (05:13 +0100)]
configure: support hardfloat armv7 CHOSTS
Many linux distribution for arm switched to armhf/hardfloat, support
them.
Change-Id: I8ab39d34782b4f24b7028ac76342118166fd5905
Luca Barbato [Thu, 10 Jan 2013 03:50:18 +0000 (04:50 +0100)]
configure: support mingw-w64
Autodetect common cross compile and native mingw-w64 CHOSTs
Change-Id: Ib307b2f047c024c4dbc41880bd8d84b0fa7ecb93
Marco Paniconi [Thu, 10 Jan 2013 02:26:22 +0000 (18:26 -0800)]
Change some settings in multi-res_encoder test.
Change-Id: Ic6a0c3a4b3bb00584d1e9dcdda0b50bdebab87aa
Ronald S. Bultje [Thu, 10 Jan 2013 01:21:28 +0000 (17:21 -0800)]
Merge superblocks64 experiment.
Change-Id: If6c88752dffdb566f8d4322f135145270716fb8e
Yaowu Xu [Wed, 19 Dec 2012 23:53:03 +0000 (15:53 -0800)]
experiment a wider loop filter for MB border
when larger transforms are used
Change-Id: I25251442b44bf251df4c25a1c1fcf71fb2ad913b
Adrian Grange [Tue, 8 Jan 2013 22:14:01 +0000 (14:14 -0800)]
New prediction filter
This patch removes the old pred-filter experiment and replaces it
with one that is implemented using the switchable filter framework.
If the pred-filter experiment is enabled, three interopolation
filters are tested during mode selection; the standard 8-tap
interpolation filter, a sharp 8-tap filter and a (new) 8-tap
smoothing filter.
The 6-tap filter code has been preserved for now and if the
enable-6tap experiment is enabled (in addition to the pred-filter
experiment) the original 6-tap filter replaces the new 8-tap smooth
filter in the switchable mode.
The new experiment applies the prediction filter in cases of a
fractional-pel motion vector. Future patches will apply the filter
where the mv is pel-aligned and also to intra predicted blocks.
Change-Id: I08e8cba978f2bbf3019f8413f376b8e2cd85eba4
Luca Barbato [Sun, 6 Jan 2013 18:19:43 +0000 (19:19 +0100)]
make: support V=1 as short form of verbose=yes
make V=1 is commonly used for the purpose of trigger verboseness
across projects.
Change-Id: Id9dfb4a7eea8338b366ae8dadb56ab02ceabbb58
Deb Mukherjee [Tue, 8 Jan 2013 20:18:16 +0000 (12:18 -0800)]
Adds 64x64 hybrid dct/dwt transform
This is to add to the 64x64 transform experiment as an alternative to
a 64x64 DCT.
Two levels of wavelet decomposition is used on a 64x64 block, followed
by 16x16 DCT on the four lowest subbands. The highest three subbands
are left untransformed after the first level DWT.
Change-Id: I3d48d5800468d655191933894df6b46e15adca56
Ronald S. Bultje [Tue, 8 Jan 2013 21:31:37 +0000 (13:31 -0800)]
Merge "Merge superblocks (32x32) experiment." into experimental
Yunqing Wang [Tue, 8 Jan 2013 20:59:08 +0000 (12:59 -0800)]
Merge "vp9_sub_pixel_variance16x2 SSE2 optimization" into experimental
Ronald S. Bultje [Tue, 8 Jan 2013 18:29:22 +0000 (10:29 -0800)]
Merge superblocks (32x32) experiment.
Change-Id: I0df99742029834a85c4933652b0587cf5b6b2587
Yunqing Wang [Tue, 8 Jan 2013 18:44:19 +0000 (10:44 -0800)]
vp9_sub_pixel_variance16x2 SSE2 optimization
About 5% decoder speedup.
Change-Id: Ib6687d337af758a536a0e7e289f400990f1f9794
John Koleszar [Tue, 8 Jan 2013 18:11:26 +0000 (10:11 -0800)]
Merge vp9-preview changes into experimental branch
Incorportate vp9-preview changes by merging master branch into experimental.
Conflicts:
test/test.mk
vp9/common/vp9_filter.c
vp9/common/vp9_idctllm.c
vp9/common/vp9_invtrans.h
vp9/common/vp9_mbpitch.c
vp9/common/vp9_rtcd_defs.sh
vp9/common/vp9_systemdependent.h
vp9/common/vp9_type_aliases.h
vp9/common/x86/vp9_asm_stubs.c
vp9/common/x86/vp9_subpixel_mmx.asm
vp9/decoder/vp9_decodframe.c
vp9/decoder/vp9_dequantize.c
vp9/decoder/vp9_dequantize.h
vp9/decoder/vp9_onyxd_int.h
vp9/encoder/vp9_bitstream.c
vp9/encoder/vp9_encodeframe.c
vp9/encoder/vp9_rdopt.c
Change-Id: I17f51c3666d1b59cf1a699f87607cbc5d30a87c5
Scott LaVarnway [Tue, 8 Jan 2013 18:04:21 +0000 (10:04 -0800)]
Merge "Remove cpi parameter from update_mvcount()"
Yaowu Xu [Fri, 14 Dec 2012 07:53:11 +0000 (23:53 -0800)]
reset segement map on key frame
This is to fix a decoder crash when decoder skips a number of frame to
continue decoding from a later key frame.
Change-Id: I3ba116eba6c3440e0528a21f53745f694302e4ad
Yaowu Xu [Tue, 8 Jan 2013 16:40:03 +0000 (08:40 -0800)]
Merge "minor loop filter refactoring and cleanup" into experimental
Yaowu Xu [Wed, 19 Dec 2012 19:34:49 +0000 (11:34 -0800)]
minor loop filter refactoring and cleanup
This commit did a couple of minor cleanup/refactoring to prepare for
futher loop filter experiments. It merged y_only version of loop filter
function into the regular one, which makes sure that same logic is used
for functions for picking level and for actual loop filtering.
Change-Id: Id10c94dccd45f58e5310bacfdf6ee63cbb60b86f
Ronald S. Bultje [Mon, 7 Jan 2013 19:41:49 +0000 (11:41 -0800)]
Remove a few redundant function arguments in encodeframe.c.
Also reindent a block of code that was misindented after addition of
the tx32x32 experiment.
Change-Id: Ic3e4aae3effd8a40136da68c9f382af03632ba08
Ronald S. Bultje [Mon, 7 Jan 2013 19:02:14 +0000 (11:02 -0800)]
Re-enable support for static_threshold (encode_breakout).
Change-Id: Ibd7380f478d3127f9db91d0a4fd2fd0dfde961ab
Ronald S. Bultje [Fri, 4 Jan 2013 20:05:40 +0000 (12:05 -0800)]
Don't use tx32x32 for macroblocks.
Change-Id: Ib674e0153ca360867ab7a20ba291ac9171a01250
Ronald S. Bultje [Sun, 6 Jan 2013 02:20:25 +0000 (18:20 -0800)]
64x64 blocksize support.
3.2% gains on std/hd, 1.0% gains on hd.
Change-Id: I481d5df23d8a4fc650a5bcba956554490b2bd200
Adrian Grange [Fri, 4 Jan 2013 17:00:47 +0000 (09:00 -0800)]
Fix mode selection infinite loop bug
Mode selection for SBs could enter an infinite loop because
the interpolation filter mode index was not being reset
correctly.
Change-Id: I4bbe726f29ef5b6836e94884067c46084713cc11
Paul Wilkins [Thu, 3 Jan 2013 15:14:36 +0000 (15:14 +0000)]
Further change to mv reference search.
This experimental change reorders the search so
that all possible references that match the target
reference frame are tested first and these in order
of distance from the current block. These will usually
be the highest scoring candidates.
If we do not find enough good candidates this way
we try non matching cases. These will usually be lower
scoring candidates.
The change in order together with breakouts when
we have found enough candidates should reduce
the computational cost and especially reduce the number
of sort operations.
Quality Results:
Std Hd +0.228%, Hd +0.074%, YT +0.046%, derf +0.137%
This effect is probably due to the fact that more distant
weak candidates are now less likely to get "promoted" over
near candidates even if they are repeated.
Change-Id: Iec37e77d88a48ad0ee1f315b14327a95d63f81f6
Marco Paniconi [Thu, 3 Jan 2013 23:47:34 +0000 (15:47 -0800)]
Use seg/ref/mode offsets in loop_filter_partial.
Use the proper seg/mode/ref filter offsets when selecting the
frame loop filter level for fast mode (pick_filter_level_fast).
Change-Id: I2473e2131c800ad19755cb6211ad735fecfe2ac0
Yaowu Xu [Thu, 3 Jan 2013 17:57:07 +0000 (09:57 -0800)]
Merge "make cost_coeffs() and tokenize_b() consistent" into experimental
Yaowu Xu [Thu, 3 Jan 2013 17:33:21 +0000 (09:33 -0800)]
Merge "Merge cost_coeffs_2x2() into cost_coeffs()" into experimental
Yaowu Xu [Thu, 3 Jan 2013 17:00:30 +0000 (09:00 -0800)]
make cost_coeffs() and tokenize_b() consistent
Change-Id: I7cdb5c32a1400f88ec36d08ea982e38b77731602
Adrian Grange [Thu, 20 Dec 2012 22:56:19 +0000 (14:56 -0800)]
New interpolation filter selection algorithm
Old Scheme:
When SWITCHABLE filter selection is enabled the encoder
evaluates the use of each interpolation filter type and
selects the best one to use at the MB level. A frame-
level flag can be set to force the use of a particular
filter type for all MBs in a frame if it is more efficient
to encode that way. The logic here involved a Q dependent
threshold that assumed that the second 8-tap filter was
a high-pass filter. However, this requires a trip around
the recode loop. If the frame-level flag indicates use
of a particular filter, the other filters are not
evaluated in the pick_mode loop.
New Scheme:
Each filter type is evaluated at the MB level and a record
of the best filter is kept, irrespective of what filter
is signaled at the frame-level. Once all MBs have been
encoded, a decision is made as to what frame-level mode
to set for the *next* frame. If one filter is used by 80%
or more of the MBs, then this filter is forced since it
is assumed that this will be more efficient if the
next frame has similar characteristics. i.e. there is a
one-frame lag between measuring the filter selection and
setting the frame-level mode to use.
Change-Id: I6a7e7ced8f27e120fafb99db2dc9c6293f8d20f7
Yaowu Xu [Thu, 3 Jan 2013 16:00:00 +0000 (08:00 -0800)]
Merge cost_coeffs_2x2() into cost_coeffs()
Remove special case function cost_coeffs_2x2() and change function
cost_coeffs() to handle 2nd order haar block as it is handle all
other block types already.
Change-Id: I2aac6f81ee0ae9e03d6a8da4f8681d69b79ce41f
Yunqing Wang [Wed, 2 Jan 2013 19:45:27 +0000 (11:45 -0800)]
Merge "Switch the order of calculating 2-D inverse transform" into experimental
Yunqing Wang [Wed, 2 Jan 2013 19:45:19 +0000 (11:45 -0800)]
Merge "Skip finding best ref_mvs when the mode is ZEROMV" into experimental
Paul Wilkins [Wed, 2 Jan 2013 18:06:00 +0000 (18:06 +0000)]
Change INT64_MAX to LLONG_MAX
This is needed to make the windows build work after
the removal of vp9_type_alisases.h.
Change-Id: I8addf38e9f3c8b864e0e30a8916a26e0264dd02c
Paul Wilkins [Mon, 10 Dec 2012 12:38:48 +0000 (12:38 +0000)]
Added update-able mv-ref probabilities.
Part of NEW_MVREF experiment.
Added update-able probabilities.
Change-Id: I5a4fcf4aaed1d0d1dac980f69d535639a3d59401
Yunqing Wang [Fri, 28 Dec 2012 00:04:44 +0000 (16:04 -0800)]
Skip finding best ref_mvs when the mode is ZEROMV
Read mode before calling vp9_find_best_ref_mvs(). If the mode is
ZEROMV, the best ref_mvs are not needed. Then, we can skip calling
vp9_find_best_ref_mvs().
Change-Id: I5baa3658dd3f1c7107211cbbbcf919b4584be2e2
Yunqing Wang [Thu, 27 Dec 2012 21:48:17 +0000 (13:48 -0800)]
Switch the order of calculating 2-D inverse transform
The 2-D inverse transform X = M1*Z*Transposed_M2 was calculated
in 2 steps from left to right:
1. Vertical transform: Y = M1*Z
2. Horizontal transform: X= Y*Transposed_M2
In SIMD, a transpose is needed in vertical transform.
Here, switched the calculation order to do it from right to left.
In this way, we could eliminate that transpose by writing the
intermediate results out to their transposed positions.
Change-Id: I34dfe5eb01292f6e363712420d99475e2e81e12c
John Koleszar [Fri, 21 Dec 2012 23:20:41 +0000 (15:20 -0800)]
Merge branch 'vp9-preview' of review:webm/libvpx
Merge the vp9-preview branch into master.
Change-Id: If700b9054676f24bed9deb59050af546c1ca5296
John Koleszar [Sun, 23 Dec 2012 15:20:10 +0000 (07:20 -0800)]
Build fixes to merge vp9-preview into master
Various fixups to resolve issues when building vp9-preview under the more stringent
checks placed on the experimental branch.
Change-Id: I21749de83552e1e75c799003f849e6a0f1a35b07
Yunqing Wang [Tue, 18 Dec 2012 20:09:46 +0000 (12:09 -0800)]
Fix a warning
Fixed the warning: the size of array ‘intermediate_buffer’ can’t
be evaluated [-Wvla].
Change-Id: Ibcffd6969bd71cee0c10f7cf18960e58cd0bd915
Scott LaVarnway [Fri, 21 Dec 2012 22:41:49 +0000 (14:41 -0800)]
Removed mmx versions of vp9_bilinear_predict filters
These filters will not work with VP9.
Change-Id: Ic26c77961084fcea6bfa97f4cd95afdea2282e85
John Koleszar [Fri, 21 Dec 2012 22:14:06 +0000 (14:14 -0800)]
Update CHANGELOG for v1.2.0 release
Change-Id: Ie0525d300c94bfde2947b1cc2572bb7d37e17998
John Koleszar [Fri, 21 Dec 2012 22:21:50 +0000 (14:21 -0800)]
Merge "add emmintrin_compat.h for builds with gcc < 4" into vp9-preview
John Koleszar [Fri, 21 Dec 2012 22:20:15 +0000 (14:20 -0800)]
Merge "configure: test for -msse4" into vp9-preview
Jim Bankoski [Fri, 21 Dec 2012 21:09:04 +0000 (13:09 -0800)]
fixed sizes of global arrays
Change-Id: Ibc077cf1c1da0c86063f88c6d3073c6876989119
John Koleszar [Thu, 20 Dec 2012 23:39:43 +0000 (15:39 -0800)]
Fix MSVS build for removed vp9/common/vp9_onyxd.h
Change-Id: I75ad0b4ca5b53b5bf759cc26a484ec196d275279
James Zern [Thu, 20 Dec 2012 22:46:55 +0000 (14:46 -0800)]
add emmintrin_compat.h for builds with gcc < 4
Change-Id: If7822e6fcd0d3568b934032322b19ba3e401df26