]> granicus.if.org Git - libvpx/log
libvpx
8 years agovp9: Fix issue in scene/content change detection.
Marco [Fri, 11 Mar 2016 20:15:27 +0000 (12:15 -0800)]
vp9: Fix issue in scene/content change detection.

The change https://chromium-review.googlesource.com/#/c/329181/
also changed behavior for cbr mode, which causes some regression
in screenshare test in webrtc.

Resetting the specific change to leave the cbr behavior
unchanged for now.

Change-Id: I52df158806422f86398e1d2f522e92067d8325eb

8 years agovp9 non-rd pickmode. Some adjustments for vbr mode.
Marco [Thu, 25 Feb 2016 00:16:44 +0000 (16:16 -0800)]
vp9 non-rd pickmode. Some adjustments for vbr mode.

Some adjustments to inter-mode selection for vbr mode.
Condition some of the bias to low/zero motion on cbr mode, and
don't use int_pro_motion_estimation for golden ref
(treat it same as last ref).

Change only affect 1 pass vbr mode, speed >=5 (non-rd pickmode).

Encoding time increase within ~5%.
Avg PSNR/SSIM on RTC set increase by ~2%, all clips up,
ranging from 0.5 to 4%.

Change-Id: I0048d0104a8816773d91a2b1484d601169d9bad7

8 years agovp9: Update to skin detection.
Marco [Thu, 10 Mar 2016 23:43:42 +0000 (15:43 -0800)]
vp9: Update to skin detection.

For model=1, use higher threshold on luminance, conditioned
on the skin cluster distance.

Change-Id: I971bccdef7b92b2aeef60af90a8e48b98716a89b

8 years agovp9-svc: Fix to frame dropping in svc mode.
Marco [Wed, 9 Mar 2016 00:29:54 +0000 (16:29 -0800)]
vp9-svc: Fix to frame dropping in svc mode.

Don't advance the svc frame counters on dropped frame,
since this can break the referencing scheme and lead
to a crash/assert.

Updated svc-datarate unittest to add a lower bitrate test.

Change only affects 1 pass cbr svc, with frame dropper enabled.

Change-Id: Ibb7530b7a587a9344d46898d9286fd9e2ef0779c

8 years agoMerge "vp9-svc: Change default spatial bitrate allocation."
Marco Paniconi [Tue, 8 Mar 2016 22:08:57 +0000 (22:08 +0000)]
Merge "vp9-svc: Change default spatial bitrate allocation."

8 years agoMerge "vp9_svc_layercontext(): fix proto mismatch"
James Zern [Tue, 8 Mar 2016 20:10:40 +0000 (20:10 +0000)]
Merge "vp9_svc_layercontext(): fix proto mismatch"

8 years agoMerge "vp9-svc unitests: Add more tests for key frame periods."
Marco Paniconi [Tue, 8 Mar 2016 19:32:35 +0000 (19:32 +0000)]
Merge "vp9-svc unitests: Add more tests for key frame periods."

8 years agovp9-svc: Change default spatial bitrate allocation.
Marco [Tue, 8 Mar 2016 19:25:13 +0000 (11:25 -0800)]
vp9-svc: Change default spatial bitrate allocation.

Only affects 1 pass cbr svc.

Change-Id: I8387219e35e516d9ce890557ee1855f2af8f636a

8 years agoMerge "VPX: loopfilter_mmx.asm using x86inc 2"
Scott LaVarnway [Tue, 8 Mar 2016 18:50:20 +0000 (18:50 +0000)]
Merge "VPX: loopfilter_mmx.asm using x86inc 2"

8 years agovp9_svc_layercontext(): fix proto mismatch
James Zern [Tue, 8 Mar 2016 18:37:27 +0000 (10:37 -0800)]
vp9_svc_layercontext(): fix proto mismatch

Change-Id: I8a76d150a61662fc2e3158a49ce4e642f917029a

8 years agovp9-svc unitests: Add more tests for key frame periods.
Marco [Tue, 8 Mar 2016 18:34:43 +0000 (10:34 -0800)]
vp9-svc unitests: Add more tests for key frame periods.

Change-Id: Iea237760b508d87dab057dd824e26d2e66fa8433

8 years agoVPX: loopfilter_mmx.asm using x86inc 2
Scott LaVarnway [Tue, 8 Mar 2016 12:24:47 +0000 (04:24 -0800)]
VPX: loopfilter_mmx.asm using x86inc 2

This reverts commit 9aa083d164e0d39086aa0c83f0d1a0d0f0d1ba61.

Fixes a decoder mismatch with 32bit PIC builds.

Change-Id: I94717df662834810302fe3594b38c53084a4e284

8 years agovp9-resize tests: Update to real-time resize unittests.
Marco [Tue, 8 Mar 2016 00:58:06 +0000 (16:58 -0800)]
vp9-resize tests: Update to real-time resize unittests.

Add check for mismatch in unittests.

Change-Id: Ia5d5b5f6af4b7eb653302b81fdd9a53df4aba033

8 years agoMerge "vp9-svc: Fix to resetting pattern/flags on key frame."
Marco Paniconi [Mon, 7 Mar 2016 22:44:29 +0000 (22:44 +0000)]
Merge "vp9-svc: Fix to resetting pattern/flags on key frame."

8 years agovp9-svc: Fix to resetting pattern/flags on key frame.
Marco [Mon, 7 Mar 2016 21:43:11 +0000 (13:43 -0800)]
vp9-svc: Fix to resetting pattern/flags on key frame.

Chane only affects 1 pass cbr svc mode.

Change-Id: Ie28557409eb87673ed0b66c6dfe1bf3509a18c4d

8 years agoMerge "define GET_GOT_DEFINED if not previously defined"
Scott LaVarnway [Mon, 7 Mar 2016 21:51:05 +0000 (21:51 +0000)]
Merge "define GET_GOT_DEFINED if not previously defined"

8 years agodefine GET_GOT_DEFINED if not previously defined
Scott LaVarnway [Mon, 7 Mar 2016 19:34:49 +0000 (11:34 -0800)]
define GET_GOT_DEFINED if not previously defined

Change-Id: Id9c764a5b0e4b668a6e804cceb78988138ad910f

8 years agovp9-svc: Non-rd pickmode, fix condition for testing zeromv for spatial ref.
Marco [Mon, 7 Mar 2016 17:50:36 +0000 (09:50 -0800)]
vp9-svc: Non-rd pickmode, fix condition for testing zeromv for spatial ref.

Change-Id: I75bad321d5814a6df6735a8ead7700ab93b50763

8 years agoRevert "VPX: loopfilter_mmx.asm using x86inc"
James Zern [Sat, 5 Mar 2016 02:23:09 +0000 (18:23 -0800)]
Revert "VPX: loopfilter_mmx.asm using x86inc"

This reverts commit 15ecdc3970462c15fdf7185d373cb52664f40c0f.

breaks 32-bit pic builds

Change-Id: I8bb1b9471a293f05ac7423aaba0339d408931b7a

8 years agoMerge "Fix bug in stats output for HBD."
Paul Wilkins [Fri, 4 Mar 2016 15:55:11 +0000 (15:55 +0000)]
Merge "Fix bug in stats output for HBD."

8 years agoFix bug in stats output for HBD.
paulwilkins [Fri, 4 Mar 2016 12:55:04 +0000 (12:55 +0000)]
Fix bug in stats output for HBD.

Change-Id: Ic3b033e22cdcdc4a0f78cef433b2208fd254c27b

8 years agovp9-svc: Fix issues with svc with periodic key frames.
Marco [Wed, 2 Mar 2016 22:45:41 +0000 (14:45 -0800)]
vp9-svc: Fix issues with svc with periodic key frames.

Use the superframe counter to set the key frame, and force
it to the key frame on base spatial layer only.
Also, update svc frame counters under frame dropping.

Update unittest: add specific tests with short key frame period.

https://bugs.chromium.org/p/webm/issues/detail?id=1150

Change-Id: I5b1c9a09253e6e5fbfce51b4cf603ae22d422b01

8 years agoMerge "Simplify the inner loop of duplicate_mode_info_in_sb."
Alex Converse [Wed, 2 Mar 2016 17:21:08 +0000 (17:21 +0000)]
Merge "Simplify the inner loop of duplicate_mode_info_in_sb."

8 years agoMerge "Port "cost_coeff speed improvements" to vp9."
Alex Converse [Wed, 2 Mar 2016 17:20:58 +0000 (17:20 +0000)]
Merge "Port "cost_coeff speed improvements" to vp9."

8 years agoSimplify the inner loop of duplicate_mode_info_in_sb.
Alex Converse [Wed, 2 Mar 2016 01:43:02 +0000 (17:43 -0800)]
Simplify the inner loop of duplicate_mode_info_in_sb.

Change-Id: I8ba9164c3550379fb998d4d074846e90fb2c6f8c

8 years agovp9-svc: Allow for 2 stage downscaling for spatial layers.
Marco [Thu, 25 Feb 2016 16:38:08 +0000 (08:38 -0800)]
vp9-svc: Allow for 2 stage downscaling for spatial layers.

For 1 pass cbr mode: allow for two-stage 1:2 scaling
(which will use the 1:2 optimized scaler) if the spatial
layer is 1/4x1/4 of souce.

Without this change, the base layer for 3 spatial layers would
be using the non-normative scaler which is un-optimized/C code.

Change-Id: I9d73f92a4a96927d0f1d6bf75315c1e60513226a

8 years agoMerge "Port alt reference frame filter improvement to VP9"
Jingning Han [Tue, 1 Mar 2016 22:31:37 +0000 (22:31 +0000)]
Merge "Port alt reference frame filter improvement to VP9"

8 years agoMerge "Back port partition rate cost estimate fix to VP9"
Jingning Han [Tue, 1 Mar 2016 22:31:29 +0000 (22:31 +0000)]
Merge "Back port partition rate cost estimate fix to VP9"

8 years agoMerge "Don't copy tx_size to all 8x8 MIs in the prediction block."
Alex Converse [Tue, 1 Mar 2016 17:19:04 +0000 (17:19 +0000)]
Merge "Don't copy tx_size to all 8x8 MIs in the prediction block."

8 years agoPort alt reference frame filter improvement to VP9
Jingning Han [Tue, 1 Mar 2016 00:52:44 +0000 (16:52 -0800)]
Port alt reference frame filter improvement to VP9

Use sharp filter to generate motion compensated reference for
temporal filtering. It improves the average coding performance of
VP9 speed 0:
derf    0.34%
hevcmr  0.38%
stdhd   0.58%

Change-Id: I1772a051be545de8c343055274e5ca0929d19cda

8 years agoBack port partition rate cost estimate fix to VP9
Jingning Han [Mon, 29 Feb 2016 23:20:12 +0000 (15:20 -0800)]
Back port partition rate cost estimate fix to VP9

This commit back ports the fix from
https://chromium-review.googlesource.com/#/c/326940

It corrects the block partition context fetching in rate-distortion
optimization. It improves the average coding performance of speed 0:
derf    0.098%
hevcmr  0.102%
stdhd   0.282%

Change-Id: I8bcc6fe40ba5c6b50a6136daac116dcc738937ec

8 years agovp9-datarate unittests: Include coverage up to speed 8.
Marco [Tue, 1 Mar 2016 00:16:20 +0000 (16:16 -0800)]
vp9-datarate unittests: Include coverage up to speed 8.

Change-Id: I8529cd04ea4f95d21d83f87d56d6dd882d0a5636

8 years agoDon't copy tx_size to all 8x8 MIs in the prediction block.
Alex Converse [Mon, 29 Feb 2016 23:16:42 +0000 (15:16 -0800)]
Don't copy tx_size to all 8x8 MIs in the prediction block.

The double pointer in xd->mi handles this for us.

Cuts encode_suberblock()'s self time in half at rt speed 8.

Change-Id: I820dae24efdbf9a140bbeae82e4e2a5850317766

8 years agovp9: Remove effective_bitrate from SVC datarate tests.
Marco [Mon, 29 Feb 2016 21:11:41 +0000 (13:11 -0800)]
vp9: Remove effective_bitrate from SVC datarate tests.

Change-Id: I1189c2403463e0aca288ba344052ba1c9cf94390

8 years agovp8: multi-res-encoder: Fix timer around encoder in sample encoder.
Marco [Mon, 29 Feb 2016 19:12:02 +0000 (11:12 -0800)]
vp8: multi-res-encoder: Fix timer around encoder in sample encoder.

Change-Id: I0131ab4767e2eb72838ab6e58dd77a85fbf508e0

8 years agovp9-svc: For 1 pass svc, remove frame-level upsampling.
Marco [Wed, 20 Jan 2016 22:10:26 +0000 (14:10 -0800)]
vp9-svc: For 1 pass svc, remove frame-level upsampling.

With the svc fix in https://chromium-review.googlesource.com/#/c/328978/,
the asan error is resolved, so this should work now.

Change-Id: I57b2a593651d414e1b445431d90f2fdc3281128b

8 years agoVPX: Remove pmin/pmax from subpixel functions.
Scott LaVarnway [Wed, 24 Feb 2016 20:03:33 +0000 (12:03 -0800)]
VPX: Remove pmin/pmax from subpixel functions.

These instructions are unnecessary if the adds
are done in the correct order.

Change-Id: I4e533b8267c32e610a4b94203ad052dc9fdabd71

8 years agoMerge "VPX: vpx_filter_block1d16_(v8, v8_avg)"
Scott LaVarnway [Sat, 27 Feb 2016 13:31:18 +0000 (13:31 +0000)]
Merge "VPX: vpx_filter_block1d16_(v8, v8_avg)"

8 years agoMerge changes I95159bcb,Ia74e3097,I661f6439
James Zern [Sat, 27 Feb 2016 02:56:40 +0000 (02:56 +0000)]
Merge changes I95159bcb,Ia74e3097,I661f6439

* changes:
  x86/convolve.h: remove redundant check in FUN_CONV_2D
  x86/convolve.h: replace while w/if for w < 16
  x86/convolve.h: change filter[] || chains to |

8 years agodatarate_test/ChangingDropFrameThresh: set kf interval
James Zern [Fri, 26 Feb 2016 23:14:46 +0000 (15:14 -0800)]
datarate_test/ChangingDropFrameThresh: set kf interval

restore the value for VP9 to 9999 to satisfy the current test
expectations; without this
VP9/DatarateTestVP9Large.ChangingDropFrameThresh/8 will overshoot.

Change-Id: I88dad574ae4ab10f923579824c7347ff468c7045

8 years agoRevert "vp9-svc: Fix speed issue with source downscaling for spatial layers."
James Zern [Sat, 27 Feb 2016 00:53:10 +0000 (16:53 -0800)]
Revert "vp9-svc: Fix speed issue with source downscaling for spatial layers."

This reverts commit f51f0998e1ca99cd7497ded3642bb27445b1b215.

This causes datarate tests to fail. Some are due to the new default
keyframe distance, another causes an assert even forcing 9999:

[ RUN      ] VP9/DatarateOnePassCbrSvc.OnePassCbrSvc3SpatialLayers/0
test_libvpx:
vpx_dsp/x86/vpx_subpixel_8t_intrin_ssse3.c:853: scaledconvolve2d:
Assertion `y_step_q4 <= 32' failed.

Change-Id: I4ee4fea97f47e4f1a23b82a62e6afc6280961e38

8 years agoMerge "vp8-denoiser: Update some denoiser thresholds."
Marco Paniconi [Sat, 27 Feb 2016 00:20:53 +0000 (00:20 +0000)]
Merge "vp8-denoiser: Update some denoiser thresholds."

8 years agoPort "cost_coeff speed improvements" to vp9.
Julia Robson [Fri, 26 Feb 2016 22:42:25 +0000 (14:42 -0800)]
Port "cost_coeff speed improvements" to vp9.

About a 5% faster overall encode (perf cycles) at speed zero!

Change-Id: Iaf013ba75884415cd824e98349f654ffb1c3ef33

8 years agoMerge "vp9-svc: Bugfix for svc in non-rd variance partition."
Marco Paniconi [Fri, 26 Feb 2016 22:39:28 +0000 (22:39 +0000)]
Merge "vp9-svc: Bugfix for svc in non-rd variance partition."

8 years agovp9-svc: Bugfix for svc in non-rd variance partition.
Marco [Mon, 22 Feb 2016 22:17:03 +0000 (14:17 -0800)]
vp9-svc: Bugfix for svc in non-rd variance partition.

Reset the scale factors before build_inter_predictors.

Add datarate tests for 3 spatial layers, which exposed this issue.

Change-Id: I7f81efbe44345ecea9fdd5f639a4cca76aed3874

8 years agovp9-svc: Fix speed issue with source downscaling for spatial layers.
Marco [Thu, 25 Feb 2016 16:38:08 +0000 (08:38 -0800)]
vp9-svc: Fix speed issue with source downscaling for spatial layers.

For 1 pass cbr mode: allow for two-stage 1:2 scaling
(which will use the 1:2 optimized scaler) if the spatial
layer is 1/4x1/4 of souce.

Without this change, the base layer for 3 spatial layers would
be using the non-normative scaler which is un-optimized/C code.

Change-Id: Ifcf526ec2aaf3e5fa7924588d9dd8660bf02fb46

8 years agox86/convolve.h: remove redundant check in FUN_CONV_2D
James Zern [Fri, 26 Feb 2016 07:31:50 +0000 (23:31 -0800)]
x86/convolve.h: remove redundant check in FUN_CONV_2D

the filter will be the same in this case

Change-Id: I95159bcb05bbfb71b57da741393e80cc7ffc5cff

8 years agox86/convolve.h: replace while w/if for w < 16
James Zern [Thu, 25 Feb 2016 03:48:49 +0000 (19:48 -0800)]
x86/convolve.h: replace while w/if for w < 16

in non-hbd configurations; any high-bitdepth changes will be done in a
follow-up

Change-Id: Ia74e30971b744c1faab68c92fdeda1a053988c77

8 years agoaltref_test: move AltRefTest instantiation w/in VP8 check
James Zern [Fri, 26 Feb 2016 04:58:56 +0000 (20:58 -0800)]
altref_test: move AltRefTest instantiation w/in VP8 check

some configurations may fail if AltRefTest is undefined though
VP8_INSTANTIATE_TEST_CASE is defined away.

Change-Id: I7272775a506718336bd6cee2225cf83bd72fede5

8 years agoMerge "vp9/10: fix forced keyframes w/alt-refs enabled"
James Zern [Fri, 26 Feb 2016 03:52:44 +0000 (03:52 +0000)]
Merge "vp9/10: fix forced keyframes w/alt-refs enabled"

8 years agovp9: set kf_max_dist to a reasonable default (128)
James Zern [Thu, 25 Feb 2016 04:24:51 +0000 (20:24 -0800)]
vp9: set kf_max_dist to a reasonable default (128)

the same as vp8, with the same reasoning from:
2a0d7b1 Reduce the default kf_max_dist to 128.

see also:
https://trac.ffmpeg.org/ticket/4904
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=815673

+ restore vpxenc behavior of taking the library default rather than
  forcing 5s

This change also exposes an issue with one-pass svc in cbr mode, keep
the old default in datarate_test.cc for now.

Change-Id: Id6d1244f42490b06fefc1a7b4e12a423a1f83e88

8 years agoVPX: vpx_filter_block1d16_(v8, v8_avg)
Scott LaVarnway [Thu, 25 Feb 2016 14:15:24 +0000 (06:15 -0800)]
VPX: vpx_filter_block1d16_(v8, v8_avg)

Store result with one 16 byte store instead of
two 8 byte stores.

Change-Id: I43acbc5edfd6d6055a926f9b9605d47127400f09

8 years agox86/convolve.h: change filter[] || chains to |
James Zern [Thu, 25 Feb 2016 03:35:37 +0000 (19:35 -0800)]
x86/convolve.h: change filter[] || chains to |

Change-Id: I661f64390f232826857b259e7a67e77f5a3a91ad

8 years agovp9/10: fix forced keyframes w/alt-refs enabled
James Zern [Fri, 19 Feb 2016 19:05:33 +0000 (11:05 -0800)]
vp9/10: fix forced keyframes w/alt-refs enabled

in 1-pass encodes. issues with 2-pass as well as other forced flags
persist.

Change-Id: Ic7ceb906fccea6456d5df96483c10cacd46e01c7

8 years agoMerge changes from topic 'x86inc'
Johann Koenig [Wed, 24 Feb 2016 22:33:02 +0000 (22:33 +0000)]
Merge changes from topic 'x86inc'

* changes:
  x86inc.asm: only set visibility for chromium builds
  Only use .text sections for aout
  Use .text instead of .rodata on macho
  Copy PIC handling code from x86_abi_support
  Set 'private_extern' visibility for macho targets
  Expand PIC default to macho64 and respect CONFIG_PIC from libvpx
  Use libvpx defines to set name mangling rules
  Customize x86inc.asm for libvpx
  Update x86inc.asm from x264

8 years agoMerge "BUG FIX: vpx_filter_block1d(8,4)_(v8, v8_avg)"
Scott LaVarnway [Wed, 24 Feb 2016 22:31:06 +0000 (22:31 +0000)]
Merge "BUG FIX: vpx_filter_block1d(8,4)_(v8, v8_avg)"

8 years agovp9: Update to scene/content change detection.
Marco [Wed, 24 Feb 2016 01:49:34 +0000 (17:49 -0800)]
vp9: Update to scene/content change detection.

Update some parameters and put check on frame size change.
For 1 pass VBR mode, speed >= 5.

Change-Id: If24ed94a21e705ea57d40b9bf235ad079db786fc

8 years agoBUG FIX: vpx_filter_block1d(8,4)_(v8, v8_avg)
Scott LaVarnway [Tue, 23 Feb 2016 20:23:41 +0000 (12:23 -0800)]
BUG FIX: vpx_filter_block1d(8,4)_(v8, v8_avg)

Change-Id: Ic7ea79988ed0864e7ddbfeb312516bcf77eaaac1

8 years agovp9 aq-mode=3: Allow it to be used for 1 pass VBR mode.
Marco [Fri, 12 Feb 2016 18:29:26 +0000 (10:29 -0800)]
vp9 aq-mode=3: Allow it to be used for 1 pass VBR mode.

Change-Id: I630b8e33106c78382545d49da5fb4c75b1b0b528

8 years agoMerge "VPX: loopfilter_mmx.asm using x86inc"
Scott LaVarnway [Mon, 22 Feb 2016 13:47:32 +0000 (13:47 +0000)]
Merge "VPX: loopfilter_mmx.asm using x86inc"

8 years agoMerge "VP9: rename vpx_read_mode_info to vp9_read_mode_info"
Scott LaVarnway [Mon, 22 Feb 2016 13:45:26 +0000 (13:45 +0000)]
Merge "VP9: rename vpx_read_mode_info to vp9_read_mode_info"

8 years agoMerge "VP9: remove x_mis, y_mis calculations"
Scott LaVarnway [Mon, 22 Feb 2016 13:44:37 +0000 (13:44 +0000)]
Merge "VP9: remove x_mis, y_mis calculations"

8 years agovp9: 1 pass vbr real-time mode: Adjust gf refresh for scene change.
Marco [Thu, 18 Feb 2016 20:16:01 +0000 (12:16 -0800)]
vp9: 1 pass vbr real-time mode: Adjust gf refresh for scene change.

Use the existing scene/content change detection to better
update/adjust golden frame refresh.

Change only affects 1 pass real-time vbr mode, speed >=5.

Change-Id: I2963a5bb7ca4a19f8cf8511b0a925e502f60e014

8 years agoVP9: rename vpx_read_mode_info to vp9_read_mode_info
Scott LaVarnway [Fri, 19 Feb 2016 13:34:12 +0000 (05:34 -0800)]
VP9: rename vpx_read_mode_info to vp9_read_mode_info

Change-Id: I3cb3da864e33012ba68d61ee8bafa8c42f00313c

8 years agoVP9: remove x_mis, y_mis calculations
Scott LaVarnway [Fri, 19 Feb 2016 13:28:00 +0000 (05:28 -0800)]
VP9: remove x_mis, y_mis calculations

Passed as arguments instead.

Change-Id: I884a90baedf772692372e6e3520702c04a968f44

8 years agoVPX: loopfilter_mmx.asm using x86inc
Scott LaVarnway [Thu, 18 Feb 2016 23:34:58 +0000 (15:34 -0800)]
VPX: loopfilter_mmx.asm using x86inc

Change-Id: Idcf29281d617b275e3ca50f77e6d00c60992a36d

8 years agoMerge changes from topic 'vp10-missing-alloc-checks'
James Zern [Thu, 18 Feb 2016 18:56:03 +0000 (18:56 +0000)]
Merge changes from topic 'vp10-missing-alloc-checks'

* changes:
  vp10/resize: add missing alloc checks
  vp10/encoder: add missing alloc checks
  vp10/decoder,resize_mv_buffer: add missing alloc check
  vp10_cyclic_refresh_alloc: correct cleanup on error

8 years agoMerge changes from topic 'vp9-missing-alloc-checks'
James Zern [Thu, 18 Feb 2016 18:53:13 +0000 (18:53 +0000)]
Merge changes from topic 'vp9-missing-alloc-checks'

* changes:
  vp9_svc_layercontext: add missing alloc checks
  vp9_resize: add missing alloc checks
  vp9_encoder: add missing alloc checks
  vp9/decoder,resize_mv_buffer: add missing alloc check
  vp9_cyclic_refresh_alloc: correct cleanup on error

8 years agoMerge changes from topic 'vp8-missing-alloc-checks'
James Zern [Thu, 18 Feb 2016 18:50:58 +0000 (18:50 +0000)]
Merge changes from topic 'vp8-missing-alloc-checks'

* changes:
  vp8_dx_iface: add missing alloc checks
  vp8/onyx_if: add missing alloc checks
  vp8/denoising: add missing alloc check

8 years agoMerge changes from topic 'rm-loopfilter-count-param'
James Zern [Thu, 18 Feb 2016 18:47:48 +0000 (18:47 +0000)]
Merge changes from topic 'rm-loopfilter-count-param'

* changes:
  lpf_8_test: remove unneeded function wrapper
  remove loopfilter 'count' param TODOs
  split vpx_highbd_lpf_horizontal_16 in two
  split vpx_lpf_horizontal_16 in two
  vpx_highbd_lpf_horizontal_4: remove unused count param
  vpx_highbd_lpf_horizontal_8: remove unused count param
  vpx_highbd_lpf_vertical_4: remove unused count param
  vpx_highbd_lpf_vertical_8: remove unused count param
  vpx_lpf_horizontal_4: remove unused count param
  vpx_lpf_horizontal_8: remove unused count param
  vpx_lpf_vertical_4: remove unused count param
  vpx_lpf_vertical_8: remove unused count param
  lpf_8_test: add missing dspr2 tests
  lpf_8_test: add missing vpx_lpf_horizontal_4 tests
  lpf_8_test: add missing vpx_lpf_vertical_4 tests
  lpf_8_test: simplify function wrapper generation

8 years agox86inc.asm: only set visibility for chromium builds
James Zern [Thu, 18 Feb 2016 02:32:57 +0000 (18:32 -0800)]
x86inc.asm: only set visibility for chromium builds

this restores the previous version's behavior avoiding issues with
builds that may split sources on directory boundaries; protected
visibility may work in this case.

Change-Id: Ie759bd96c9ea5b45613f450dffa6e67eb45f5a8b

8 years agoOnly use .text sections for aout
Johann [Thu, 18 Feb 2016 02:30:46 +0000 (18:30 -0800)]
Only use .text sections for aout

Also do not specify alignment.

Change-Id: I92d07dcce632ff9380c5dce18f88597414ab60c7

8 years agoUse .text instead of .rodata on macho
Johann [Thu, 18 Feb 2016 02:25:09 +0000 (18:25 -0800)]
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: I4629c90d9e0ae4d4efc193a93be6fb93809ae895

8 years agoCopy PIC handling code from x86_abi_support
Johann [Thu, 18 Feb 2016 02:21:03 +0000 (18:21 -0800)]
Copy PIC handling code from x86_abi_support

Change-Id: Ia05fe78d2bd29b6aebaf6605719fe8a32528f25c

8 years agoSet 'private_extern' visibility for macho targets
Johann [Thu, 18 Feb 2016 02:08:13 +0000 (18:08 -0800)]
Set 'private_extern' visibility for macho targets

Do not set it when building with 'nasm'

Change-Id: Iff2acf22543f5899f6eefa7624821cc6270a0923

8 years agovp8_dx_iface: add missing alloc checks
James Zern [Wed, 17 Feb 2016 22:56:17 +0000 (14:56 -0800)]
vp8_dx_iface: add missing alloc checks

Change-Id: Id9f4022b0cb4b5d0b3dd8759fd491da4e2ba5cb1

8 years agovp8/onyx_if: add missing alloc checks
James Zern [Wed, 17 Feb 2016 22:55:50 +0000 (14:55 -0800)]
vp8/onyx_if: add missing alloc checks

Change-Id: I9b0aa340518f45e16fa9754afd87347aabf968d7

8 years agoExpand PIC default to macho64 and respect CONFIG_PIC from libvpx
Johann [Thu, 18 Feb 2016 01:56:29 +0000 (17:56 -0800)]
Expand PIC default to macho64 and respect CONFIG_PIC from libvpx

Change-Id: I8df65c6e52141183344ee91a7f94e8f4d5687e2f

8 years agoUse libvpx defines to set name mangling rules
Johann [Thu, 18 Feb 2016 01:55:18 +0000 (17:55 -0800)]
Use libvpx defines to set name mangling rules

Change-Id: Ie5dbfe73bdb6132047f9ab7d5716714d50befea5

8 years agoCustomize x86inc.asm for libvpx
Johann [Thu, 18 Feb 2016 01:42:07 +0000 (17:42 -0800)]
Customize x86inc.asm for libvpx

Use settings from vpx_config.asm

Prefix functions with vpx.

Change-Id: I71b4a89eaecf51fa56a07d9927081d50798a9042

8 years agoUpdate x86inc.asm from x264
Johann [Thu, 18 Feb 2016 01:37:24 +0000 (17:37 -0800)]
Update x86inc.asm from x264

Revision d23d18655249944c1ca894b451e2c82c7a584c62
from https://git.videolan.org/x264.git

Change-Id: I841ec8c5ea71935aa364657299c6bba0c8742fc1

8 years agovp8/denoising: add missing alloc check
James Zern [Wed, 17 Feb 2016 22:54:57 +0000 (14:54 -0800)]
vp8/denoising: add missing alloc check

Change-Id: I51ede902cd9d7bafa41f7caa3f9adf77f9df5903

8 years agovp10/resize: add missing alloc checks
James Zern [Wed, 17 Feb 2016 22:27:51 +0000 (14:27 -0800)]
vp10/resize: add missing alloc checks

Change-Id: I96669ddbcdda508a295c68ecf103d10f364e0ad5

8 years agovp9_svc_layercontext: add missing alloc checks
James Zern [Wed, 17 Feb 2016 20:41:37 +0000 (12:41 -0800)]
vp9_svc_layercontext: add missing alloc checks

Change-Id: Ieb305c178c64b3864f0e8fc1a13c29799e1ae8f5

8 years agovp9_resize: add missing alloc checks
James Zern [Wed, 17 Feb 2016 20:41:08 +0000 (12:41 -0800)]
vp9_resize: add missing alloc checks

Change-Id: I87ef6dec7cd2e8f9a40135e5ca11b13520ebd6d7

8 years agoBetter workaround for Bug 1089.
Alex Converse [Wed, 17 Feb 2016 21:39:44 +0000 (13:39 -0800)]
Better workaround for Bug 1089.

Don't initialize first pass costs for a number of symbols where first
pass probabilities aren't initialized.

This brings a 1.22x first pass speedup.

https://bugs.chromium.org/p/webm/issues/detail?id=1089

Change-Id: I97438c357bd88f52f5a15c697031cf0c3cc8f510

8 years agovp10/encoder: add missing alloc checks
James Zern [Wed, 17 Feb 2016 22:27:23 +0000 (14:27 -0800)]
vp10/encoder: add missing alloc checks

Change-Id: I5f81250d054bfd1cc69308a491b8fd21b77e4ee1

8 years agovp10/decoder,resize_mv_buffer: add missing alloc check
James Zern [Wed, 17 Feb 2016 22:26:16 +0000 (14:26 -0800)]
vp10/decoder,resize_mv_buffer: add missing alloc check

Change-Id: I8eef989847fcf3c4b9a16b02db477e1007625145

8 years agovp10_cyclic_refresh_alloc: correct cleanup on error
James Zern [Wed, 17 Feb 2016 22:25:41 +0000 (14:25 -0800)]
vp10_cyclic_refresh_alloc: correct cleanup on error

previously only the CYCLIC_REFRESH allocation was being freed

Change-Id: I600eb496ec4b62accf1a6483c8170eabb046787d

8 years agovp9_encoder: add missing alloc checks
James Zern [Wed, 17 Feb 2016 20:39:39 +0000 (12:39 -0800)]
vp9_encoder: add missing alloc checks

Change-Id: I08939ab22446b86fae884daaebd1f14c49b21897

8 years agovp9/decoder,resize_mv_buffer: add missing alloc check
James Zern [Wed, 17 Feb 2016 20:38:40 +0000 (12:38 -0800)]
vp9/decoder,resize_mv_buffer: add missing alloc check

Change-Id: I3bc92175b07d5ef495bd75128638c340f3c2238f

8 years agovp9_cyclic_refresh_alloc: correct cleanup on error
James Zern [Wed, 17 Feb 2016 20:36:49 +0000 (12:36 -0800)]
vp9_cyclic_refresh_alloc: correct cleanup on error

previously only the CYCLIC_REFRESH allocation was being freed

Change-Id: I6e1783d077c5ca83c8d62ea9642f1fb03f2e5bf3

8 years agovp8-denoiser: Update some denoiser thresholds.
Marco [Tue, 16 Feb 2016 21:15:03 +0000 (13:15 -0800)]
vp8-denoiser: Update some denoiser thresholds.

Change-Id: I67090d72c0fefd3105ac380415249599e053d3bd

8 years agolpf_8_test: remove unneeded function wrapper
James Zern [Sat, 13 Feb 2016 19:05:24 +0000 (11:05 -0800)]
lpf_8_test: remove unneeded function wrapper

the count parameter has been removed from all loopfilter functions

Change-Id: I87ba72006b59c65c46ca40bcb1c29171dfe0598a

8 years agoremove loopfilter 'count' param TODOs
James Zern [Sat, 13 Feb 2016 02:17:54 +0000 (18:17 -0800)]
remove loopfilter 'count' param TODOs

Change-Id: I25ce7314372ce2f521526ea7864ffc4ab62e4519

8 years agosplit vpx_highbd_lpf_horizontal_16 in two
James Zern [Sat, 13 Feb 2016 02:12:57 +0000 (18:12 -0800)]
split vpx_highbd_lpf_horizontal_16 in two

replace with vpx_highbd_lpf_horizontal_edge_16 and
vpx_highbd_lpf_horizontal_edge_8 to avoid passing a count parameter

Change-Id: I551f8cec0fce57032cb2652584bb802e2248644d

8 years agosplit vpx_lpf_horizontal_16 in two
James Zern [Sat, 13 Feb 2016 01:42:34 +0000 (17:42 -0800)]
split vpx_lpf_horizontal_16 in two

replace with vpx_lpf_horizontal_edge_16 and vpx_lpf_horizontal_edge_8 to
avoid passing a count parameter

Change-Id: I848c95c02a3c6ebaa6c2bdf0983dce05cd645271

8 years agovpx_highbd_lpf_horizontal_4: remove unused count param
James Zern [Fri, 12 Feb 2016 04:59:39 +0000 (20:59 -0800)]
vpx_highbd_lpf_horizontal_4: remove unused count param

Change-Id: I655a771e1b1a8753be5669ef9348a312ba6cfdbc

8 years agovpx_highbd_lpf_horizontal_8: remove unused count param
James Zern [Fri, 12 Feb 2016 04:54:16 +0000 (20:54 -0800)]
vpx_highbd_lpf_horizontal_8: remove unused count param

Change-Id: Iaca71ea3796115d4c2d43563b4e6f3914e21f1bf

8 years agovpx_highbd_lpf_vertical_4: remove unused count param
James Zern [Fri, 12 Feb 2016 04:50:42 +0000 (20:50 -0800)]
vpx_highbd_lpf_vertical_4: remove unused count param

Change-Id: Ic6da723c5cf3cd8127db1f476c3e46ea134cb774