]> granicus.if.org Git - libvpx/log
libvpx
8 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"

8 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

8 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

8 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

8 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."

8 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"

8 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""

8 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

8 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

8 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

8 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."

8 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

8 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

8 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

8 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"

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

8 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

8 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

8 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

8 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."

8 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"

8 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

8 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

8 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()."

8 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

8 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

8 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

8 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""

8 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

8 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"

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

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

Change-Id: I711135054f02883289cca2efb1f109637009ffbb

8 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

8 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

8 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

8 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

8 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

8 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"

8 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

8 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

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

8 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"

8 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()"

8 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

8 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

8 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

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

Change-Id: I01c8ba864b73fd3a66c10442041274767ac87bf1

8 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

8 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

8 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

8 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

8 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

8 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

8 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"

8 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."

8 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"

8 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

8 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

8 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

8 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"

8 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

8 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

8 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

8 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"

8 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"

8 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

8 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

8 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

8 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

8 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."

8 years agovp9_spatial_svc_encoder: Enable aq-mode for real-time mode.
Marco [Wed, 26 Aug 2015 22:18:13 +0000 (15:18 -0700)]
vp9_spatial_svc_encoder: Enable aq-mode for real-time mode.

For real-time mode (speeds >=5) enable aq-mode=3.

Change-Id: Ib8b4ef7609bc30ac935742c8d27e8cd89933c6af

8 years agoMerge "Remove vp10_default_scan_orders[] that is unused"
Hui Su [Wed, 26 Aug 2015 22:19:01 +0000 (22:19 +0000)]
Merge "Remove vp10_default_scan_orders[] that is unused"

8 years agovp10 cleanup: remove nonrd and real-time code
Yunqing Wang [Wed, 26 Aug 2015 20:36:54 +0000 (13:36 -0700)]
vp10 cleanup: remove nonrd and real-time code

Code cleanup.

Change-Id: I668bd5a4e5fbe96969d51d9ee777fc5f1d8abfe6

8 years agoMerge "vp9_spatial_svc_encoder: Add encoding time log."
Marco Paniconi [Wed, 26 Aug 2015 19:47:15 +0000 (19:47 +0000)]
Merge "vp9_spatial_svc_encoder: Add encoding time log."

8 years agovp9_spatial_svc_encoder: Add encoding time log.
Marco [Wed, 26 Aug 2015 19:18:46 +0000 (12:18 -0700)]
vp9_spatial_svc_encoder: Add encoding time log.

Change-Id: Iab4e4a13a65c9dc5314e5107b126c30667c7b448

8 years agoMerge "Clean up unused function warnings in vp8 decoder"
Johann Koenig [Wed, 26 Aug 2015 18:36:10 +0000 (18:36 +0000)]
Merge "Clean up unused function warnings in vp8 decoder"

8 years agoRemove vp10_default_scan_orders[] that is unused
hui su [Wed, 26 Aug 2015 17:37:29 +0000 (10:37 -0700)]
Remove vp10_default_scan_orders[] that is unused

Change-Id: Ibc3b5cb3799f080808cf22ccb01d733e74ab4461

8 years agoOnly build ssse3 filter functions on 64 bit
Johann [Tue, 25 Aug 2015 23:55:26 +0000 (16:55 -0700)]
Only build ssse3 filter functions on 64 bit

Avoid an unused function warning by only building the functions when
they will be used.

Change-Id: I53b5bdc5a180c79d63b34e4c8921d679bbc54009

8 years agoClean up unused function warnings in vp8 encoder
Johann [Tue, 25 Aug 2015 23:50:32 +0000 (16:50 -0700)]
Clean up unused function warnings in vp8 encoder

Mark rdopt.h and treewriter.h functions with INLINE.

Change-Id: Ib81168a709d09dfba7de16c596133310e04c6656

8 years agoClean up unused function warnings in vp8 onyx_if.c
Johann [Tue, 25 Aug 2015 23:45:09 +0000 (16:45 -0700)]
Clean up unused function warnings in vp8 onyx_if.c

Remove really unused segmentation_test_function

Hide decide_key_frame and recode_loop_test under non-realtime check.

Change-Id: Ie0113945ffbd096dbb89a553548f526b2a0ee0c6

8 years agoClean up unused function warnings in vp8 common
Johann [Tue, 25 Aug 2015 23:01:55 +0000 (16:01 -0700)]
Clean up unused function warnings in vp8 common

Mark functions in findnearmv.h, invtrans.h and setupintrarecon.h
with INLINE.

Hide function in postproc.h behind the same #if as it's callers.

Change-Id: Ic1e014a943d2aca280f137019218b9d4f1443d61

8 years agoRemove vp8_priv_sz
Johann [Tue, 25 Aug 2015 23:38:59 +0000 (16:38 -0700)]
Remove vp8_priv_sz

This is a leftover of the XMA code which was removed a long time ago.

Found while looking for unused functions.

Change-Id: I07a3d542ae55440af59380dcdcf9a6c11cdfcb75

8 years agoClean up unused function warnings in vp8 decoder
Johann [Tue, 25 Aug 2015 23:06:36 +0000 (16:06 -0700)]
Clean up unused function warnings in vp8 decoder

Mark functions in dboolhuff.h and treereader.h with INLINE.

Change-Id: Ifc1008de0713c8d43f4fec83a8c2b836622be365

8 years agovp8e_encode: check validate_config return
James Zern [Tue, 25 Aug 2015 03:07:48 +0000 (20:07 -0700)]
vp8e_encode: check validate_config return

Change-Id: I56fad85cae4537f9d68febf9b9264c3e1cf82ce1

8 years agovp9_update_layer_...config: delete dead assignment
James Zern [Tue, 25 Aug 2015 03:03:19 +0000 (20:03 -0700)]
vp9_update_layer_...config: delete dead assignment

Change-Id: I7401a70a3f33d13fa1ab0393e59fceb5ef083534

8 years agoMark Scale2Ratio INLINE
Johann [Tue, 25 Aug 2015 21:53:09 +0000 (14:53 -0700)]
Mark Scale2Ratio INLINE

WebRTC builds with -Wunused-function do not like all the uses of onyx.h

Change-Id: Ic57cb143b48df9c9895f94b5f8f395c260fa7025

8 years agoMerge "Limit new motion vector size"
Yaowu Xu [Tue, 25 Aug 2015 17:07:34 +0000 (17:07 +0000)]
Merge "Limit new motion vector size"

8 years agoLimit new motion vector size
Yaowu Xu [Tue, 25 Aug 2015 02:09:03 +0000 (19:09 -0700)]
Limit new motion vector size

This commit adds clamp of new vectors similar to the logic in RD loop.
Such clamp is not necessary from the perspective of VP8 bitstream, but
is added to improve ChromeCast mirroring's robustness.

Change-Id: I42f6adbc60ffce283b994869364230858632d6fa

8 years agoMerge "Add transform size rate for intra skip mode in rdopt"
Shunyao Li [Tue, 25 Aug 2015 16:51:04 +0000 (16:51 +0000)]
Merge "Add transform size rate for intra skip mode in rdopt"

8 years agoMerge "Prevent an ASAN failure for svc tests"
Debargha Mukherjee [Tue, 25 Aug 2015 16:31:54 +0000 (16:31 +0000)]
Merge "Prevent an ASAN failure for svc tests"