platform/upstream/libvpx.git
9 years agoMerge "VPX: Add rtcd support for scaling."
Scott LaVarnway [Tue, 11 Aug 2015 13:19:00 +0000 (13:19 +0000)]
Merge "VPX: Add rtcd support for scaling."

9 years agoMerge "Move vp9_systemdependent.h to vpx_ports bitops.h and system_state.h"
Aℓex Converse [Tue, 11 Aug 2015 01:18:39 +0000 (01:18 +0000)]
Merge "Move vp9_systemdependent.h to vpx_ports bitops.h and system_state.h"

9 years agoMerge "Adjustments for VP9 temporal layers, for 1 pass CBR"
Marco Paniconi [Mon, 10 Aug 2015 22:53:35 +0000 (22:53 +0000)]
Merge "Adjustments for VP9 temporal layers, for 1 pass CBR"

9 years agoMove vp9_systemdependent.h to vpx_ports bitops.h and system_state.h
Alex Converse [Mon, 10 Aug 2015 18:28:04 +0000 (11:28 -0700)]
Move vp9_systemdependent.h to vpx_ports bitops.h and system_state.h

Use system_state.h in vpx_dsp and remove unneeded includes of
vp9_systemdependent.h.

Change-Id: I92557ec6dd5aa790160b4f31fe7967db0d7ec3c4

9 years agoMerge changes from topic 'x86inc'
James Zern [Mon, 10 Aug 2015 21:20:38 +0000 (21:20 +0000)]
Merge changes from topic 'x86inc'

* changes:
  Only use .text sections for aout
  Use newer x86inc.asm
  Use .text instead of .rodata on macho
  Copy PIC handling code from x86_abi_support
  Set 'private_extern' visibility for macho targets
  Avoid 'amdnop' when building with nasm
  Catch all elf formats
  Expand PIC default to macho64 and respect CONFIG_PIC from libvpx
  Use libvpx defines to set name mangling rules
  Customize x86inc.asm for libvpx

9 years agoMerge "Update x86inc.asm from x264"
Johann Koenig [Mon, 10 Aug 2015 21:16:32 +0000 (21:16 +0000)]
Merge "Update x86inc.asm from x264"

9 years agoAdjustments for VP9 temporal layers, for 1 pass CBR
Marco [Tue, 4 Aug 2015 23:12:27 +0000 (16:12 -0700)]
Adjustments for VP9 temporal layers, for 1 pass CBR

Adjust logic for golden reference usage in non-rd pickmode,
under svc mode.

Change-Id: If012e21e8123a0684634af0ac7ed3da9c8c7d7cc

9 years agoMerge "Add unittest for SVC 1pass CBR mode with 4 threads."
Marco Paniconi [Mon, 10 Aug 2015 19:16:47 +0000 (19:16 +0000)]
Merge "Add unittest for SVC 1pass CBR mode with 4 threads."

9 years agoOnly use .text sections for aout
Johann [Mon, 10 Aug 2015 19:08:18 +0000 (12:08 -0700)]
Only use .text sections for aout

Also do not specify alignment.

Change-Id: Id4a62bfa0fc3bc56e25689b5de7796bd6e864457

9 years agoMerge "fastssim: Add some missing consts"
Aℓex Converse [Mon, 10 Aug 2015 17:49:39 +0000 (17:49 +0000)]
Merge "fastssim: Add some missing consts"

9 years agoMerge "clang/win: Make libvpx build with -Wunused-function."
Tom Finegan [Mon, 10 Aug 2015 17:25:32 +0000 (17:25 +0000)]
Merge "clang/win: Make libvpx build with -Wunused-function."

9 years agoMerge "Add a codereview.setting file so that `git cl upload` works."
Tom Finegan [Mon, 10 Aug 2015 17:24:56 +0000 (17:24 +0000)]
Merge "Add a codereview.setting file so that `git cl upload` works."

9 years agoMerge "Make build_inter_predictors static function"
Jingning Han [Mon, 10 Aug 2015 16:56:48 +0000 (16:56 +0000)]
Merge "Make build_inter_predictors static function"

9 years agoAdd unittest for SVC 1pass CBR mode with 4 threads.
Marco [Mon, 8 Jun 2015 19:25:46 +0000 (12:25 -0700)]
Add unittest for SVC 1pass CBR mode with 4 threads.

Change-Id: I2b25d495d0dd3eedea31aa12cb908a90480f25de

9 years agofastssim: Add some missing consts
Alex Converse [Fri, 7 Aug 2015 19:02:49 +0000 (12:02 -0700)]
fastssim: Add some missing consts

Change-Id: Id36f180032c8a92c686da6f716a7468332b23b94

9 years agoMerge changes I2aa2a545,I63932eda,Ie3694ecd
Aℓex Converse [Mon, 10 Aug 2015 16:41:54 +0000 (16:41 +0000)]
Merge changes I2aa2a545,I63932eda,Ie3694ecd

* changes:
  ssim: Add missing statics and consts
  psnrhvs: Add missing consts and static consts.
  ssim: Replace unsigned long with uint32_t.

9 years agoMake build_inter_predictors static function
Jingning Han [Fri, 7 Aug 2015 19:59:07 +0000 (12:59 -0700)]
Make build_inter_predictors static function

Remove the function declaration from vp9_reconinter.h file.

Change-Id: I193562151b69ece19b9ee2efa1a791fe2522cca0

9 years agoMerge "Add static syntax to total_adj_strong_thresh"
Jingning Han [Mon, 10 Aug 2015 15:50:53 +0000 (15:50 +0000)]
Merge "Add static syntax to total_adj_strong_thresh"

9 years agovpx_ports/msvc.h: include math.h for ceil/floor
James Zern [Sat, 8 Aug 2015 18:11:23 +0000 (11:11 -0700)]
vpx_ports/msvc.h: include math.h for ceil/floor

fixes visual studio build errors

Change-Id: I5d24f91c74572a75dfa77b9384d6614de231dc50

9 years agovpx_ports/x86.h: fix visual studio build warning
James Zern [Sat, 8 Aug 2015 18:10:44 +0000 (11:10 -0700)]
vpx_ports/x86.h: fix visual studio build warning

test for WINAPI_FAMILY_PARTITION before using it

Change-Id: I6b7a7b1ccd3332b31c73b733f88c997e30b22de8

9 years agoMove the msvc round() replacement to msvc.h
Alex Converse [Sat, 8 Aug 2015 01:27:48 +0000 (18:27 -0700)]
Move the msvc round() replacement to msvc.h

Change-Id: If470411c3c62a27f52261f4ece2c5054b71789c7

9 years agoMake the round() replacement match C99 and POSIX.
Alex Converse [Sat, 8 Aug 2015 01:24:21 +0000 (18:24 -0700)]
Make the round() replacement match C99 and POSIX.

http://pubs.opengroup.org/onlinepubs/009695399/functions/round.html

Change-Id: Idf387d944d36bf593f8797db9053e11e5c9b9b39

9 years agoAdd static syntax to total_adj_strong_thresh
Jingning Han [Fri, 7 Aug 2015 19:56:41 +0000 (12:56 -0700)]
Add static syntax to total_adj_strong_thresh

Change-Id: I34cc7b500d19a79f29c5ad241f602c1bc269446e

9 years agoUse newer x86inc.asm
Johann [Thu, 30 Jul 2015 16:19:43 +0000 (09:19 -0700)]
Use newer x86inc.asm

Rename updated version of x86inc.asm

Use "private_prefix" instead of "program_name" and make vpx the default
prefix.

Change-Id: I4883a99b2aee8e5dc9f2c16a2e6f4b5d6e4de458

9 years agoUse .text instead of .rodata on macho
Johann [Thu, 30 Jul 2015 16:18:36 +0000 (09:18 -0700)]
Use .text instead of .rodata on macho

The read only sections are getting stripped on some OS X builds. As a
result, random data is used in place of the intended tables.

Change-Id: I58c18a53e503f093ee268451698c5761e6c32540

9 years agoCopy PIC handling code from x86_abi_support
Johann [Tue, 28 Jul 2015 21:46:54 +0000 (14:46 -0700)]
Copy PIC handling code from x86_abi_support

Change-Id: Ifcd9493802f0c957d7a3b16ce641b989e166792f

9 years agoSet 'private_extern' visibility for macho targets
Johann [Tue, 28 Jul 2015 21:43:45 +0000 (14:43 -0700)]
Set 'private_extern' visibility for macho targets

Don't set it when building with 'nasm'

Change-Id: I01c211090f6870e0d34011f867471249a5f54bb0

9 years agoAvoid 'amdnop' when building with nasm
Johann [Tue, 28 Jul 2015 21:42:23 +0000 (14:42 -0700)]
Avoid 'amdnop' when building with nasm

Other implementations of x86inc.asm have more comprehensive nasm
workarounds. This is the only thing that was changed for the previous
import to libvpx. See if we can still get away with it.

Change-Id: I3ef6fe9a4816461c89431a82b7e4a08b4b948d39

9 years agoCatch all elf formats
Johann [Tue, 28 Jul 2015 21:40:44 +0000 (14:40 -0700)]
Catch all elf formats

Make sure all variants get correct visibility and SECTION notes.

libvpx only pass elf32 and elf64 to the assembler, never just elf.

Change-Id: I7c36c115bf52436c9afe61985c859a2081948271

9 years agoExpand PIC default to macho64 and respect CONFIG_PIC from libvpx
Johann [Tue, 28 Jul 2015 21:37:05 +0000 (14:37 -0700)]
Expand PIC default to macho64 and respect CONFIG_PIC from libvpx

Change-Id: Ic8c07cc02c80953920f5f86b426a55114ea2cc44

9 years agoUse libvpx defines to set name mangling rules
Johann [Tue, 28 Jul 2015 22:06:50 +0000 (15:06 -0700)]
Use libvpx defines to set name mangling rules

Change-Id: I03986bf2b05032d8a29e5bd629f7f6703269ab13

9 years agoUpdate x86inc.asm from x264
Johann [Tue, 21 Jul 2015 19:19:54 +0000 (12:19 -0700)]
Update x86inc.asm from x264

Revision a95584945dd9ce3acc66c6cd8f6796bc4404d40d
from git://git.videolan.org/x264.git

Temporarily name file x86inc.asm until all necessary local patches are
applied.

Change-Id: I9c7d0ed4d3ed900ae2d5db0abbcc048a2892c9b8

9 years agoCustomize x86inc.asm for libvpx
Johann [Tue, 28 Jul 2015 21:30:07 +0000 (14:30 -0700)]
Customize x86inc.asm for libvpx

Use settings from vpx_config.asm

Prefix functions with vpx.

Change-Id: I1091d9b063e9f5af0dce554bb636ee894c05dcf7

9 years agoAdd a codereview.setting file so that `git cl upload` works.
Nico Weber [Fri, 7 Aug 2015 21:01:26 +0000 (14:01 -0700)]
Add a codereview.setting file so that `git cl upload` works.

Change-Id: Ieb43e61c14296c6caea5881a102fe4cb6d65e1df

9 years agoclang/win: Make libvpx build with -Wunused-function.
Nico Weber [Fri, 7 Aug 2015 20:56:47 +0000 (13:56 -0700)]
clang/win: Make libvpx build with -Wunused-function.

BUG=chromium:505316

Change-Id: I1c951eb99fd0487e1bc70ebb2852b981fd69ed8a

9 years agoMerge "Add static syntax to copy_mem64x64"
Jingning Han [Fri, 7 Aug 2015 21:41:32 +0000 (21:41 +0000)]
Merge "Add static syntax to copy_mem64x64"

9 years agoMerge "fastssim: Add stdlib.h for malloc/free"
Aℓex Converse [Fri, 7 Aug 2015 19:21:42 +0000 (19:21 +0000)]
Merge "fastssim: Add stdlib.h for malloc/free"

9 years agoMerge "Replace VP8 SSIM with VP9 derived vpx_dsp SSIM."
Aℓex Converse [Fri, 7 Aug 2015 19:15:35 +0000 (19:15 +0000)]
Merge "Replace VP8 SSIM with VP9 derived vpx_dsp SSIM."

9 years agossim: Add missing statics and consts
Alex Converse [Fri, 7 Aug 2015 17:48:32 +0000 (10:48 -0700)]
ssim: Add missing statics and consts

Change-Id: I2aa2a545bd2f8f170c66c2e267ea9d617ff10d87

9 years agopsnrhvs: Add missing consts and static consts.
Alex Converse [Fri, 7 Aug 2015 01:37:58 +0000 (18:37 -0700)]
psnrhvs: Add missing consts and static consts.

Change-Id: I63932edaef4c4d4d0a57e6f7d3e4aa42651a5c47

9 years agossim: Replace unsigned long with uint32_t.
Alex Converse [Thu, 6 Aug 2015 20:46:28 +0000 (13:46 -0700)]
ssim: Replace unsigned long with uint32_t.

The assembly only writes the low 4 bytes, and the HBD version only uses
uint32_t bytes.

Change-Id: Ie3694ecda511c231e55870df814cbae30e588073

9 years agoMerge "Fix a setting in cyclic refresh."
Marco Paniconi [Fri, 7 Aug 2015 18:38:40 +0000 (18:38 +0000)]
Merge "Fix a setting in cyclic refresh."

9 years agofastssim: Add stdlib.h for malloc/free
Alex Converse [Thu, 6 Aug 2015 20:37:36 +0000 (13:37 -0700)]
fastssim: Add stdlib.h for malloc/free

Change-Id: I4d734febc14c534dba20b67cf6bd628996cc9ab7

9 years agoReplace VP8 SSIM with VP9 derived vpx_dsp SSIM.
Alex Converse [Thu, 6 Aug 2015 20:33:44 +0000 (13:33 -0700)]
Replace VP8 SSIM with VP9 derived vpx_dsp SSIM.

Change-Id: Ic61f30af12d1b01c1d5adc4e08bc20e20ad38027

9 years agoMerge "Fixed a comment on the compound ref frames."
Zoe Liu [Fri, 7 Aug 2015 18:04:35 +0000 (18:04 +0000)]
Merge "Fixed a comment on the compound ref frames."

9 years agoFix a setting in cyclic refresh.
Marco [Fri, 7 Aug 2015 17:14:01 +0000 (10:14 -0700)]
Fix a setting in cyclic refresh.

Use the correct period (in terms of cr->percent_refresh) for the condition
of larger delta-qp following key frame.
And account for larger interval for temporal layers.

Change-Id: Ibb43f5200f9b1eeb8bbb8211327b08ecda3c3b8a

9 years agoAdd static syntax to copy_mem64x64
Jingning Han [Fri, 7 Aug 2015 17:15:53 +0000 (10:15 -0700)]
Add static syntax to copy_mem64x64

Change-Id: Iee4c853ea4a44ae9f5de60c09e5a7b810f15d2dd

9 years agoMerge "Move VP9 SSIM metrics to vpx_dsp."
Aℓex Converse [Fri, 7 Aug 2015 16:43:28 +0000 (16:43 +0000)]
Merge "Move VP9 SSIM metrics to vpx_dsp."

9 years agoMerge "Improve the second-level sub-pixel motion search"
Yunqing Wang [Fri, 7 Aug 2015 16:05:59 +0000 (16:05 +0000)]
Merge "Improve the second-level sub-pixel motion search"

9 years agoMove VP9 SSIM metrics to vpx_dsp.
Alex Converse [Thu, 6 Aug 2015 19:53:59 +0000 (12:53 -0700)]
Move VP9 SSIM metrics to vpx_dsp.

Change-Id: I20c7b42631b579fade6cf7ebf6d4c69b2fcb5e5e

9 years agoFixed a comment on the compound ref frames.
Zoe Liu [Fri, 7 Aug 2015 00:36:57 +0000 (17:36 -0700)]
Fixed a comment on the compound ref frames.

Change-Id: I77e397ac9f594c9c4c1db442e334a6ea5f53f588

9 years agoMerge "Cosmetic - align format in vp9"
Jingning Han [Fri, 7 Aug 2015 00:03:05 +0000 (00:03 +0000)]
Merge "Cosmetic - align format in vp9"

9 years agoImprove the second-level sub-pixel motion search
Yunqing Wang [Wed, 5 Aug 2015 16:15:03 +0000 (09:15 -0700)]
Improve the second-level sub-pixel motion search

Re-investigated the second-level sub-pixel motion search. Improved the
way of choosing search points. Rewrote the second-level search code.

At speed 0, the borg tests showed:
1. for stdhd set, Avg PSNR gain: 0.216%; Overall PSNR gain: 0.196%;
   SSIM gain: 0.206%. Only 1 out of 15 clips showed PSNR loss.
2. for derf set, Avg PSNR gain: 0.171%; Overall PSNR gain: 0.192%;
   SSIM gain: 0.207%. Only 3 out of 30 clips showed PSNR losses.
Added the condition for third-point checking, namely, less points
were checked. Speed tests showed no speed loss(Avg 0.3% speedup at
speed 0).

Change-Id: I6284ebb3fa7ba63be8528184c49e06757211a7f1

9 years agoCosmetic - align format in vp9
Jingning Han [Thu, 6 Aug 2015 22:55:36 +0000 (15:55 -0700)]
Cosmetic - align format in vp9

Change-Id: I83ed3422f1f4009675ad2f5c4b7236bc7b83b30e

9 years agoFix a new[]/delete mismatch
Alex Converse [Thu, 6 Aug 2015 21:34:27 +0000 (14:34 -0700)]
Fix a new[]/delete mismatch

Change-Id: I04c43ff71748d7a2e2ede462cb42b22116a1bfd6

9 years agoMerge "endian_inl.h: fix mips32 android build"
James Zern [Thu, 6 Aug 2015 22:23:39 +0000 (22:23 +0000)]
Merge "endian_inl.h: fix mips32 android build"

9 years agoMerge "Narrow a load in iwht4x4_16_add."
Aℓex Converse [Thu, 6 Aug 2015 22:21:16 +0000 (22:21 +0000)]
Merge "Narrow a load in iwht4x4_16_add."

9 years agoMerge "Fix compiler error in vp8/9 decoder test"
Jingning Han [Thu, 6 Aug 2015 19:50:23 +0000 (19:50 +0000)]
Merge "Fix compiler error in vp8/9 decoder test"

9 years agoMerge "Revert "VP9_COPY_CONVOLVE_SSE2 optimization""
James Zern [Thu, 6 Aug 2015 19:28:49 +0000 (19:28 +0000)]
Merge "Revert "VP9_COPY_CONVOLVE_SSE2 optimization""

9 years agoendian_inl.h: fix mips32 android build
James Zern [Thu, 6 Aug 2015 01:31:50 +0000 (18:31 -0700)]
endian_inl.h: fix mips32 android build

when configuring with mips32-android-gcc HAVE_MIPS32 would be set, but the
ndk does not set -mips32r2 for APP_ABI=mips which results in BSwap32 failing
to build; refine the check in endian_inl.h

Change-Id: I22893fe61f29111eb902d961b500b2174596268d

9 years agoFix compiler error in vp8/9 decoder test
Jingning Han [Thu, 6 Aug 2015 19:02:05 +0000 (12:02 -0700)]
Fix compiler error in vp8/9 decoder test

The test file compiler fails if one uses --disable-vp8-decoder
--enable-vp9-decoder. It effectively turns on CONFIG_VP8 and
CONFIG_DECODERS, but turns off CONFIG_VP8_DECODER, which causes
compiler error at test_vector_test.cc.

This commit fixes this issue by adding vp8/9 decoder flags to
the decoder behavior test, respectively.

Change-Id: I097ff8fd5e12715a94a565a82e54503885eb7187

9 years agoRate control adjustment for temporal-svc 1pass.
Marco [Wed, 5 Aug 2015 22:09:16 +0000 (15:09 -0700)]
Rate control adjustment for temporal-svc 1pass.

-For ambient qp in active_worst setting: increase the initial
averaging time (from very first frame) to account for avg_qp of key_frame.
-In postencode on key frame: update the last_q/avg_q[key_frame] for
all temporal layers.

Change-Id: I5313153d350b1045b4835ce948dfffb7d2039b52

9 years agoMerge "Support build with Visual Studio 14."
James Zern [Thu, 6 Aug 2015 00:10:40 +0000 (00:10 +0000)]
Merge "Support build with Visual Studio 14."

9 years agoMerge "Bugfix for svc."
Marco Paniconi [Wed, 5 Aug 2015 21:53:19 +0000 (21:53 +0000)]
Merge "Bugfix for svc."

9 years agoSupport build with Visual Studio 14.
Ghislain MARY [Tue, 28 Jul 2015 14:37:09 +0000 (16:37 +0200)]
Support build with Visual Studio 14.

Change-Id: Id0d7c19857e29b66c652c8cc1ab56b64e4fc0fa3

9 years agoBugfix for svc.
Marco [Wed, 5 Aug 2015 20:53:26 +0000 (13:53 -0700)]
Bugfix for svc.

Condition usage of rc.frames_since_golden to non-svc mode.

rc.frames_since_golden, which is used in non-svc mode to add second reference,
was causing, under certain condiiton, the turning off of golden reference
for svc case.

Change-Id: Icec644d235d0471e56d8ff73d6c37278bd6ecd3b

9 years agothird_party/libwebm: pull from upstream
James Zern [Wed, 5 Aug 2015 19:52:40 +0000 (12:52 -0700)]
third_party/libwebm: pull from upstream

Changes:
2dec094 mkvparser: normalize UnserializeInt signature

fixes a visual studio build warning

Change-Id: Ifb99c8a46957ee135f8a6a639f19f2515c7526c3

9 years agoNarrow a load in iwht4x4_16_add.
Alex Converse [Wed, 5 Aug 2015 19:16:12 +0000 (12:16 -0700)]
Narrow a load in iwht4x4_16_add.

The top half is unused.

Change-Id: I29b2f6a93e20ea43aff4ad0bd2d52257e1e752b6

9 years agoRevert "VP9_COPY_CONVOLVE_SSE2 optimization"
James Zern [Wed, 5 Aug 2015 00:52:57 +0000 (17:52 -0700)]
Revert "VP9_COPY_CONVOLVE_SSE2 optimization"

This reverts commit a5e97d874b16ae5826b68515f1e35ffb44361cf8.

Additionally:
Revert "vpx_convolve_copy_sse2: fix win64"

This reverts commit 22a8474fe7ec30d96f746dc6e4b23771758c071e.

This change performs poorly on various x86_64 devices affecting
performance by 1-3% at 1080P. Performance on chromebook like devices was
mixed neutral to slightly negative, so there should be minimal change
there.

Change-Id: I95831233b4b84ee96369baa192a2d4cc7639658c

9 years agoMerge "third_party/libwebm: pull from upstream"
James Zern [Wed, 5 Aug 2015 00:48:39 +0000 (00:48 +0000)]
Merge "third_party/libwebm: pull from upstream"

9 years agoMerge "examples.mk: quiet vcproj script exec by default"
James Zern [Wed, 5 Aug 2015 00:42:36 +0000 (00:42 +0000)]
Merge "examples.mk: quiet vcproj script exec by default"

9 years agoChange vp9_quantize to vpx_quantize
Jingning Han [Tue, 4 Aug 2015 16:24:52 +0000 (09:24 -0700)]
Change vp9_quantize to vpx_quantize

This commit clears all the vp9_ prefix use case in vpx_dsp. It gets
the vp9 folder ready to branch out vp10.

Change-Id: I2906eec179ee792b4af8c9b4161313653050e931

9 years agoMerge "Replace vp9_ prefix with vpx_ prefix in vpx_dsp function names"
Jingning Han [Tue, 4 Aug 2015 22:30:36 +0000 (22:30 +0000)]
Merge "Replace vp9_ prefix with vpx_ prefix in vpx_dsp function names"

9 years agoMerge "Minor adjustment in diagonal sub-pixel point checking"
Yunqing Wang [Tue, 4 Aug 2015 21:00:41 +0000 (21:00 +0000)]
Merge "Minor adjustment in diagonal sub-pixel point checking"

9 years agoMerge "Small improvement in sub-pixel motion search"
Yunqing Wang [Tue, 4 Aug 2015 20:59:30 +0000 (20:59 +0000)]
Merge "Small improvement in sub-pixel motion search"

9 years agoReplace vp9_ prefix with vpx_ prefix in vpx_dsp function names
Jingning Han [Mon, 3 Aug 2015 21:51:10 +0000 (14:51 -0700)]
Replace vp9_ prefix with vpx_ prefix in vpx_dsp function names

This commit clears the function naming convention in vpx_dsp. It
replaces vp9_ prefix of global functions with vpx_ prefix. It also
removes the vp9_ prefix from static functions.

Change-Id: I6394359a63b71a51dda01342eec6a3cc08dfeedf

9 years agoMinor adjustment in diagonal sub-pixel point checking
Yunqing Wang [Tue, 4 Aug 2015 19:16:47 +0000 (12:16 -0700)]
Minor adjustment in diagonal sub-pixel point checking

Choose a different diagonal point to check when the two costs are
the same, making it consistent with the way we choose the best mv.
This slightly changes the encoding result, and the derflr set borg
test at speed 0 shows 0.027% Overall PSNR gain, 0.024% Avg PSNR
gain, and 0.043% SSIM gain.

Change-Id: Ic8ee3a6767394866d159e4f9e1c777604dd73c17

9 years agoSmall improvement in sub-pixel motion search
Yunqing Wang [Tue, 4 Aug 2015 19:06:21 +0000 (12:06 -0700)]
Small improvement in sub-pixel motion search

If the current best mv(namely, the search center) is still the best mv
after the first level search, the second level checks is skipped. This
patch doesn't change the bitstream. At speed 0, it speeds up the encoder
by 1% - 2%.

Change-Id: I054c91b884d3f7aef157436c061744562bd6506d

9 years agoExclude inv_txfm dspr2 files from make file when highbd is on
Jingning Han [Tue, 4 Aug 2015 16:44:26 +0000 (09:44 -0700)]
Exclude inv_txfm dspr2 files from make file when highbd is on

Add a guard to exclud dspr2 inverse transform files from vpx_dsp
make file, when high bit-depth is turned on. This fixes the jenkins
nightly build.

Change-Id: Ibacd86563af1ec4810c550905b3fa0397baeeafc

9 years agoMerge "Rename vp8 loopfilter_mmx.asm"
Johann Koenig [Tue, 4 Aug 2015 15:55:48 +0000 (15:55 +0000)]
Merge "Rename vp8 loopfilter_mmx.asm"

9 years agoMerge "mips msa vp8 denoising filter optimization"
Parag Salasakar [Tue, 4 Aug 2015 04:30:44 +0000 (04:30 +0000)]
Merge "mips msa vp8 denoising filter optimization"

9 years agoMerge "mips msa vpx convolve optimzation"
Parag Salasakar [Tue, 4 Aug 2015 04:30:22 +0000 (04:30 +0000)]
Merge "mips msa vpx convolve optimzation"

9 years agoMerge "mips msa vpx subpel variance optimization"
Parag Salasakar [Tue, 4 Aug 2015 04:30:11 +0000 (04:30 +0000)]
Merge "mips msa vpx subpel variance optimization"

9 years agoMerge "mips msa vpx subtract test added"
Parag Salasakar [Tue, 4 Aug 2015 04:29:45 +0000 (04:29 +0000)]
Merge "mips msa vpx subtract test added"

9 years agoMerge "Move inverse transfrom dspr2 functions from vp9 to vpx_dsp"
Jingning Han [Tue, 4 Aug 2015 04:16:22 +0000 (04:16 +0000)]
Merge "Move inverse transfrom dspr2 functions from vp9 to vpx_dsp"

9 years agothird_party/libwebm: pull from upstream
James Zern [Tue, 4 Aug 2015 03:24:44 +0000 (20:24 -0700)]
third_party/libwebm: pull from upstream

Changes:
b6de61a Adds support for simple tags
75a6d2d sample_muxer: Don't write huge files.
cec1f85 mkvmuxer: remove unused timecode_scale variable
8a61b40 Merge "mkvparser: Tiny whitespace fix."
7affc5c clang-format re-run
d6d04ac mkvmuxer: use generic Cluster::AddFrame
4928b0b Merge "mkvmuxer: Write Block key frames correctly."
c2e4a46 Merge "sample_muxer: Use AddGenericFrame to add frames."
e97f296 mkvparser: Tiny whitespace fix.
d66ba44 Merge "Add support to parse DisplayUnit."
deb41c2 Add support to parse DisplayUnit.
42e5660 Fix issues on EBML lacing block parsing
fe1e9bb Fix block parsing to not allow frame_size = 0
2cb6a28 Change assertions to checks when parsing TrackPositions
d04580f Fixes issues on Block Group parsing
c3550fd mkvmuxer: Write Block key frames correctly.
5dd0e40 Merge "mkvmuxer: Set is_key to true for metadata blocks."
8e96863 mkvmuxer: Set is_key to true for metadata blocks.
a9e4819 sample_muxer: Use AddGenericFrame to add frames.
5a3be73 Change assertions to checks when load CuePoints
f99f3b2 mkvmuxerutil::EbmlDateElementSize: remove value param
ff572b5 Frame::IsValid: fix track_number check
b6311dc mkvmuxer: Refactor to remove a lot of duplicate code
256cd02 Merge "mkvmuxer: DiscardPadding should be signed integer."
16c8e78 mkvmuxer: s/frame/data in all AddFrame* functions.
c5e511c mkvmuxer: DiscardPadding should be signed integer.
4baaa2c Add framework build script: iosbuild.sh
3d06eb1 PATENTS: fix a typo: constitutes -> constitute
d3849c2 mkvparser: Dead code removal.
f439e52 Change assertions to checks when preloading Cues
d3a44cd Fix track transversal when listing Cues on sample
c6255af Tweak .gitignore so git status is clean after checkout and
build: - added missing underscore to sample_muxer - added cmake and make
related files
b5229c7 Makefile.unix: s/samplemuxer/sample_muxer/
e3616a6 Add support to parse stereo mode, display width and display
height in mkvparser
a4b68f8 parser: Fix bug in Chapters::Atom::Parse()
bab0a00 cmake: Set library and project name the proper way on Windows.
feeb9b1 Set library name to match Windows expectations.
b9a549b Fix CMakefile to generate libwebm.a
b386aa5 Add CMakeLists.txt and msvc_runtime.cmake.
b0f8a81 parser: Fix memory leak in Chapter parsing
f06e152 mkvmuxer: Fix MoveCuesBeforeClustersHelper recursive call.
27bb747 allow subtitle tracks with ContentEncodings
623d182 DoLoadCluster: tolerate empty clusters
1156da8 Update PATENTS to reflect s/VP8/WebM/g
0d4cb40 mkvmuxerutil: Use rand() in MSVC builds.
e12fff0 mkvmuxer: Overload WriteEbmlHeader for backward compatibility
a321704 mkvmuxer: write correct DocTypeVersion
574045e mkvmuxer: fix DiscardPadding
8be6397 Include crop elements when calculating size of Video element
8f2d1b3 mkvparser: fix DiscardPadding extraction
1c36c24 mkvmuxer: fix style guide violations
568504e Merge "UUIDs can have their high bit set"
acf788b Add support for CropLeft, CropRight, CropTop and CropBottom
elements.
418188b Merge "muxer: codec_id is a mandatory element"
07688c9 mkvmuxer: Reject frames if invalid track number is passed.
2a63e47 muxer: codec_id is a mandatory element
d13c017 UUIDs can have their high bit set

Change-Id: Iba28acb1ff774349d03e565f2641ddea132cf1e7

9 years agoMerge "update libyuv to r1456"
James Zern [Tue, 4 Aug 2015 02:34:32 +0000 (02:34 +0000)]
Merge "update libyuv to r1456"

9 years agoexamples.mk: quiet vcproj script exec by default
James Zern [Mon, 3 Aug 2015 23:24:24 +0000 (16:24 -0700)]
examples.mk: quiet vcproj script exec by default

the full command line can be seen with V=1 as with the other gen*
scripts

Change-Id: Id045b57e0f9af17d82d79201bbc1241b25a2b821

9 years agoMerge "add vp9_vector_var_neon"
James Zern [Tue, 4 Aug 2015 02:30:41 +0000 (02:30 +0000)]
Merge "add vp9_vector_var_neon"

9 years agogen_msvs_proj.sh: avoid asm object name collisions
James Zern [Mon, 3 Aug 2015 23:22:21 +0000 (16:22 -0700)]
gen_msvs_proj.sh: avoid asm object name collisions

fixes link under vs9; this is the same change as:
dbf6e3f gen_msvs_vcxproj.sh: Avoid object name collisions.

Change-Id: I2a188c9024d0605e60e5e03ddcef1a25e7e53585

9 years agoRename vp8 loopfilter_mmx.asm
Johann [Mon, 3 Aug 2015 21:27:03 +0000 (14:27 -0700)]
Rename vp8 loopfilter_mmx.asm

Chromium puts all the yasm output in the same directory. Looking at ways
to improve this but in the meantime get rid of collisions.

Change-Id: I923c5231d14e895ab96521eb89807ede868a0753

9 years agoMove inverse transfrom dspr2 functions from vp9 to vpx_dsp
Jingning Han [Mon, 3 Aug 2015 17:50:32 +0000 (10:50 -0700)]
Move inverse transfrom dspr2 functions from vp9 to vpx_dsp

Change-Id: Ia9cf7c31cab4ba3dd6b9bb668c4b3e84bd55cf69

9 years agoMerge "Add common_dspr2.c file to vpx_dsp/mips"
Jingning Han [Mon, 3 Aug 2015 18:58:37 +0000 (18:58 +0000)]
Merge "Add common_dspr2.c file to vpx_dsp/mips"

9 years agoMerge "Correct the allocation size for ssim_vars"
Yaowu Xu [Mon, 3 Aug 2015 18:43:55 +0000 (18:43 +0000)]
Merge "Correct the allocation size for ssim_vars"

9 years agoAdd common_dspr2.c file to vpx_dsp/mips
Jingning Han [Mon, 3 Aug 2015 17:17:45 +0000 (10:17 -0700)]
Add common_dspr2.c file to vpx_dsp/mips

Move the declaration of commonly referenced variable to
vpx_dsp/mips/common_dspr2.c.

Change-Id: Ia51287b02e2ac5cfae0fba98c721f0810618f28e

9 years agoCorrect the allocation size for ssim_vars
Yaowu Xu [Mon, 3 Aug 2015 17:46:12 +0000 (10:46 -0700)]
Correct the allocation size for ssim_vars

Ssim_vars is used to accumulate stats based 4x4 pixel blocks, this
commit changes the allocations size to be based on mi_rows and mi_cols
to avoid out-of-bound memory access for larger size videos. The hard
coded 720x480 can only work for image size up to 2880x1920.

Change-Id: Id9d07f3f777385b448ac88a6034b7472e4cf3c79

9 years agoRemove vpx_ prefix from the dspr2 file name in vpx_dsp/mips
Jingning Han [Mon, 3 Aug 2015 16:54:13 +0000 (09:54 -0700)]
Remove vpx_ prefix from the dspr2 file name in vpx_dsp/mips

Make it consistent with other formats.

Change-Id: I28f0d05ff7c5bf2b815989b3f1bd6c6b25608677

9 years agoVPX: Add rtcd support for scaling.
Scott LaVarnway [Mon, 3 Aug 2015 16:43:34 +0000 (09:43 -0700)]
VPX: Add rtcd support for scaling.

Change-Id: If34bfb0d918967445aea7dc30cd7b55ebfedb1f2

9 years agoMerge "Add vpx_dsp_rtcd.h to inv_txfm_sse2.c"
Jingning Han [Mon, 3 Aug 2015 16:03:09 +0000 (16:03 +0000)]
Merge "Add vpx_dsp_rtcd.h to inv_txfm_sse2.c"

9 years agoMerge "Remove vp9_common.h from idct16x16_neon.c"
Jingning Han [Mon, 3 Aug 2015 16:03:02 +0000 (16:03 +0000)]
Merge "Remove vp9_common.h from idct16x16_neon.c"