Граф коммитов

5631 Коммитов

Автор SHA1 Сообщение Дата
Noemi Erli 8d8df3ddfe Merge mozilla-central to mozilla-autoland. r=merge a=merge CLOSED TREE 2017-11-10 12:43:53 +02:00
Alfredo.Yang b4d31b83be Bug 1415807 - remove 'chan' box becuase it could exist with other codec types. r=kinetik
MozReview-Commit-ID: EGjjIZQHgYO

--HG--
extra : rebase_source : 8ebcd35399db292996e09dd1b458313420f4573e
2017-11-10 09:30:30 +08:00
Sebastian Hengst 1b0413a887 merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-11-09 11:53:05 +02:00
Ralph Giles 7138888244 Bug 1415446 - Update to libogg 1.3.3. r=kinetik
Update our in-tree copy of libogg to the latest upstream release.

This fixes an issue handling corrupt streams when packets are
continued between framing pages, along with some minor portability
fixes.

MozReview-Commit-ID: 3Vixrru4gLV

--HG--
extra : rebase_source : be30a403c32ec777c57ca95fcc642abf875188ae
2017-11-08 08:49:05 -08:00
Ted Mielczarek 33c2d96bbf bug 1256010 - Remove media/openmax_dl/dl/Makefile.in. r=nalexander
MozReview-Commit-ID: H30bGAkF0h9

--HG--
extra : rebase_source : 49d80c82669cfbbfc8923e42fde66bb73c8e828d
2017-11-08 10:57:32 -08:00
Jan Beich 8821d0ee0f Bug 1414440 - Always build libyuv x86 optimizations with Clang. r=sotaro
SSE2 isn't enabled by default on BSD x86 systems which ends up disabling
SIMD-optimized routines in libyuv. As Clang can build the code fine without
-msse limit the requirement to GCC.

https://github.com/llvm-mirror/clang/blob/6fc97e7c1cf4/lib/Driver/ToolChains/Arch/X86.cpp#L98

MozReview-Commit-ID: BaVAbEpkoHj

--HG--
extra : rebase_source : d32d55c09f34ad2d8d9e0d275167b576c9070e65
2017-11-03 23:12:19 +00:00
Narcis Beleuzu 218e1676cb Merge inbound to mozilla-central r=merge a=merge 2017-11-08 12:51:09 +02:00
Alfredo.Yang 6816c396dc Bug 1393045 - support QT AudioSampleEntry v2. r=kinetik
MozReview-Commit-ID: GchJJBrdKYm

--HG--
extra : rebase_source : a74d0c4a944802e1905c6e16d052d2675322fc3e
2017-11-08 09:21:58 +08:00
Matthew Gregan f26c326098 Bug 1409904 - Convert error! logging to warn! to avoid spurious stderr spamming from audioipc. r=kamidphish 2017-11-08 16:20:48 +13:00
Margareta Eliza Balazs 130574a8e2 Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-11-08 00:09:29 +02:00
Randall Barker a61eb9e8d3 Bug 1414994 - Set CONFIG_LINUX_PERF in media/ffvpx/config_android32.h to 0 to fix Android builds on MacOS r=jya
MozReview-Commit-ID: 2wkqm8C2uJ6
2017-11-07 12:47:30 -08:00
Alfredo.Yang 4e9d007f90 Bug 1413076 - return other kind of error in addition to OOM. r=jya
MozReview-Commit-ID: CpRF1Kr5Z2c

--HG--
extra : rebase_source : 56dbc1926d5e051ad5261d4bd495c9fbe5c26833
2017-10-31 10:13:51 +08:00
Alfredo.Yang 38793a1060 Bug 1414742 - logging BufferReader error only when enabling mozlog in MP4Metadata. r=kinetik
MozReview-Commit-ID: z69MJKQV5y

--HG--
extra : rebase_source : 36da5aa42e65320c147cb4f1887d9e2569df1726
2017-11-06 16:21:19 +08:00
Alfredo.Yang 6a9a8c409a Bug 1413702 - avoid dividing by zero. r=kinetik
MozReview-Commit-ID: 38ZdC9udcH1

--HG--
extra : rebase_source : 78f784be1cad741ce84b464c7537af2e15ba68c9
2017-11-06 17:26:09 +08:00
Chris Pearce f231fe980b Bug 1414991 - Unified build fixes in media. r=gerald
MozReview-Commit-ID: KjLeQMSxOfO

--HG--
extra : rebase_source : 37b7222bfbadc0836acdeee19ebd82676872b4ea
2017-11-07 12:57:34 +13:00
Jean-Yves Avenard f49e01980d Bug 1414596 - P3. Re-generate config_*.{h,asm}. r=gerald
MozReview-Commit-ID: 2INNZuMs1y8

--HG--
extra : rebase_source : a2d539f151e90a9b1299b6ea0f895a9d8af3bdcd
2017-11-06 14:30:44 +01:00
Jean-Yves Avenard 420718da1b Bug 1414596 - P1. Re-enable assembly optimized code. r=gerald
It was incorrectly disabled during the last resync.

MozReview-Commit-ID: IP0T4Aq5Q2q

--HG--
extra : rebase_source : 77b3c792ddabfc5536b8c680010d0438a22699be
2017-11-06 13:56:16 +01:00
Jean-Yves Avenard ee1feb36a7 Bug 1412558 - P2. Disable ffvp8 and ffvp9 decoders on Unixes 32 bits. r=mshal
The system ffmpeg will be used instead or libvpx if not found.

MozReview-Commit-ID: GX5WWPOhPq9

--HG--
extra : rebase_source : 3eec2ee1bc3b66d88653b913d6d1b3ad1a5d5acd
2017-11-06 17:57:48 +01:00
Jean-Yves Avenard b6b4f5d024 Bug 1412558 - P1. Don't export some unused symbols. r=gerald
MozReview-Commit-ID: 8ckJEYseCaS

--HG--
extra : rebase_source : a0d8b3f4a8942b28d0f9208079efc87c4ec62de4
2017-11-06 18:22:43 +01:00
Sylvestre Ledru 3465611f71 Bug 1414628 - ConfigureCodec: Remove private field 'mHardwareH264Enabled' r=dminor
MozReview-Commit-ID: 83U02hqgW6d

--HG--
extra : rebase_source : 5baf00d2a8a3ad239981bb1774743980e3dbc0a6
2017-11-05 16:56:19 +01:00
JW Wang 2e17f2f227 Bug 1414213. P2 - don't continue reading if reader.Read(5) failed. r=jya
MozReview-Commit-ID: 1vNbACa9Vpv

--HG--
extra : rebase_source : 099d2ea1a704e6b2b710b80a273ab9f9d3e3257e
2017-11-06 11:24:16 +08:00
JW Wang e75848012d Bug 1414213. P1 - H264::NumSPS() should return 0 if aExtraData is empty. r=jya
MozReview-Commit-ID: JTzEqYt9mQr

--HG--
extra : rebase_source : 660d93f8088ae3d01ba23c74ee6deef7a0cb34aa
extra : source : 9f971ae67cecbd4d040881b3ed0b1752b6a6e04d
2017-11-03 17:40:32 +08:00
Michael Froman 033ed8ae3a Bug 1415249 - remove unused variables introduced in Bug 1408218. r=drno
Two variables, contains_mac_based_ipv6 and contains_teredo_ipv6, were
added that are set but never used.  This will cause compiler warnings
issues in the future.

MozReview-Commit-ID: C5ZReH94RpM

--HG--
extra : rebase_source : 50e06da3c093a118151d840b7d25a979afce6321
2017-11-07 09:28:47 -06:00
Ralph Giles 05817d3bd3 Bug 1413734 - av1: fix build issues. r=kinetik
This revision of libaom has some conflicts with our vendor script
and build system. A number of new .asm files have the same basename
as .c files, which our build system cannot handle.

To work around this, I ran `./mach vendor aom` with the check for
duplicate filenames disabled, then manually renamed the conflicting
files in the filesystem and sources.mozbuild.

Also add av1_convolve_scale_sse4.c to sources.mozbuild manually.
This is needed by the build but for some reason isn't picked up
by generate_sources_mozbuild.sh.

MozReview-Commit-ID: 2iBo4kSBz1G

--HG--
rename : third_party/aom/aom_dsp/arm/idct16x16_1_add_neon.asm => third_party/aom/aom_dsp/arm/idct16x16_1_add_neon_asm.asm
rename : third_party/aom/aom_dsp/arm/idct16x16_add_neon.asm => third_party/aom/aom_dsp/arm/idct16x16_add_neon_asm.asm
rename : third_party/aom/aom_dsp/arm/idct32x32_1_add_neon.asm => third_party/aom/aom_dsp/arm/idct32x32_1_add_neon_asm.asm
rename : third_party/aom/aom_dsp/arm/idct32x32_add_neon.asm => third_party/aom/aom_dsp/arm/idct32x32_add_neon_asm.asm
rename : third_party/aom/aom_dsp/arm/idct4x4_1_add_neon.asm => third_party/aom/aom_dsp/arm/idct4x4_1_add_neon_asm.asm
rename : third_party/aom/aom_dsp/arm/idct4x4_add_neon.asm => third_party/aom/aom_dsp/arm/idct4x4_add_neon_asm.asm
rename : third_party/aom/aom_dsp/arm/idct8x8_1_add_neon.asm => third_party/aom/aom_dsp/arm/idct8x8_1_add_neon_asm.asm
rename : third_party/aom/aom_dsp/arm/idct8x8_add_neon.asm => third_party/aom/aom_dsp/arm/idct8x8_add_neon_asm.asm
rename : third_party/aom/aom_dsp/arm/loopfilter_16_neon.asm => third_party/aom/aom_dsp/arm/loopfilter_16_neon_asm.asm
rename : third_party/aom/aom_dsp/arm/loopfilter_4_neon.asm => third_party/aom/aom_dsp/arm/loopfilter_4_neon_asm.asm
rename : third_party/aom/aom_dsp/arm/loopfilter_8_neon.asm => third_party/aom/aom_dsp/arm/loopfilter_8_neon_asm.asm
rename : third_party/aom/aom_dsp/x86/highbd_intrapred_sse2.asm => third_party/aom/aom_dsp/x86/highbd_intrapred_sse2_asm.asm
rename : third_party/aom/aom_dsp/x86/intrapred_sse2.asm => third_party/aom/aom_dsp/x86/intrapred_sse2_asm.asm
rename : third_party/aom/aom_dsp/x86/intrapred_ssse3.asm => third_party/aom/aom_dsp/x86/intrapred_ssse3_asm.asm
extra : rebase_source : 7bf598ac1a925e16e42301839376a963836ae182
2017-11-01 15:49:14 -07:00
Ralph Giles 92f3d837b2 Bug 1413734 - av1: Update decoder library. r=kinetik
Update to upstream commit id e87fb2378f01103d5d6e477a4ef6892dc714e614
from a couple of weeks ago to pick up changes.

MozReview-Commit-ID: H7H69A7qFXD

--HG--
extra : rebase_source : dee676da15b65e4eea612d20529c4fb312bbddfb
2017-11-01 15:36:09 -07:00
Jean-Yves Avenard 2f8b62c59a Bug 1295886 - P16. Enable FLAC C decoder on aarch64 machines. r=mshal
MozReview-Commit-ID: 9i3AaG5CGex

--HG--
extra : rebase_source : 2e6cc87d2e1629d5b44fd67627675c4460201023
2017-11-02 10:51:22 +01:00
Jean-Yves Avenard dae7070b4a Bug 1295886 - P14. Add arm neon and vfp optimized methods to ffmpeg. r=mshal
MozReview-Commit-ID: KMUZoDWoisi

--HG--
extra : rebase_source : a08eae842680b9d475bfc0afd2d569533dba676b
2017-11-02 01:48:00 +01:00
Jean-Yves Avenard 7905dd9c5e Bug 1295886 - P13. Disable FAST_CLZ on Windows. r=gerald
It may not be supported on all CPUs.

See
https://chromium-review.googlesource.com/c/chromium/third_party/ffmpeg/+/344671

MozReview-Commit-ID: 643jBtSS1Fl

--HG--
extra : rebase_source : cdac3d41174b0c2ca99b6e78968577d8750213ea
2017-11-01 21:33:24 +01:00
Jean-Yves Avenard f65bf257be Bug 1295886 - P12. Have a generic C-only FLAC decoder. r=gerald
MozReview-Commit-ID: C6A9YNaZBvZ

--HG--
extra : rebase_source : 635b1c8286078140463e08ca44588c28b50ca993
2017-11-01 21:17:40 +01:00
Jean-Yves Avenard 88e4dfa3e3 Bug 1295886 - P11. Enable FFmpeg small mode. r=gerald
This mostly removes static strings declaration, replacing them with null pointers.

It does cause to switch to algorithms that are more geared toward space saving than speed gain. However, those are mostly in hash calculations, which the FLAC decoder doesn't use.

MozReview-Commit-ID: 6Kl6xxlBOnw

--HG--
extra : rebase_source : 051ac58cd1ed3b617684cda0bd4a93687bbc9924
2017-11-01 19:31:12 +01:00
Jean-Yves Avenard 3f07325414 Bug 1295886 - P10. Add a FLAC only option to ffvpx. r=gerald
Remove the VP8 and VP9 decoder and the subsequently unused functions.

This drops the size to libmozavcodec to around 1MB down from 4MB.

MozReview-Commit-ID: Ge57fauG35L

--HG--
extra : rebase_source : 3f667d7bf89036e9b059727d846af2504ce488b3
2017-11-01 19:01:59 +01:00
Jean-Yves Avenard 391ca166f1 Bug 1295886 - P5. Add flac support on Android. r=gerald
For now this is a C decoder only and FFmpeg isn't optimised to only decode flac (both vp8 and vp9 C decoders code is included, however they aren't enabled).

MozReview-Commit-ID: 7ulwvJDJqVg

--HG--
extra : rebase_source : 7090eee32ba394224ef8c3c1c31abf1543b69975
2017-10-31 14:48:04 +01:00
Jean-Yves Avenard 9a1bda4e02 Bug 1295886 - P4. Ensure HAVE_STDATOMIC_H is properly defined. r=gerald
MozReview-Commit-ID: GDeob2KCAcq

--HG--
extra : rebase_source : 7986205492a16c511670178dfbcc3789119517d8
2017-10-31 14:43:11 +01:00
Jean-Yves Avenard 9212649b5a Bug 1295886 - P3. Remove darwin 32 bits support. r=gerald
OS X 32 bits is no longer supported.

MozReview-Commit-ID: 2SFxDUeQvpB

--HG--
extra : rebase_source : ba68dc79483c2c0191b1168520afbb36f7502418
2017-10-31 13:45:44 +01:00
Jean-Yves Avenard 3252b06662 Bug 1295886 - P2. Extract FFmpeg BSF config options. r=gerald
Will simplify future resync.

MozReview-Commit-ID: CwkIFKYvWsL

--HG--
extra : rebase_source : 8d40fb7c080f087aa076ada231d3556adee615f9
2017-10-31 13:38:23 +01:00
Jean-Yves Avenard 85c82c1a4b Bug 1295886 - P1. Remove unused flac parser. r=gerald
All the flac parser jobs are done by FlacDemuxer

MozReview-Commit-ID: L7VZG64gi52

--HG--
extra : rebase_source : 31cca110abd9f049923bf9d579cb2781ad38bedf
2017-10-30 17:36:39 +01:00
Michael Froman 7eb5cd2f86 Bug 1413709 - add tests to detect improper ice restart by answer. r=bwc
Adding tests that would have shown the issue fixed in Bug 1405940.
If the answer during a renegotiation has modified ICE credentials,
it should cause an error.  These tests check for that error.

MozReview-Commit-ID: 9u8GGpslDdK

--HG--
extra : rebase_source : 6b204cefa96e95abd61d9a57ddd643dd81a41254
2017-11-01 11:56:35 -05:00
Jean-Yves Avenard 96d64e1c44 Bug 1392961 - Add preference to make VP9 the preferred video codec. r=jesup
Behaviour is controlled through the media.navigator.video.vp9_preferred preference.

MozReview-Commit-ID: J06ArFYNmTk

--HG--
extra : rebase_source : a25bd4783fde0acf8291ee440745a619d3fa7db8
2017-10-19 15:18:51 +02:00
Tom Prince e1f007efbe Bug 1413257: Allow disabling ffvpx's AVX2 support on linux64 for Thunderbird's buildbot; r=jya,rillian
MozReview-Commit-ID: 6USzO1GE7dJ

--HG--
extra : rebase_source : 4a25c5e7c1cbe7bb063f615accf6563333c48c9c
2017-10-31 12:42:27 -06:00
Sebastian Hengst 4ff29d14f8 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: GSDYk9wLOAM

--HG--
rename : browser/base/content/test/general/browser_bug561636.js => browser/modules/test/browser/formValidation/browser_form_validation.js
rename : browser/base/content/test/general/browser_bug595507.js => browser/modules/test/browser/formValidation/browser_validation_iframe.js
rename : browser/modules/test/browser/browser_bug1319078.js => browser/modules/test/browser/formValidation/browser_validation_invisible.js
2017-11-01 22:55:12 +01:00
Jim Chen ec08814aaa Bug 1406168 - 2. Remove AndroidJNIWrapper; r=snorp
Remove AndroidJNIWrapper. It was primarily used by JNI.jsm and WebRTC.
Usages in WebRTC are replaced with equivalent uses of JNI templates.

MozReview-Commit-ID: DPSeMOtH2wF
2017-11-01 14:48:48 -04:00
Alfredo.Yang 0dd9f867bb Bug 1407833 - update rust mp4 parser for add overflow. r=kinetik
MozReview-Commit-ID: 8nGLWcXmGCr

--HG--
extra : rebase_source : 36452e27c7a6d9488164defa03f7eea281ddeef3
2017-11-01 14:48:15 +08:00
Alfredo.Yang 3d80dc7ec4 Bug 1412216 - remove unused functions in BufferReader. r=kinetik
MozReview-Commit-ID: 8y6CCe1mleo

--HG--
extra : rebase_source : 99a75aa64e99d30b431c576b8e3b4921028df70a
2017-10-27 15:09:36 +08:00
Alfredo.Yang 952d71b21f Bug 1412216 - remove ByteReader. r=kinetik
MozReview-Commit-ID: 26Pf8GXXoPh

--HG--
extra : rebase_source : f48fe10a9b421968c23d7eb7000b0508cd90537b
2017-10-25 15:42:34 +08:00
Sebastian Hengst f07fc93141 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4PW6ESqLL73
2017-10-30 23:52:23 +01:00
Attila Craciun 76d19aec36 Merge mozilla-central to mozilla-autoland. r=merge a=merge CLOSED TREE.
--HG--
extra : amend_source : 43eb53623fe5390c69e92f322f938eb4c956ca00
2017-10-30 12:24:16 +02:00
Jean-Yves Avenard 7838f76570 Bug 1412339 - Enable AVX2 optimizations on Linux x86_64. r=jwwang
MozReview-Commit-ID: 6mMf93LQeRj

--HG--
extra : rebase_source : 531b88872914e02b6924f53c452a22323002d53a
2017-10-27 16:20:39 +02:00
Nicholas Nethercote 9252435548 Bug 1410794 (attempt 2) - Change some |string| occurrences in nsIPrefBranch.idl to |ACString|. r=erahm.
This makes the code nicer. In particular, it removes many getter_Copies()
calls. The patch also converts a lot of nsCStrings to nsAutoCString, which will
avoid heap allocation in the common case.

The patch also renames PREF_CopyCharPref() as PREF_GetCStringPref(), because
it's actually getting a string, not a char, and that matches the existing
GetCString() and GetDefaultCString() methods. Correspondingly, it also renames
PREF_SetCharPref() as PREF_SetCStringPref().

The |aPrefName| arguments in nsIPrefBranch.idl remain as |string| because they
almost always involve passing in C string literals, and passing "foo" is much
nicer than passing NS_LITERAL_CSTRING("foo").

It's worth noting that early versions of this patch used |AUTF8String| instead
of |ACString|. But it turns out that libpref stores prefs internally as Latin1.
And |ACString| is compatible with Latin1 but |AUTF8String| isn't, because
non-ASCII Latin1 strings are not valid UTF-8!

MozReview-Commit-ID: D3f7a1Vl1oE

--HG--
extra : rebase_source : e6e4b15d6d210cfd93686f96400281f02bd1d06b
2017-10-27 10:30:33 +11:00
Matthew Gregan 880b9d2455 Bug 1411849 - Update media/audioipc to d17a7c09. r=kamidphish 2017-10-30 14:40:09 +13:00
Alfredo.Yang 510e47a924 Bug 1412183 - use BufferReader instead of ByteReader in DecoderData. r=kinetik
MozReview-Commit-ID: AgcOuWn7ouo

--HG--
extra : rebase_source : e2aa46b47e848a8d51dc6e48a58e46db6f669b68
2017-10-25 15:40:24 +08:00