platform/upstream/libvpx.git
9 years agoMerge "Fix vp10 high bit-depth build"
James Zern [Fri, 11 Sep 2015 18:27:49 +0000 (18:27 +0000)]
Merge "Fix vp10 high bit-depth build"

9 years agoFix vp10 high bit-depth build
Jingning Han [Fri, 11 Sep 2015 15:56:06 +0000 (08:56 -0700)]
Fix vp10 high bit-depth build

Change-Id: Ie3daed0b282b43ef81d2f8797ac1f6e8bde7d65e

9 years agoRemove unneeded/incorrect comment.
Marco [Fri, 11 Sep 2015 15:48:22 +0000 (08:48 -0700)]
Remove unneeded/incorrect comment.

Change-Id: I5c923223c284ad4fda0c45572a66bebc8528dd1d

9 years agoMerge "build: modify default ARFLAGS / .a target"
James Zern [Fri, 11 Sep 2015 02:30:07 +0000 (02:30 +0000)]
Merge "build: modify default ARFLAGS / .a target"

9 years agoMerge "Add misc_fixes experiment."
Ronald S. Bultje [Fri, 11 Sep 2015 02:00:45 +0000 (02:00 +0000)]
Merge "Add misc_fixes experiment."

9 years agoMerge "Don't reset sign_bias fields in vp10_setup_past_independence()."
Ronald S. Bultje [Fri, 11 Sep 2015 02:00:30 +0000 (02:00 +0000)]
Merge "Don't reset sign_bias fields in vp10_setup_past_independence()."

9 years agoMerge "Isolate vp10's fwd_txfm from vp9"
Angie Chiang [Fri, 11 Sep 2015 00:10:45 +0000 (00:10 +0000)]
Merge "Isolate vp10's fwd_txfm from vp9"

9 years agoMerge changes Ibb308526,I99e330f8
Alex Converse [Thu, 10 Sep 2015 23:04:46 +0000 (23:04 +0000)]
Merge changes Ibb308526,I99e330f8

* changes:
  Prevent CR in screen mode from refreshing flat inter blocks forever.
  For screen content consider intra uv when color_sensitivity is set.

9 years agoMerge "Take out reference_masking speed feature"
Jingning Han [Thu, 10 Sep 2015 23:03:06 +0000 (23:03 +0000)]
Merge "Take out reference_masking speed feature"

9 years agoMerge "Take out skip_encode speed feature in vp10"
Jingning Han [Thu, 10 Sep 2015 23:02:38 +0000 (23:02 +0000)]
Merge "Take out skip_encode speed feature in vp10"

9 years agoMerge "Remove speed features in vp10"
Jingning Han [Thu, 10 Sep 2015 23:02:27 +0000 (23:02 +0000)]
Merge "Remove speed features in vp10"

9 years agoMerge "Isolate vp10's inv_txfm from vp9"
Angie Chiang [Thu, 10 Sep 2015 22:51:02 +0000 (22:51 +0000)]
Merge "Isolate vp10's inv_txfm from vp9"

9 years agoIsolate vp10's fwd_txfm from vp9
Angie Chiang [Thu, 10 Sep 2015 00:56:43 +0000 (17:56 -0700)]
Isolate vp10's fwd_txfm from vp9

1) copy fw_txfm related files from vpx_dsp tp vp10

    vpx_dsp/fwd_txfm.h → vp10/common/vp10_fwd_txfm.h
    vpx_dsp/fwd_txfm.c → vp10/common/vp10_fwd_txfm.c
    vpx_dsp/x86/fwd_dct32x32_impl_sse2.h →  vp10/common/x86/vp10_fwd_dct32x32_impl_sse2.h
    vpx_dsp/x86/fwd_txfm_sse2.c →  vp10/common/x86/vp10_fwd_txfm_sse2.c
    vpx_dsp/x86/fwd_txfm_impl_sse2.h → vp10/common/vp10_fwd_txfm_impl_sse2.h

Change-Id: Ie9428b2ab1ffeb28e17981bb8a142ebe204f3bba

9 years agoIsolate vp10's inv_txfm from vp9
Angie Chiang [Fri, 4 Sep 2015 21:51:54 +0000 (14:51 -0700)]
Isolate vp10's inv_txfm from vp9

1) copy following files from vpx_dsp/ to vp10/common/
vp10_inv_txfm.c
vp10_inv_txfm.h
vp10_inv_txfm_sse2.c
vp10_inv_txfm_sse2.h

2) change the function prefix "vpx_" to "vp10_" in above files

3) add unit test at vp10_inv_txfm_test.cc

Change-Id: I206f10f60c8b27d872c84b7482c3bb1d1cb4b913

9 years agoPrevent CR in screen mode from refreshing flat inter blocks forever.
Alex Converse [Thu, 3 Sep 2015 21:53:40 +0000 (14:53 -0700)]
Prevent CR in screen mode from refreshing flat inter blocks forever.

Take the minimum last_codec_q_map on inter skip.

Change-Id: Ibb308526dd19793bb359f51ebd7b48d8692903fd

9 years agoFor screen content consider intra uv when color_sensitivity is set.
Alex Converse [Thu, 3 Sep 2015 21:52:39 +0000 (14:52 -0700)]
For screen content consider intra uv when color_sensitivity is set.

Change-Id: I99e330f8a779b4d564c19ef4639a881cb68910ae

9 years agoTake out reference_masking speed feature
Jingning Han [Thu, 10 Sep 2015 19:56:41 +0000 (12:56 -0700)]
Take out reference_masking speed feature

This condition is not effectively in use. The actual reference
frame masking is done in other route.

Change-Id: Ia59c843bcac7243dada92f0f67658d7ce43df5e8

9 years agobuild: modify default ARFLAGS / .a target
James Zern [Thu, 10 Sep 2015 19:54:01 +0000 (12:54 -0700)]
build: modify default ARFLAGS / .a target

remove 'u' and specify all objects to allow objects with the same
basename to be added and a incremental rebuild to succeed

fixes issue #1067

Change-Id: Id0ebc89be826a026f1bbf21b4e32a2b1af45154d

9 years agothird_party/libwebm: pull from upstream.
Vignesh Venkatasubramanian [Thu, 10 Sep 2015 18:02:40 +0000 (11:02 -0700)]
third_party/libwebm: pull from upstream.

Upstream hash: a58c32339e06e5d672a58cdd5844cea0a661e735

Changes from upstream since last update:
a58c323 mkvmuxer: Add codec id constant for VP10.
714f3c4 mkvparser: validate results in EBMLHeader::Parse.
cec98d4 mkvparser: Correct the ReadID implementation.
eb36ae4 Merge changes I029a268e,Ia272b150,I5c4d1bbc,Ia47a2478,I3a2e2226
229f493 Merge "mkvparser: Segment::AppendCluster asserts to error checks."
287faf9 Merge "mkvparser: Segment::DoLoadClusterUnknownSize asserts to error checks."
1a87b59 Merge "mkvparser: Segment assert clean up."
d26ec69 mkvparser: Cluster::Parse clean up.
f2029be mkvparser: Disallow EBML IDs equal to 0.
19f5694 mkvparser: Cluster::Load clean up.
27a07c1 mkvparser: Segment::Load asserts to error checks.
d0313dd mkvparser: Segment::PreloadCluster asserts to error checks.
b108695 mkvparser: Segment::AppendCluster asserts to error checks.
4630f80 mkvparser: Segment::DoLoadClusterUnknownSize asserts to error checks.
841a9b5 mkvparser: Segment assert clean up.
8c4ca2e Merge "mkvparser: Make mkvparser namespace usage uniform."
49ae6f0 Merge "mkvparser: Fix include order."
0735bb5 mkvparser: Make mkvparser namespace usage uniform.
93b24c4 mkvparser: Fix include order.
a57d660 sample_muxer: fix Segment memory leak on error
1c5bd94 mkvparser: Cues, change asserts to error checks.
7f77201 Merge "mkvparser: Add ReadID."
795fd56 mkvparser: set kMaxAllocSize explicitly
23bb18b mkvparser: Add ReadID.
7b57e37 mkvparser: add SafeArrayAlloc.
83a1f68 mkvparser: Remove buf_t typedef.
5074714 Merge changes Ia1265a63,I799d54df,Icfc582e4,I3425f608
b181105 Merge changes Ie4318152,I1e65f30f
06b4337 Block::Parse: replace pos asserts w/checks
b366a98 Cluster::ParseBlockGroup: replace pos asserts w/checks
2857b23 Tags::*::Parse: replace pos asserts w/checks
f1b2cfa Chapters::*::Parse: replace pos asserts w/checks
ca80629 Merge "mkvparser: Cues::PreloadCuePoint now returns bool."
6b4b297 Block::Parse: use int64 to aggregate laced frame sizes
c0d2c98 UnserializeFloat: check result for Inf/NaN
1a6dc4f mkvparser: Cues::PreloadCuePoint now returns bool.
275ac22 mkvparser: Cluster::Create clean up.
064f2ee Segment::PreloadCluster(): return a bool status
3778408 Segment::AppendCluster(): return a bool status
e86d046 mkvparser: check Cluster::Create() return
f9885b5 mkvparser: check allocations
21ee398 mkvparser: Segment::Load fail w/missing info/tracks
08fb654 Merge changes I264e68b2,Ife6190a4,Ibf37245f,I06efadb5,I88b5dfec, ...
c896095 mkvparser/Cluster: convert asserts to failure returns
680b4bf mkvparser/Tracks: convert asserts to failure returns
5889e6c mkvparser/Track: convert asserts to failure returns
5135c4c mkvparser/ContentEncoding: convert asserts to failure returns
b0e4f32 mkvparser/Cues: convert asserts to failure returns
13ccc7f mkvparser/UnserializeInt: fix sign flip
db3f9bb mkvparser/SeekHead: convert asserts to failure returns
8de3654 mkvparser/Segment: convert asserts to failure returns
fa2aa7d SeekHead::Parse(): fix assertion failure
d9bdade sample{,_muxer}: check SegmentInfo::GetInfo() return
07a9cf7 Merge "mkvparser: Remove some asserts."
c56ee29 mkvparser: Remove some asserts.
d901324 Merge "mkvparser: Remove some asserts from SegmentInfo::Parse."
7f7d898 Fix case sensitivity issue in iosbuild.sh.
42fe2cd mkvparser: Remove some asserts from SegmentInfo::Parse.
8bccd9c Merge "mkvparser: avoid rollover in UnserializeInt()."
7a2fa0d mkvparser: avoid rollover in UnserializeInt().
44f5ce6 mkvparser: Disallow durations in seconds greater than LONG_LONG_MAX.
b521e30 Merge "mkvparser: Segment::ParseHeaders() avoid rollover and bad int sizes."
7680e2a mkvparser: Check for errors in Match().
39a315f mkvparser: Segment::ParseHeaders() avoid rollover and bad int sizes.
f250ace mkvparser: Handle invalid lengths and rollover in ParseElementHeader().
cd96a76 mkvparser: Avoid rollover/truncation in UnserializeString().
8e8b3db Merge "mkvparser: Add error checking in Block::Parse."
82b7e5f sample: correct mbstowcs() error check
04d7809 sample: check allocation return
986b64b mkvparser: Add error checking in Block::Parse.

Change-Id: I39beef84962d6341f8ce53be06807b3e2068f777

9 years agoTake out skip_encode speed feature in vp10
Jingning Han [Thu, 10 Sep 2015 19:42:21 +0000 (12:42 -0700)]
Take out skip_encode speed feature in vp10

Change-Id: Ic39d4523e78863c816b0fc85f56ea5ae5e0b3310

9 years agoRemove speed features in vp10
Jingning Han [Thu, 10 Sep 2015 19:24:06 +0000 (12:24 -0700)]
Remove speed features in vp10

Take out speed features that affect the compression performance
to simplify the coding route. This commit removes the motion field
mode search used in speed 3.

Change-Id: Ifdf6862cb1ece8261125a56d9d89bcef60758c00

9 years agowebmdec: Handle codec id being NULL.
Vignesh Venkatasubramanian [Thu, 10 Sep 2015 17:44:59 +0000 (10:44 -0700)]
webmdec: Handle codec id being NULL.

WebM files could have CodecId missing in the track headers. Treat those files as
unknown input file type in vpxdec.

Fixes issue #1064.

Change-Id: I6c3bb7b4bd3a4f5c244312482a5996f8b68db3f3

9 years agoMerge "vp8: Small adjustment to cyclic_refresh max_mbs_perframe."
Marco Paniconi [Thu, 10 Sep 2015 15:47:49 +0000 (15:47 +0000)]
Merge "vp8: Small adjustment to cyclic_refresh max_mbs_perframe."

9 years agoMerge "Fix ioc warnings related to sub8x8 reference frame"
James Zern [Thu, 10 Sep 2015 06:10:44 +0000 (06:10 +0000)]
Merge "Fix ioc warnings related to sub8x8 reference frame"

9 years agoMerge "Revert "Fix building with iOS 9 beta SDK""
Tom Finegan [Thu, 10 Sep 2015 01:36:29 +0000 (01:36 +0000)]
Merge "Revert "Fix building with iOS 9 beta SDK""

9 years agoFix ioc warnings related to sub8x8 reference frame
Jingning Han [Wed, 9 Sep 2015 19:29:57 +0000 (12:29 -0700)]
Fix ioc warnings related to sub8x8 reference frame

Access scaled reference frame in the sub8x8 rate-distortion
optimization loop only when the current test mode is an inter mode.
This prevents an ioc warning triggered by sending intra_frame index
to fetch scaled reference frame.

Change-Id: I6177ecc946651dd86c7ce362e3f65c4074444604

9 years agoChange the qp threshold of VP9 dynamic resizing.
jackychen [Wed, 9 Sep 2015 22:30:01 +0000 (15:30 -0700)]
Change the qp threshold of VP9 dynamic resizing.

Change-Id: I1efe086191665ff8fa063f03d8e2032024dc090f

9 years agovp8: Small adjustment to cyclic_refresh max_mbs_perframe.
Marco [Wed, 9 Sep 2015 21:51:14 +0000 (14:51 -0700)]
vp8: Small adjustment to cyclic_refresh max_mbs_perframe.

For 3 temporal layers, reduce somewhat the
cyclic_refresh_mode_max_mbs_perframe parameter, from 20% to ~14%.
Small increase in PSNR/SSIM metrics.

Change-Id: Ia216fa5474048f1ef7fe3db88cd60dfef2a1bf8a

9 years agoMerge "SVC sample encoder: Change some settings/update."
Marco Paniconi [Wed, 9 Sep 2015 18:05:31 +0000 (18:05 +0000)]
Merge "SVC sample encoder: Change some settings/update."

9 years agoSVC sample encoder: Change some settings/update.
Marco [Wed, 9 Sep 2015 00:05:31 +0000 (17:05 -0700)]
SVC sample encoder: Change some settings/update.

Change settings for 1 pass CBR.
And only use SET_SVC control(s) if there is at least 1 layer (spatial or temporal).
This allows sample encoder to also work for 1 layer case.

Change-Id: I5b0a33c25afb2f24a3a8aa4ec8ade9afc87cd702

9 years agoRevert "Fix building with iOS 9 beta SDK"
Tom Finegan [Wed, 9 Sep 2015 12:25:55 +0000 (05:25 -0700)]
Revert "Fix building with iOS 9 beta SDK"

This reverts commit 78637b61361ab11425afd4a67d43c4df948647a6.

Breaks armv7-darwin targets with current SDK (iOS 8/Xcode 6.4).

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

Change-Id: I58b27950f330557154d681a894114eadfbd3e593

9 years agoEnable sub8x8 inter mode with scaled ref frame in RD optimization
Jingning Han [Tue, 8 Sep 2015 16:53:23 +0000 (09:53 -0700)]
Enable sub8x8 inter mode with scaled ref frame in RD optimization

This commit allows the encoder to include sub8x8 inter mode with
scaled reference frame in the rate-distortion optimization scheme.

Change-Id: Ibbe9678801592826ef22566566dcdeeb008350d5

9 years agoMerge "Fix the sub8x8 block inter prediction with scaled reference frame"
Jingning Han [Wed, 9 Sep 2015 00:28:42 +0000 (00:28 +0000)]
Merge "Fix the sub8x8 block inter prediction with scaled reference frame"

9 years agoMerge "Remove some trailing whitespaces"
Debargha Mukherjee [Wed, 9 Sep 2015 00:26:36 +0000 (00:26 +0000)]
Merge "Remove some trailing whitespaces"

9 years agoMove cyclic_refresh struct into .h file.
Marco [Tue, 8 Sep 2015 18:45:15 +0000 (11:45 -0700)]
Move cyclic_refresh struct into .h file.

Change-Id: I9327cd52d0ec050887ba7e591b094d74bd36bce8

9 years agoFix the sub8x8 block inter prediction with scaled reference frame
Jingning Han [Sun, 6 Sep 2015 01:28:16 +0000 (18:28 -0700)]
Fix the sub8x8 block inter prediction with scaled reference frame

Sync the encoder's buffer offset calculation for sub8x8 block motion
compensated prediction with scaled reference frame to match the
decoder's behavior. This resolves an enc/dec mismatch issue when
sub8x8 inter mode with scaled is turned on.

Change-Id: I4bab3672b007a5ae0c992f8a701341892d2458b0

9 years agoAdd misc_fixes experiment.
Ronald S. Bultje [Tue, 8 Sep 2015 18:03:36 +0000 (14:03 -0400)]
Add misc_fixes experiment.

Will be used to hold various trivial bitstream fixes.

Change-Id: Ic8ba07a2ae392db7c956ebae124913afe2ae4409

9 years agoDon't reset sign_bias fields in vp10_setup_past_independence().
Ronald S. Bultje [Thu, 3 Sep 2015 20:21:56 +0000 (16:21 -0400)]
Don't reset sign_bias fields in vp10_setup_past_independence().

The fields are always coded in the frame itself, so there is never any
dependency on past frames. In practice, this fixes sign_bias being
ignored when error_resilient_mode=1.

See issue 1011.

Change-Id: I9d134ef6b445ced4d100fa735ce579855a0fa5af

9 years agoRemove some trailing whitespaces
Debargha Mukherjee [Sat, 5 Sep 2015 00:31:51 +0000 (17:31 -0700)]
Remove some trailing whitespaces

Change-Id: Icf06d35ca347713253d1eba341a894b51efa81a9

9 years agoMerge "Make update_map/temporal_update fields implicit for keyframes."
Ronald S. Bultje [Fri, 4 Sep 2015 23:53:24 +0000 (23:53 +0000)]
Merge "Make update_map/temporal_update fields implicit for keyframes."

9 years agoMerge "VPX: subpixel_8t_ssse3 asm using x86inc"
James Zern [Fri, 4 Sep 2015 05:30:57 +0000 (05:30 +0000)]
Merge "VPX: subpixel_8t_ssse3 asm using x86inc"

9 years agoVPX: subpixel_8t_ssse3 asm using x86inc
Scott LaVarnway [Wed, 2 Sep 2015 20:15:52 +0000 (13:15 -0700)]
VPX: subpixel_8t_ssse3 asm using x86inc

This is based on the original patch optimized for 32bit
platforms by Tamar/Ilya and now uses the x86inc style asm.
The assembly was also modified to support 64bit platforms.

Change-Id: Ice12f249bbbc162a7427e3d23fbf0cbe4135aff2

9 years agoMake update_map/temporal_update fields implicit for keyframes.
Ronald S. Bultje [Thu, 3 Sep 2015 20:08:29 +0000 (16:08 -0400)]
Make update_map/temporal_update fields implicit for keyframes.

These frame types cannot make bitstream parsing depend on previous
frames, so the hypothetical combinations of e.g. keyframe=1 and
update_map=0 or keyframe=1 and temporal_update=1 are non-sensical.
Therefore, make it impossible to code such combinations in the vp10
bitstream header.

See issue 1044.

Change-Id: I3f0a83d5c7e3989541a469a909471424a285239d

9 years agoMerge "Fix to dynamic resize mode under change_config()."
Adrian Grange [Thu, 3 Sep 2015 21:44:45 +0000 (21:44 +0000)]
Merge "Fix to dynamic resize mode under change_config()."

9 years agoFix to dynamic resize mode under change_config().
Marco [Thu, 3 Sep 2015 19:55:51 +0000 (12:55 -0700)]
Fix to dynamic resize mode under change_config().

If the encoder dynamic resize is triggered and change config()
is then called, it will reset the current (resized) codec width/height
back to the the config (unresized) width/height (which will then
prevent the resizing action from occurring in encoder_loop).

Avoid this by checking for a change in the config width/height
before resetting the cm->width/height.

Change-Id: Id9d50c0ee8a943abe4b6c72bbaa02d9696f93177

9 years agoUnify coding order of MC filters between blocks and frame header.
Ronald S. Bultje [Thu, 3 Sep 2015 16:08:03 +0000 (12:08 -0400)]
Unify coding order of MC filters between blocks and frame header.

In VP9, the order for frame header was: [0] smooth, [1] regular, [2]
sharp, [3] bilinear. Per-block, the order was [0] regular, [1] smooth
and [2] sharp. For VP10, swap smooth/regular in the frame header so
that the block ordering and frame header ordering are interchangeable.

See issue #1046.

Change-Id: Ic9ec5964874375e40cd59bef50b489a76cbe4365

9 years agotest/*.h: use inline rather than INLINE
James Zern [Thu, 3 Sep 2015 01:00:21 +0000 (18:00 -0700)]
test/*.h: use inline rather than INLINE

inline is always available in c++

Change-Id: Ie8e4fc4df75309b649d7ef36bb5aadd95554035f

9 years agoMerge "Revert "add range_check for fdct in vp10""
James Zern [Thu, 3 Sep 2015 01:25:44 +0000 (01:25 +0000)]
Merge "Revert "add range_check for fdct in vp10""

9 years agoRevert "add range_check for fdct in vp10"
James Zern [Thu, 3 Sep 2015 00:23:16 +0000 (00:23 +0000)]
Revert "add range_check for fdct in vp10"

Tests fail to build.

This reverts commit f78d6aa77245cea5cd7f630a20f4e6d576679e7f.

Change-Id: Ia220270517ded273c65a7ab965d82edb696663c9

9 years agoMerge "add range_check for fdct in vp10"
Angie Chiang [Wed, 2 Sep 2015 22:27:47 +0000 (22:27 +0000)]
Merge "add range_check for fdct in vp10"

9 years agoadd range_check for fdct in vp10
Angie Chiang [Sat, 29 Aug 2015 03:39:10 +0000 (20:39 -0700)]
add range_check for fdct in vp10

Unify the style of fdct4() fdct8() fdct16()
Add fdct32()
Add range_check() at each stage
Add unit test at ../../test/vp10_dct_test.cc

Change-Id: I9e912b2c5683862e65c5a21abc3e1c260cca4576

9 years agoMerge changes If253fb95,I1c8a792c,I49f9b10f,I15472738,I1e7f3c32
Johann Koenig [Wed, 2 Sep 2015 19:21:46 +0000 (19:21 +0000)]
Merge changes If253fb95,I1c8a792c,I49f9b10f,I15472738,I1e7f3c32

* changes:
  test: limit the valid image size on OS/2
  configure: add -Zhigh-mem to LDFLAGS on OS/2
  configure: disable PIC on OS/2
  Makefile: add $(STACKREALIGN) to CFLAGS for vp9_reconintra.c
  x86inc.asm: fix NASM compilation

9 years agotest: limit the valid image size on OS/2
KO Myung-Hun [Sun, 30 Aug 2015 07:28:41 +0000 (16:28 +0900)]
test: limit the valid image size on OS/2

Without this, test_libvpx crashes at VP9FrameSizeTestsLarge.ValidSizes
on OS/2.

Change-Id: If253fb95a04216babed56458f0fab8c70523fc7e

9 years agoconfigure: add -Zhigh-mem to LDFLAGS on OS/2
KO Myung-Hun [Sun, 30 Aug 2015 07:27:58 +0000 (16:27 +0900)]
configure: add -Zhigh-mem to LDFLAGS on OS/2

-Zhigh-mem enables to allocate very large memory on OS/2.

Change-Id: I1c8a792cc792c65ce9539a6d3d6b77fc4767848a

9 years agoconfigure: disable PIC on OS/2
KO Myung-Hun [Sun, 30 Aug 2015 06:17:40 +0000 (15:17 +0900)]
configure: disable PIC on OS/2

Change-Id: I49f9b10faa059decf18e123a1f88738071b9c2b8

9 years agoMakefile: add $(STACKREALIGN) to CFLAGS for vp9_reconintra.c
KO Myung-Hun [Sun, 30 Aug 2015 03:33:05 +0000 (12:33 +0900)]
Makefile: add $(STACKREALIGN) to CFLAGS for vp9_reconintra.c

Without this, test_libvpx crashes at
VP9MultiThreadedFrameParallel.PauseSeekResume on OS/2.

Change-Id: I15472738f4166d97cb49868652982d351a291c11

9 years agox86inc.asm: fix NASM compilation
KO Myung-Hun [Fri, 28 Aug 2015 13:23:38 +0000 (22:23 +0900)]
x86inc.asm: fix NASM compilation

Change-Id: I1e7f3c32969dac7911921062b396750302878c2e

9 years agoMerge changes I2e0cc72a,I63a7da78,I4aee2600,I71113505,I3dce6c70, ...
Johann Koenig [Wed, 2 Sep 2015 02:46:54 +0000 (02:46 +0000)]
Merge changes I2e0cc72a,I63a7da78,I4aee2600,I71113505,I3dce6c70, ...

* changes:
  Only build multithreaded functions on mt builds.
  Don't build calc_psnr for high bit depth.
  Enable missing dual lpf test
  Remove unused VP10 functions.
  Mark VP10 functions as 'INLINE'
  Remove unused functions from test files
  Only build append_negative_gtest_filter when it is used.
  Add INLINE decoration to static test functions

9 years agoOnly build multithreaded functions on mt builds.
Johann [Tue, 1 Sep 2015 21:54:52 +0000 (14:54 -0700)]
Only build multithreaded functions on mt builds.

Change-Id: I2e0cc72a0543bfea1d2d3499b9906519d5cb3f15

9 years agoDon't build calc_psnr for high bit depth.
Johann [Tue, 1 Sep 2015 21:54:12 +0000 (14:54 -0700)]
Don't build calc_psnr for high bit depth.

Change-Id: I63a7da7857534dcb4c69ed316c1feadea9ffb45b

9 years agoEnable missing dual lpf test
Johann [Tue, 1 Sep 2015 20:11:45 +0000 (13:11 -0700)]
Enable missing dual lpf test

Found with -Wunused-function
Change-Id: I4aee260016ae522e3fbbd72977ff09a8ebe5f3cf

9 years agoRemove unused VP10 functions.
Johann [Tue, 1 Sep 2015 20:06:22 +0000 (13:06 -0700)]
Remove unused VP10 functions.

Change-Id: I711135054f02883289cca2efb1f109637009ffbb

9 years agoMark VP10 functions as 'INLINE'
Johann [Tue, 1 Sep 2015 20:05:18 +0000 (13:05 -0700)]
Mark VP10 functions as 'INLINE'

Change-Id: I3dce6c702344a5cb5aaf9de1e4be44c53f9ce7e9

9 years agoRemove unused functions from test files
Johann [Tue, 1 Sep 2015 19:50:23 +0000 (12:50 -0700)]
Remove unused functions from test files

Change-Id: Id479a83fe3cb7d989a490328b3ff526530777f81

9 years agoOnly build append_negative_gtest_filter when it is used.
Johann [Tue, 1 Sep 2015 19:47:43 +0000 (12:47 -0700)]
Only build append_negative_gtest_filter when it is used.

Change-Id: If6fec02fd8125b368ea83c99208575ac0d4a662b

9 years agoMatch improved vp9/10 style in libs.mk
Johann [Tue, 1 Sep 2015 19:28:21 +0000 (12:28 -0700)]
Match improved vp9/10 style in libs.mk

Change-Id: I5402c4e4a7d028f4865f429ec5ac6cb592aa2dcb

9 years agoAdd INLINE decoration to static test functions
Johann [Wed, 26 Aug 2015 17:12:14 +0000 (10:12 -0700)]
Add INLINE decoration to static test functions

Fixes "unused function" warnings.

Change-Id: Idc0cd06189917c37dead17d923ac7f9ecef18983

9 years agoMerge "Disable temporal/spatial svc test in VP10"
Yunqing Wang [Tue, 1 Sep 2015 19:01:13 +0000 (19:01 +0000)]
Merge "Disable temporal/spatial svc test in VP10"

9 years agoDisable temporal/spatial svc test in VP10
Yunqing Wang [Mon, 31 Aug 2015 16:52:20 +0000 (09:52 -0700)]
Disable temporal/spatial svc test in VP10

The svc tests are disabled since it is not supported in VP10.

Change-Id: Ie6801e7a573b27afd1ea951bf037ccbae1201e8b

9 years agoInclude vpx_dsp_common.h when using VPXMIN/MAX
Johann [Mon, 31 Aug 2015 21:36:35 +0000 (14:36 -0700)]
Include vpx_dsp_common.h when using VPXMIN/MAX

Change-Id: I2e387a06484a06301f3cd6600c4ba2f4335b61ee

9 years agoMerge "Fix an indent"
Yunqing Wang [Mon, 31 Aug 2015 17:49:45 +0000 (17:49 +0000)]
Merge "Fix an indent"

9 years agoMerge "Check CONFIG_VP<N> instead of encoder and decoder"
Johann Koenig [Mon, 31 Aug 2015 17:46:20 +0000 (17:46 +0000)]
Merge "Check CONFIG_VP<N> instead of encoder and decoder"

9 years agoMerge "Expand the idct4_c() function in idct8_c()"
Yaowu Xu [Mon, 31 Aug 2015 16:38:36 +0000 (16:38 +0000)]
Merge "Expand the idct4_c() function in idct8_c()"

9 years agoFix an indent
Yunqing Wang [Mon, 31 Aug 2015 15:41:50 +0000 (08:41 -0700)]
Fix an indent

An indent fix in bitstream.c.

Change-Id: Ia47e9ac5b01490cb2173a254444848b7bed56e5c

9 years agovp10: fix high bitdepth build
James Zern [Sat, 29 Aug 2015 22:47:46 +0000 (15:47 -0700)]
vp10: fix high bitdepth build

broken since:
c147c4d vp10 cleanup: remove svc code

Change-Id: Id703502b2d645fc051a5d9a23e6f1715d92a116b

9 years agoMerge changes from topic 'vp9-enc-static-fns'
James Zern [Sat, 29 Aug 2015 03:25:29 +0000 (03:25 +0000)]
Merge changes from topic 'vp9-enc-static-fns'

* changes:
  vp9_mcomp: make search functions private
  vp9_mbgraph: use vp9_full_pixel_search(HEX)
  vp9_temporal_filter: use vp9_full_pixel_search(HEX)
  vp9_firstpass: make vp9_init_subsampling private
  vp9_encoder: make vp9_alloc_compressor_data private

9 years agoupdate gitignore
James Zern [Sat, 29 Aug 2015 03:22:00 +0000 (20:22 -0700)]
update gitignore

Change-Id: I01c8ba864b73fd3a66c10442041274767ac87bf1

9 years agovp9_mcomp: make search functions private
James Zern [Tue, 18 Aug 2015 03:18:31 +0000 (20:18 -0700)]
vp9_mcomp: make search functions private

vp9_full_pixel_search() can be used as a replacement as it dispatches to
all search methods

Change-Id: I57fcb79c1362b569dc95237bdcc8390f54efd440

9 years agovp9_mbgraph: use vp9_full_pixel_search(HEX)
James Zern [Tue, 18 Aug 2015 03:57:14 +0000 (20:57 -0700)]
vp9_mbgraph: use vp9_full_pixel_search(HEX)

instead of calling vp9_hex_search() directly. this will allow the
function to be made private

Change-Id: I2f9d4779763aa5b24eda4eb01c78954e061e45ac

9 years agovp9_temporal_filter: use vp9_full_pixel_search(HEX)
James Zern [Tue, 18 Aug 2015 03:57:14 +0000 (20:57 -0700)]
vp9_temporal_filter: use vp9_full_pixel_search(HEX)

instead of calling vp9_hex_search() directly. this will allow the
function to be made private

Change-Id: I8c8cfc61fca4faef593c1c3fc29824dc417cae22

9 years agovp9_firstpass: make vp9_init_subsampling private
James Zern [Tue, 18 Aug 2015 03:17:47 +0000 (20:17 -0700)]
vp9_firstpass: make vp9_init_subsampling private

Change-Id: I03b2ae99ec2e212c76bf815de7d5745b5c965d57

9 years agovp9_encoder: make vp9_alloc_compressor_data private
James Zern [Tue, 18 Aug 2015 03:17:00 +0000 (20:17 -0700)]
vp9_encoder: make vp9_alloc_compressor_data private

Change-Id: I38b4de692f4f7e880766316783981cbd1134bed9

9 years agoCheck CONFIG_VP<N> instead of encoder and decoder
Johann Koenig [Fri, 28 Aug 2015 23:18:18 +0000 (16:18 -0700)]
Check CONFIG_VP<N> instead of encoder and decoder

If either the encoder or the decoder is enabled, CONFIG_VP<N> will be
set. This simplifies the conditional and passes the chromium update
script when CONFIG_ values are passed in with 'yes' and 'no' values.

This was failing because it was checking against empty strings but
they are set to 'no'

Change-Id: I02ecd557210088ba1458cd0e89eead5666f6597a

9 years agoMerge "vp10 cleanup: remove svc code"
Yunqing Wang [Fri, 28 Aug 2015 22:23:31 +0000 (22:23 +0000)]
Merge "vp10 cleanup: remove svc code"

9 years agoMerge "vp8: modifcatiion to skin map computation."
Marco Paniconi [Fri, 28 Aug 2015 21:49:56 +0000 (21:49 +0000)]
Merge "vp8: modifcatiion to skin map computation."

9 years agoMerge "encode_test_driver: test for failure prior to encode"
James Zern [Fri, 28 Aug 2015 20:31:01 +0000 (20:31 +0000)]
Merge "encode_test_driver: test for failure prior to encode"

9 years agovp10 cleanup: remove svc code
Yunqing Wang [Thu, 27 Aug 2015 22:11:38 +0000 (15:11 -0700)]
vp10 cleanup: remove svc code

Spatial/temporal svc code was removed. Verified using Borg test,
and the results before and after the change are matching.

Change-Id: I4c2ee5cd560428e3e50be02e57e5871ef4246390

9 years agoExpand the idct4_c() function in idct8_c()
Angie Chiang [Thu, 27 Aug 2015 00:40:52 +0000 (17:40 -0700)]
Expand the idct4_c() function in idct8_c()

Change-Id: I5afa3c351ba7c5e7deb3889f7471619ac60af255

9 years agoFix to golden update in cyclic_refresh.
Marco [Mon, 24 Aug 2015 20:00:50 +0000 (13:00 -0700)]
Fix to golden update in cyclic_refresh.

For one pass CBR: only check for updating refresh_golden
if ext_refresh_frame_flags_pending is not set (i.e., == 0).
And move the resetting of ext_refresh_frame_flags_pending = 0
down to after the encode_loop (and account for dropped frames).

This is to prevent changing refresh_golden flga when the user
supplies the reference/update flags.

Change-Id: I4d87b3e705ba43f243667e367503b585c61e2a54

9 years agoMerge "configure: append --extra-cflags to final set"
James Zern [Fri, 28 Aug 2015 02:55:49 +0000 (02:55 +0000)]
Merge "configure: append --extra-cflags to final set"

9 years agoencode_test_driver: test for failure prior to encode
James Zern [Thu, 27 Aug 2015 23:05:52 +0000 (16:05 -0700)]
encode_test_driver: test for failure prior to encode

limits the amount of failure messages should e.g., a test file fail to
be opened

Change-Id: I0b30da0faa78cada23a226b577b3a48c74a896cd

9 years agovp8: use VPX(MIN|MAX) from vpx_dsp_common.h
James Zern [Thu, 27 Aug 2015 21:46:08 +0000 (14:46 -0700)]
vp8: use VPX(MIN|MAX) from vpx_dsp_common.h

remove MIN/MAX defines in vp8/common/common.h

Change-Id: I41520f34af175e05b263ebd12198f4de29a967db

9 years agoMerge changes I53b5bdc5,Ib81168a7,Ie0113945
Johann Koenig [Thu, 27 Aug 2015 20:58:53 +0000 (20:58 +0000)]
Merge changes I53b5bdc5,Ib81168a7,Ie0113945

* changes:
  Only build ssse3 filter functions on 64 bit
  Clean up unused function warnings in vp8 encoder
  Clean up unused function warnings in vp8 onyx_if.c

9 years agoMerge "Clean up unused function warnings in vp8 common"
Johann Koenig [Thu, 27 Aug 2015 20:57:23 +0000 (20:57 +0000)]
Merge "Clean up unused function warnings in vp8 common"

9 years agoMerge "Add sse2 versions of halfpix variance"
Johann Koenig [Thu, 27 Aug 2015 20:56:32 +0000 (20:56 +0000)]
Merge "Add sse2 versions of halfpix variance"

9 years agoAdd sse2 versions of halfpix variance
Johann [Thu, 27 Aug 2015 16:55:42 +0000 (09:55 -0700)]
Add sse2 versions of halfpix variance

These were lost in the great sub pixel variance move of
6a82f0d7fb9ee908c389e8d55444bbaed3d54e9c

Not having these functions caused a ~10% performance regression in
some realtime vp8 encodes.

Change-Id: I50658483d9198391806b27899f2c0d309233c4b5

9 years agoconfigure: append --extra-cflags to final set
James Zern [Thu, 27 Aug 2015 03:28:26 +0000 (20:28 -0700)]
configure: append --extra-cflags to final set

previously any flags added while setting up the toolchain would
override the user selections; environment variables could be treated
similarly

Change-Id: Ibfcc644137d8e579af554d19a38d4020019a7a34

9 years agovpx_dsp_common: add VPX prefix to MIN/MAX
James Zern [Tue, 18 Aug 2015 01:19:22 +0000 (18:19 -0700)]
vpx_dsp_common: add VPX prefix to MIN/MAX

prevents redeclaration warnings;
vp8 has its own define which will be resolved in a future commit

Change-Id: Ic941fef3dd4262fcdce48b73075fe6b375f11c9c

9 years agoMerge changes I56fad85c,I7401a70a
James Zern [Thu, 27 Aug 2015 03:02:57 +0000 (03:02 +0000)]
Merge changes I56fad85c,I7401a70a

* changes:
  vp8e_encode: check validate_config return
  vp9_update_layer_...config: delete dead assignment

9 years agoMerge "vp9_spatial_svc_encoder: Enable aq-mode for real-time mode."
Marco Paniconi [Wed, 26 Aug 2015 23:37:00 +0000 (23:37 +0000)]
Merge "vp9_spatial_svc_encoder: Enable aq-mode for real-time mode."