James Zern
6261fcf307
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
2016-02-18 18:56:03 +00:00
James Zern
b6b40d3015
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
2016-02-18 18:53:13 +00:00
James Zern
c8fa9e9d53
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
2016-02-18 18:50:58 +00:00
James Zern
4950dbceaf
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
2016-02-18 18:47:48 +00:00
James Zern
a4b47b89fd
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
2016-02-17 18:45:40 -08:00
Johann
a97c83f7a4
Only use .text sections for aout
...
Also do not specify alignment.
Change-Id: I92d07dcce632ff9380c5dce18f88597414ab60c7
2016-02-17 18:45:40 -08:00
Johann
9679be4bc0
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
2016-02-17 18:45:40 -08:00
Johann
7e065cd573
Copy PIC handling code from x86_abi_support
...
Change-Id: Ia05fe78d2bd29b6aebaf6605719fe8a32528f25c
2016-02-17 18:45:21 -08:00
Johann
71ccd103bd
Set 'private_extern' visibility for macho targets
...
Do not set it when building with 'nasm'
Change-Id: Iff2acf22543f5899f6eefa7624821cc6270a0923
2016-02-17 18:08:13 -08:00
James Zern
02fe3ae907
vp8_dx_iface: add missing alloc checks
...
Change-Id: Id9f4022b0cb4b5d0b3dd8759fd491da4e2ba5cb1
2016-02-17 18:04:23 -08:00
James Zern
61b112b67b
vp8/onyx_if: add missing alloc checks
...
Change-Id: I9b0aa340518f45e16fa9754afd87347aabf968d7
2016-02-17 18:04:14 -08:00
Johann
1be46ef6b5
Expand PIC default to macho64 and respect CONFIG_PIC from libvpx
...
Change-Id: I8df65c6e52141183344ee91a7f94e8f4d5687e2f
2016-02-17 17:56:29 -08:00
Johann
4de9641f1a
Use libvpx defines to set name mangling rules
...
Change-Id: Ie5dbfe73bdb6132047f9ab7d5716714d50befea5
2016-02-17 17:55:18 -08:00
Johann
2d6393a98d
Customize x86inc.asm for libvpx
...
Use settings from vpx_config.asm
Prefix functions with vpx.
Change-Id: I71b4a89eaecf51fa56a07d9927081d50798a9042
2016-02-17 17:42:07 -08:00
Johann
2497356d06
Update x86inc.asm from x264
...
Revision d23d18655249944c1ca894b451e2c82c7a584c62
from https://git.videolan.org/x264.git
Change-Id: I841ec8c5ea71935aa364657299c6bba0c8742fc1
2016-02-17 17:41:21 -08:00
James Zern
a3d23877f6
vp8/denoising: add missing alloc check
...
Change-Id: I51ede902cd9d7bafa41f7caa3f9adf77f9df5903
2016-02-17 16:33:56 -08:00
James Zern
345489c9ec
vp10/resize: add missing alloc checks
...
Change-Id: I96669ddbcdda508a295c68ecf103d10f364e0ad5
2016-02-17 16:13:51 -08:00
James Zern
00a39d6e04
vp9_svc_layercontext: add missing alloc checks
...
Change-Id: Ieb305c178c64b3864f0e8fc1a13c29799e1ae8f5
2016-02-17 16:12:40 -08:00
James Zern
efbab73cc1
vp9_resize: add missing alloc checks
...
Change-Id: I87ef6dec7cd2e8f9a40135e5ca11b13520ebd6d7
2016-02-17 16:12:27 -08:00
Alex Converse
09f9c5d7f9
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
2016-02-17 14:46:26 -08:00
James Zern
7fe96753d7
vp10/encoder: add missing alloc checks
...
Change-Id: I5f81250d054bfd1cc69308a491b8fd21b77e4ee1
2016-02-17 14:36:06 -08:00
James Zern
429d61252d
vp10/decoder,resize_mv_buffer: add missing alloc check
...
Change-Id: I8eef989847fcf3c4b9a16b02db477e1007625145
2016-02-17 14:36:05 -08:00
James Zern
5d233390db
vp10_cyclic_refresh_alloc: correct cleanup on error
...
previously only the CYCLIC_REFRESH allocation was being freed
Change-Id: I600eb496ec4b62accf1a6483c8170eabb046787d
2016-02-17 14:36:05 -08:00
James Zern
1710f6507d
vp9_encoder: add missing alloc checks
...
Change-Id: I08939ab22446b86fae884daaebd1f14c49b21897
2016-02-17 14:33:38 -08:00
James Zern
ac4aeb5714
vp9/decoder,resize_mv_buffer: add missing alloc check
...
Change-Id: I3bc92175b07d5ef495bd75128638c340f3c2238f
2016-02-17 12:38:40 -08:00
James Zern
7997c68ed4
vp9_cyclic_refresh_alloc: correct cleanup on error
...
previously only the CYCLIC_REFRESH allocation was being freed
Change-Id: I6e1783d077c5ca83c8d62ea9642f1fb03f2e5bf3
2016-02-17 12:36:49 -08:00
Marco
3c0772977b
vp8-denoiser: Update some denoiser thresholds.
...
Change-Id: I67090d72c0fefd3105ac380415249599e053d3bd
2016-02-17 10:38:35 -08:00
James Zern
3ea537c0ee
lpf_8_test: remove unneeded function wrapper
...
the count parameter has been removed from all loopfilter functions
Change-Id: I87ba72006b59c65c46ca40bcb1c29171dfe0598a
2016-02-16 23:14:03 -08:00
James Zern
110d377899
remove loopfilter 'count' param TODOs
...
Change-Id: I25ce7314372ce2f521526ea7864ffc4ab62e4519
2016-02-16 23:14:03 -08:00
James Zern
9b44d9d00f
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
2016-02-16 23:13:58 -08:00
James Zern
1b519fb666
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
2016-02-16 22:57:45 -08:00
James Zern
e7a23d703b
vpx_highbd_lpf_horizontal_4: remove unused count param
...
Change-Id: I655a771e1b1a8753be5669ef9348a312ba6cfdbc
2016-02-16 22:57:45 -08:00
James Zern
5171857329
vpx_highbd_lpf_horizontal_8: remove unused count param
...
Change-Id: Iaca71ea3796115d4c2d43563b4e6f3914e21f1bf
2016-02-16 22:57:44 -08:00
James Zern
3c1019e49d
vpx_highbd_lpf_vertical_4: remove unused count param
...
Change-Id: Ic6da723c5cf3cd8127db1f476c3e46ea134cb774
2016-02-16 22:57:44 -08:00
James Zern
72a9f06ac2
vpx_highbd_lpf_vertical_8: remove unused count param
...
Change-Id: Id16f7259897654831d31642c2d5e0bbe5e13416c
2016-02-16 22:57:44 -08:00
James Zern
b1e97c6a25
vpx_lpf_horizontal_4: remove unused count param
...
Change-Id: Iec7d8eda343991f7d7d46931dca17af23c821d11
2016-02-16 22:57:27 -08:00
James Zern
bd5a5bb561
vpx_lpf_horizontal_8: remove unused count param
...
Change-Id: I48741e167a7b09b7c9ad3bfc1c4b88ef1029ae46
2016-02-16 22:54:40 -08:00
James Zern
fdc977afc6
vp10,encoder: relocate setjmp
...
move to encoder_encode() as vp10_get_compressed_data() allocates data and
would require some modification to make its error return meaningful.
Change-Id: Ia5267c35d16ccd42b6da6d2136402b13e28f9159
2016-02-16 19:33:16 -08:00
James Zern
73f45fcf0b
vp9,encoder: relocate setjmp
...
move to encoder_encode() as vp9_get_compressed_data() allocates data and
would require some modification to make its error return meaningful.
Change-Id: I8ddc390a1441afd0ff937842fa4ad1053c956133
2016-02-16 19:25:54 -08:00
James Zern
b5029a25a8
vp10_cx_iface,encode: remove redundant cpi check
...
this is allocated in init(), a NULL pointer on encode() should be
treated as a failure.
Change-Id: I09c206f088982716fd5acc39949ceb25576313fc
2016-02-16 18:10:30 -08:00
James Zern
0b9925ccec
vp9_cx_iface,encode: remove redundant cpi check
...
this is allocated in init(), a NULL pointer on encode() should be
treated as a failure.
Change-Id: I3f55ea4a98be616bb5ab74d95ce4a3d6262e734a
2016-02-16 18:10:01 -08:00
James Zern
109a47b342
vpx_lpf_vertical_4: remove unused count param
...
Change-Id: I43a191cb3d42e51e7bca266adfa11c6239a8064c
2016-02-16 14:59:00 -08:00
James Zern
37225744db
vpx_lpf_vertical_8: remove unused count param
...
Change-Id: Ic69406da00afb0f06588e8c0deb2b043952b078c
2016-02-16 14:59:00 -08:00
James Zern
47dee375db
lpf_8_test: add missing dspr2 tests
...
Change-Id: I3954ff86ec1965cd6d4eec570c2d1993538d9c11
2016-02-16 14:58:43 -08:00
James Zern
4fec4a8e28
lpf_8_test: add missing vpx_lpf_horizontal_4 tests
...
mmx, msa
Change-Id: Ia9604adcdcc77411f383e081e01a18d232c9d992
2016-02-16 14:58:43 -08:00
James Zern
c3f2c8ad2a
lpf_8_test: add missing vpx_lpf_vertical_4 tests
...
mmx, msa
Change-Id: I113ce0ec144ee673d5dcde4c03fe7670f9f4c369
2016-02-16 14:58:43 -08:00
James Zern
45a7b5ebd7
lpf_8_test: simplify function wrapper generation
...
Change-Id: Ie4d3e80a4e43dd4ada78d073e308e10db4ea3239
2016-02-16 14:58:33 -08:00
Marco
89cc682528
vp9-real-time mode: Fix condition for allowing reference masking.
...
Add frame-level condition for reference masking: under external or
internal dynamic resize, allow for reference masking if none of
the references have been scaled.
Peviously, reference masking was turned off for the stream if dynamic
resize feature was enabled or an external resize event occurred.
reference_masking gives speed up with little/no loss in compression.
For speed 7 on rtc set: encoding time decreases by about 5-7%,
avgPSNR/SSIM goes down ~0.2%.
Change-Id: Ie4444577451ef954414d8fb4b2c99d65cadf1746
2016-02-16 13:10:27 -08:00
James Zern
548889c35a
Merge "Fix tsan error in VP9 sub8x8 intra mode search"
2016-02-16 20:26:42 +00:00
Jingning Han
d642294b1c
Fix tsan error in VP9 sub8x8 intra mode search
...
This commit fixes issue 1141. The issue was triggered in multi-tile
encoding. The change properly saves and restores the block context
information in the real-time mode selection process. It removes
several redundant memcpy operations in sub8x8 intra block mode search.
Change-Id: I35c9ad197f4bd500ec39b5fc833f052f19eee010
2016-02-16 11:24:09 -08:00