platform/upstream/libvpx.git
9 years agoMerge "Change vp9_ prefix function names in vpx_scale to vpx_"
Jingning Han [Sat, 15 Aug 2015 22:40:11 +0000 (22:40 +0000)]
Merge "Change vp9_ prefix function names in vpx_scale to vpx_"

9 years agoChange vp9_ prefix function names in vpx_scale to vpx_
Jingning Han [Fri, 14 Aug 2015 22:27:02 +0000 (15:27 -0700)]
Change vp9_ prefix function names in vpx_scale to vpx_

Change-Id: Iac85902cbbb3e752801dc85de9a3c778e47304aa

9 years agoMerge "change vp10 to use a different sync code than vp9"
Yaowu Xu [Fri, 14 Aug 2015 21:52:29 +0000 (21:52 +0000)]
Merge "change vp10 to use a different sync code than vp9"

9 years agoMerge "write correct codecID for vp10 webm file"
Yaowu Xu [Fri, 14 Aug 2015 21:52:18 +0000 (21:52 +0000)]
Merge "write correct codecID for vp10 webm file"

9 years agoMerge "Remove vp10's build dependency on vp9"
Yaowu Xu [Fri, 14 Aug 2015 21:52:10 +0000 (21:52 +0000)]
Merge "Remove vp10's build dependency on vp9"

9 years agochange vp10 to use a different sync code than vp9
Yaowu Xu [Fri, 14 Aug 2015 20:06:56 +0000 (13:06 -0700)]
change vp10 to use a different sync code than vp9

Change-Id: If5b5beb38c938bd7a6016dedc9bd0c8e06153d73

9 years agowrite correct codecID for vp10 webm file
Yaowu Xu [Fri, 14 Aug 2015 19:30:10 +0000 (12:30 -0700)]
write correct codecID for vp10 webm file

Change-Id: Ifeb6073c4a687a73540a0f8aef0d834f4712c193

9 years agoMerge changes I2fe52bfb,I5e5084eb
James Zern [Fri, 14 Aug 2015 19:45:27 +0000 (19:45 +0000)]
Merge changes I2fe52bfb,I5e5084eb

* changes:
  VPX: removed filter == 128 checks from mips convolve code
  VPX: removed step checks from mips convolve code

9 years agoMerge "VPX: removed step checks from neon convolve code"
James Zern [Fri, 14 Aug 2015 19:23:46 +0000 (19:23 +0000)]
Merge "VPX: removed step checks from neon convolve code"

9 years agoRemove vp10's build dependency on vp9
Yaowu Xu [Fri, 14 Aug 2015 19:16:07 +0000 (12:16 -0700)]
Remove vp10's build dependency on vp9

CONFIG_VP9_HIGHBITDEPTH is currently used by both vp9 and vp10, but in
many place outside vp9/vp10, the macro was used in conjunction of
CONFIG_VP9. This created a dependency on vp9 for vp10 to build. This
commit removes the dependency by use CONFIG_VP9_HIGHBITDEPTH only in
these places.

Change-Id: I8cc007fc9cf132394c6498ce6759e606b64a6ad0

9 years agovpx_highbd_ssim_parms_8x8: make parameter types consistent
Yaowu Xu [Fri, 14 Aug 2015 16:18:07 +0000 (09:18 -0700)]
vpx_highbd_ssim_parms_8x8: make parameter types consistent

Change-Id: Ie1fe6603232adc22dbe4d51bd1008c856a6d40ca

9 years agoMerge "Copy VP9 second-level sub-pixel search change to VP10"
Yunqing Wang [Thu, 13 Aug 2015 23:51:27 +0000 (23:51 +0000)]
Merge "Copy VP9 second-level sub-pixel search change to VP10"

9 years agoMerge "VP9Common -> VP10Common"
Yaowu Xu [Thu, 13 Aug 2015 22:51:51 +0000 (22:51 +0000)]
Merge "VP9Common -> VP10Common"

9 years agoMerge "VP9Decoder -> VP10Decoder"
Yaowu Xu [Thu, 13 Aug 2015 22:32:42 +0000 (22:32 +0000)]
Merge "VP9Decoder -> VP10Decoder"

9 years agoCopy VP9 second-level sub-pixel search change to VP10
Yunqing Wang [Thu, 13 Aug 2015 22:00:32 +0000 (15:00 -0700)]
Copy VP9 second-level sub-pixel search change to VP10

Merged patch "Improve the second-level sub-pixel motion search"
(commit: 7418b176ce1c985637c639280d70b12bdc850e57) to VP10.

Change-Id: I89b5d76624290c47dd84d9c5332b4909238e268d

9 years agoVP9Common -> VP10Common
Yaowu Xu [Thu, 13 Aug 2015 21:55:28 +0000 (14:55 -0700)]
VP9Common -> VP10Common

Change-Id: Ifddc68a8ab020f35a266ffc74429363301fe7d9e

9 years agoMerge "VP9_COMP -> VP10_COMP"
Yaowu Xu [Thu, 13 Aug 2015 21:56:33 +0000 (21:56 +0000)]
Merge "VP9_COMP -> VP10_COMP"

9 years agoVP9Decoder -> VP10Decoder
Yaowu Xu [Thu, 13 Aug 2015 21:43:55 +0000 (14:43 -0700)]
VP9Decoder -> VP10Decoder

Change-Id: I427b56e92aa2d1381192cb394ac1bb95becb32a1

9 years agoVPX: removed filter == 128 checks from mips convolve code
Scott LaVarnway [Thu, 13 Aug 2015 19:57:01 +0000 (12:57 -0700)]
VPX: removed filter == 128 checks from mips convolve code

The check is handled by the predictor table.

Change-Id: I2fe52bfbbfccb2edd13ba250986e3a4b4b589459

9 years agoopsnr.stt: Add a missing tab after PSNRHVS
Alex Converse [Thu, 13 Aug 2015 19:08:36 +0000 (12:08 -0700)]
opsnr.stt: Add a missing tab after PSNRHVS

Logfile parsers expect it to be there.

Change-Id: I7c96a42c8be570a28f51cc4edfa619d9cf9af73b

9 years agoVP9_COMP -> VP10_COMP
Yaowu Xu [Thu, 13 Aug 2015 16:42:27 +0000 (09:42 -0700)]
VP9_COMP -> VP10_COMP

Change-Id: I83b5c69621f9f28b742e5b13517d4e5b99c6cd26

9 years agoVPX: removed step checks from mips convolve code
Scott LaVarnway [Thu, 13 Aug 2015 18:27:04 +0000 (11:27 -0700)]
VPX: removed step checks from mips convolve code

The check is handled by the predictor table.

Change-Id: I5e5084ebb46be8087c8c9d80b5f76e919a1cd05b

9 years agoMerge "VP9_COMMON -> VP10->COMMON"
Yaowu Xu [Thu, 13 Aug 2015 18:00:27 +0000 (18:00 +0000)]
Merge "VP9_COMMON -> VP10->COMMON"

9 years agoMerge "Correct guard macros in header files"
Yaowu Xu [Thu, 13 Aug 2015 18:00:02 +0000 (18:00 +0000)]
Merge "Correct guard macros in header files"

9 years agoVP9_COMMON -> VP10->COMMON
Yaowu Xu [Thu, 13 Aug 2015 16:36:53 +0000 (09:36 -0700)]
VP9_COMMON -> VP10->COMMON

Change-Id: I651b7bee90f33581368853da81f9622805ccc0ea

9 years agoRemove common_data.c file from vp10 folder
Jingning Han [Thu, 13 Aug 2015 15:38:50 +0000 (08:38 -0700)]
Remove common_data.c file from vp10 folder

This file is empty in vp10. Remove it to clear out visual studio
warning.

Change-Id: I741e88adcf3c9fc6b73b13ea08a2094e2f3a7eba

9 years agoCorrect guard macros in header files
Yaowu Xu [Thu, 13 Aug 2015 16:25:39 +0000 (09:25 -0700)]
Correct guard macros in header files

Change-Id: Ifce12a95c1cdc36dc6ac5a72759249a17407da9e

9 years agoMerge "Add vpxenc help info"
Yaowu Xu [Thu, 13 Aug 2015 15:41:10 +0000 (15:41 +0000)]
Merge "Add vpxenc help info"

9 years agoVPX: removed step checks from neon convolve code
Scott LaVarnway [Wed, 12 Aug 2015 23:14:53 +0000 (16:14 -0700)]
VPX: removed step checks from neon convolve code

The check is handled by the predictor table.

Change-Id: I42479f843e77a2d40cdcdfc9e2e6c48a05a36561

9 years agoMerge "vp10_encoder: add missing vpx_clear_system_state"
Jingning Han [Wed, 12 Aug 2015 23:33:46 +0000 (23:33 +0000)]
Merge "vp10_encoder: add missing vpx_clear_system_state"

9 years agovp10_encoder: add missing vpx_clear_system_state
Jingning Han [Wed, 12 Aug 2015 22:42:43 +0000 (15:42 -0700)]
vp10_encoder: add missing vpx_clear_system_state

Mirror the fix in vp9_encoder for sse-only build.

Change-Id: I9f272874e52f4cc295fcaa71920f8a5d3a80045b

9 years agoMerge "vp9_encoder: add missing vpx_clear_system_state"
James Zern [Wed, 12 Aug 2015 22:41:51 +0000 (22:41 +0000)]
Merge "vp9_encoder: add missing vpx_clear_system_state"

9 years agoMerge "VPX: remove step == 16 and filter[3] != 128 checks"
Scott LaVarnway [Wed, 12 Aug 2015 20:13:33 +0000 (20:13 +0000)]
Merge "VPX: remove step == 16 and filter[3] != 128 checks"

9 years agoMerge "Call set_ref_ptrs only for inter blocks"
Hui Su [Wed, 12 Aug 2015 19:49:48 +0000 (19:49 +0000)]
Merge "Call set_ref_ptrs only for inter blocks"

9 years agoMerge "Use sizeof(variable) instead of sizeof(type)"
Hui Su [Wed, 12 Aug 2015 19:49:22 +0000 (19:49 +0000)]
Merge "Use sizeof(variable) instead of sizeof(type)"

9 years agoAdd vpxenc help info
Yaowu Xu [Wed, 12 Aug 2015 19:14:17 +0000 (12:14 -0700)]
Add vpxenc help info

1. information on --test-decode
2. vp10 specific parameters, currently shared with vp9

Change-Id: Ida4b691052441e68b9352746988027e5a2a26f48

9 years agoCall set_ref_ptrs only for inter blocks
hui su [Wed, 12 Aug 2015 17:57:07 +0000 (10:57 -0700)]
Call set_ref_ptrs only for inter blocks

In encode_superblock, call set_ref_ptrs only for inter blocks.

Change-Id: I27545c0e3e679e1838b78d7c9d01fe5a4d3cc0fb

9 years agoUse sizeof(variable) instead of sizeof(type)
hui su [Wed, 12 Aug 2015 17:41:51 +0000 (10:41 -0700)]
Use sizeof(variable) instead of sizeof(type)

Change-Id: Ia069da11eebb271063e9eb837bdb3e7175ecce13

9 years agoSync vp10 with vpx_ports/system_state.h
Jingning Han [Wed, 12 Aug 2015 16:20:31 +0000 (09:20 -0700)]
Sync vp10 with vpx_ports/system_state.h

Change-Id: Ic5004f8bdc1c2b025b598e80374ee1f286ea95ee

9 years agoReplace vp10_ssim functions with vpx_ssim versions
Jingning Han [Wed, 12 Aug 2015 05:21:38 +0000 (22:21 -0700)]
Replace vp10_ssim functions with vpx_ssim versions

Remove the ssim files from vp10 folder.

Change-Id: Icc1d9d61a0878d53584328b278dfa090aa070035

9 years agoRemove vp9_ prefix from vp10 files
Jingning Han [Fri, 7 Aug 2015 04:14:07 +0000 (21:14 -0700)]
Remove vp9_ prefix from vp10 files

Remove the vp9_ prefix from vp10 file names.

Change-Id: I513a211b286a57d6126fc1b0fbfd6405120014f1

9 years agoMerge "Fix high bit depth in vp10 codebase"
Jingning Han [Wed, 12 Aug 2015 04:15:41 +0000 (04:15 +0000)]
Merge "Fix high bit depth in vp10 codebase"

9 years agoMerge "Android.mk: add missing vp10_rtcd.h dep"
Jingning Han [Wed, 12 Aug 2015 04:15:04 +0000 (04:15 +0000)]
Merge "Android.mk: add missing vp10_rtcd.h dep"

9 years agoMerge "Change vp10 interface prefix from vp9_ to vp10_"
Jingning Han [Wed, 12 Aug 2015 04:14:22 +0000 (04:14 +0000)]
Merge "Change vp10 interface prefix from vp9_ to vp10_"

9 years agoAndroid.mk: add missing vp10_rtcd.h dep
James Zern [Wed, 12 Aug 2015 02:56:15 +0000 (19:56 -0700)]
Android.mk: add missing vp10_rtcd.h dep

broken since:
be6c031 Merge "Fork VP9 and VP10 codebase"
3ee6db6 Fork VP9 and VP10 codebase

Change-Id: I1dcdb378e11fe9aaf7c433ab187ebf952ef9cf09

9 years agovp9_encoder: add missing vpx_clear_system_state
James Zern [Wed, 12 Aug 2015 02:24:07 +0000 (19:24 -0700)]
vp9_encoder: add missing vpx_clear_system_state

fixes sse-only build

Change-Id: I4591f5be6773464238744a41d6901cf0e903b5bd

9 years agoMerge "fix build w/only mmx+sse enabled"
James Zern [Wed, 12 Aug 2015 02:26:08 +0000 (02:26 +0000)]
Merge "fix build w/only mmx+sse enabled"

9 years agoChange vp10 interface prefix from vp9_ to vp10_
Jingning Han [Fri, 7 Aug 2015 03:54:52 +0000 (20:54 -0700)]
Change vp10 interface prefix from vp9_ to vp10_

This commit renames the vp10 encoder, decoder, and common interface
file names from vp9_ prefix to vp10_ prefix.

Change-Id: Iafb5d786e4b428d2b9bf097123bd86c4fa9ded24

9 years agoFix high bit depth in vp10 codebase
Jingning Han [Fri, 7 Aug 2015 23:16:00 +0000 (16:16 -0700)]
Fix high bit depth in vp10 codebase

Change-Id: Iacbfac29898ac7954eb6375e83873dbb7390fd47

9 years agoMerge "Fork VP9 and VP10 codebase"
Jingning Han [Wed, 12 Aug 2015 01:57:15 +0000 (01:57 +0000)]
Merge "Fork VP9 and VP10 codebase"

9 years agoMerge "tools_common: fix build w/encoders/decoders disabled"
James Zern [Wed, 12 Aug 2015 01:52:55 +0000 (01:52 +0000)]
Merge "tools_common: fix build w/encoders/decoders disabled"

9 years agoFork VP9 and VP10 codebase
Jingning Han [Thu, 6 Aug 2015 02:00:31 +0000 (19:00 -0700)]
Fork VP9 and VP10 codebase

This commit folks the VP9 and VP10 codebase and makes libvpx
support VP8, VP9, and VP10.

Change-Id: I81782e0b809acb3c9844bee8c8ec8f4d5e8fa356

9 years agofix build w/only mmx+sse enabled
James Zern [Tue, 11 Aug 2015 00:42:09 +0000 (17:42 -0700)]
fix build w/only mmx+sse enabled

many _sse2.asm have sse implementations as well

Change-Id: Idfa1f5cab593e4913aaad37f7223e8430188c44a

9 years agoMerge "VPX: remove scaled calls from FUN_CONV_1D"
Scott LaVarnway [Tue, 11 Aug 2015 21:46:50 +0000 (21:46 +0000)]
Merge "VPX: remove scaled calls from FUN_CONV_1D"

9 years agoMerge "Adjust speed setting for temporal layers in 1 pass non-rd mode."
Marco Paniconi [Tue, 11 Aug 2015 21:33:47 +0000 (21:33 +0000)]
Merge "Adjust speed setting for temporal layers in 1 pass non-rd mode."

9 years agoAdjust speed setting for temporal layers in 1 pass non-rd mode.
Marco [Tue, 11 Aug 2015 18:06:08 +0000 (11:06 -0700)]
Adjust speed setting for temporal layers in 1 pass non-rd mode.

For speed 7, real-time mode: Base layer frames are further apart
(for #temporal layers = 3, this is every 4 frames) so worth keeping
same motion search parameters (as in speed 6) on the base layer frames.

Change-Id: Idebf49dda6ef4f3d9a55aee55129a68253f692fb

9 years agoblockiness: cleanup includes and add statics
Alex Converse [Mon, 10 Aug 2015 18:49:43 +0000 (11:49 -0700)]
blockiness: cleanup includes and add statics

Change-Id: I26c53f8e74cf5431fb3179af5d480e4e9f3d8f32

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 agotools_common: fix build w/encoders/decoders disabled
James Zern [Mon, 10 Aug 2015 23:45:49 +0000 (16:45 -0700)]
tools_common: fix build w/encoders/decoders disabled

gcc-based builds will allow a 0-element array, but visual studio builds
will not; this change hides the encoder and decoder specific symbols as
modules using them are selected based on the configuration.

Change-Id: Ic16ba9d12241070ec689dc5880164c14a4f7ca44

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 agoVPX: remove step == 16 and filter[3] != 128 checks
Scott LaVarnway [Mon, 10 Aug 2015 20:44:32 +0000 (13:44 -0700)]
VPX: remove step == 16 and filter[3] != 128 checks

from FUN_CONV_1D and FUN_CONV_2D macros.  The functions
will not be called with these inputs.

Change-Id: I67ec75e4edafc0acee70190521a80ea85dfa521b

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