Basilisk-Dev
b860c5fe95
Issue #2332 - Update to libvpx 1.6.1
...
Backport of Bugzilla 1223692 and 1331498
2023-10-06 09:10:57 +08:00
roytam1
7a3845abaf
Merge remote-tracking branch 'origin/tracking' into custom
2023-09-29 10:05:50 +08:00
Basilisk-Dev
bb1974cebc
Cherry-pick upstream libvpx fix
...
Backport of https://hg.mozilla.org/releases/mozilla-esr115/rev/5241232a3292943bd59ff1704eab60fee3cbc9d1
Addresses CVE-2023-5217
2023-09-29 09:42:18 +08:00
Basilisk-Dev
0e0bd83fe2
Issue #2058 - apply additional patches from dbsoft for OS defines
2023-09-29 09:28:49 +08:00
roytam1
c118b6d794
ffvpx: we always build fft, remove conditional building from moz.build files
2023-09-26 16:52:00 +08:00
roytam1
1205f246e9
Merge remote-tracking branch 'origin/tracking' into custom
2023-09-26 16:35:46 +08:00
trav90
fea628f587
Issue #2311 - Part 6 - Remove now unused libav source files
2023-09-26 16:35:26 +08:00
roytam1
8d23342d11
Merge remote-tracking branch 'origin/tracking' into custom
2023-09-26 16:23:45 +08:00
trav90
4610b9fd55
Issue #2311 - Part 1 - Add ffmpeg's own floating point real FFT functions to ffvpx
...
Instead of using Libav's.
2023-09-26 16:18:22 +08:00
Vincent Rabaud
293fa3120b
[libwebp] Never send VP8_STATUS_SUSPENDED back in non-incremental.
...
Add the incremental_ member to the internal VP8Decoder,
to mimic VP8LDecoder
Change-Id: I34842e473bb566f51c18fe42afda63e66c0185b6
2023-09-20 09:38:33 +08:00
Masahiro Hanada
e5aed07ec1
[libwebp] Fix next is invalid pointer when WebPSafeMalloc fails
...
When WebPSafeMalloc fails on VP8LHuffmanTablesAllocate,
next is not initialized to NULL.
VP8LHuffmanTablesDeallocate uses next to know the following nodes.
A patch fixes this issue.
Change-Id: I144ae84cd97e5bca227018ef1afa95361267902c
2023-09-20 09:37:33 +08:00
Moonchild
20b69d7ddc
Issue #2309 - Cherry-pick upstream libwebp fix.
...
Backport of: https://chromium.googlesource.com/webm/libwebp.git/+/2af26267cdfcb63a88e5c74a85927a12d6ca1d76
Resolves #2309
2023-09-14 10:23:13 +08:00
Vincent Rabaud
3b44f9850e
[libwebp] Fix invalid incremental decoding check.
...
The first condition is only necessary if we have not read enough
(enough being defined by src_last, not src_end which is the end
of the image).
The second condition now fits the comment below: "if not
incremental, and we are past the end of buffer".
BUG=oss-fuzz:62136
Change-Id: I0700f67c62db8e1c02c2e429a069a71e606a5e4f
2023-09-12 21:43:09 +08:00
Vincent Rabaud
61de658e45
[libwebp] Fix OOB write in BuildHuffmanTable.
...
First, BuildHuffmanTable is called to check if the data is valid.
If it is and the table is not big enough, more memory is allocated.
This will make sure that valid (but unoptimized because of unbalanced
codes) streams are still decodable.
Bug: chromium:1479274
Change-Id: I31c36dbf3aa78d35ecf38706b50464fd3d375741
2023-09-12 21:42:13 +08:00
roytam1
6f9d5a9385
ffvpx: update ffmpeg to 3.4.13 ( c721020755 )
2023-08-28 07:48:28 +08:00
roytam1
f1d0742012
tremor: update to 91decb5f1b
...
since upstream(i.e. xiph) doesn't update it since 2018.
locally added NOMINMAX guard as well.
2023-08-27 18:22:24 +08:00
roytam1
df798cf69e
speex-resampler: update to git head (i.e. rev 738e179), also update patch files, update.sh, simd_detect.* and remove obsolete patches and headers.
...
based on firefox-82.0.3 media/libspeex_resampler tree.
2023-08-20 22:38:06 +08:00
roytam1
0f1c046a14
cubeb: disable wasapi backend when '--enable-int-audio-sample' is specified, since it can handle float32 sample only in our current cubeb library.
2023-08-19 17:32:12 +08:00
roytam1
ef5e4f06e0
add configure option '--enable-int-audio-sample' for speed and audio driver compatibility, and fixups in exports and webrtc.
2023-08-19 06:41:26 +08:00
roytam1
4e8d205102
Merge remote-tracking branch 'origin/tracking' into custom
2023-08-17 09:19:05 +08:00
Brian Smith
013f130eef
No Issue - Fix building WebRTC/Basilisk with --enable-debug A bogus MOZ_ASSERT was added at some point, this should make it work.
2023-08-17 09:10:38 +08:00
roytam1
4fae28f059
Merge remote-tracking branch 'origin/tracking' into custom
2023-06-26 10:38:35 +08:00
FranklinDM
80c2062843
Issue #2061 - Follow-up: Silence compiler warnings for libjxl (MSVC)
2023-06-24 12:22:46 +08:00
FranklinDM
84dc161d55
Issue #2061 - Follow-up: Silence compiler warnings for libjxl
2023-06-24 12:22:33 +08:00
Job Bautista
743d1f66d2
Issue #2061 Follow-up: Fix moz.build to compile on all platforms.
...
Remove stuff from /extra/ and the JPEG transcoding file from compilation, as
we don't need them.
A disable define for box decoding is also added, but currently commented out as
there's no need to disable the function right now.
Co-authored-by: Moonchild <moonchild@palemoon.org>
2023-06-24 12:22:08 +08:00
Job Bautista
b18114517b
Issue #2061 Follow-up: Export jxl/version.h.
...
Fixes building on Windows.
I also decided to move the preprocessed jxl/version.h to our include/jxl
instead of relying on moz.build in preprocessing the file. Future me
should note to not forget to update the version number at that new file
2023-06-24 12:21:54 +08:00
Job Bautista
40f27cd35b
Issue #1769 - Part 1 Follow-up: Use standard [[deprecated]] for JXL_DEPRECATED.
...
This fixes building with MSVC for Windows.
2023-06-24 12:17:33 +08:00
Job Bautista
00a5d64018
Issue #1769 - Part 1 Follow-up: Tidy up moz.build for highway and libjxl
...
highway upstream added a new header file to be included in highway.h after
0.15.0 it seems, so we have to account for that in moz.build.
Also brought back allowing compiler warnings for libjxl and highway.
Apparently the equivalent of AllowCompilerWarnings() is a bool whose name
is UPPERCASE and uses under_scores instead of CamelCase.
2023-06-24 12:17:02 +08:00
Job Bautista
7983f5d8ba
Issue #1769 - Part 1: Add vendored libjxl and highway sources.
...
Used old-configure to add the build option for enabling JPEG-XL support.
Highway version: 1.0.2
libjxl version: 0.7.0
2023-06-24 12:16:12 +08:00
roytam1
725b27a0f5
Merge remote-tracking branch 'origin/tracking' into custom
2023-05-05 23:02:05 +08:00
Moonchild
2f117eecaa
Issue #1656 - Remove more vim control lines.
...
Vim control lines were re-introduced or not entirely cleaned up.
This nukes them again.
Removing from embedding, extensions, gfx, hal, ipc, layout, mailnews,
media and memory. More to come.
2023-05-05 22:57:19 +08:00
roytam1
48247ca160
Merge remote-tracking branch 'origin/tracking' into custom
2023-04-07 08:12:29 +08:00
Brian Smith
3c3456cc61
No Issue - Fix FreeBSD build failure with WebRTC enabled.
2023-04-07 07:06:48 +08:00
roytam1
cc4ac7a04b
Merge remote-tracking branch 'origin/tracking' into custom
2023-03-28 13:30:04 +08:00
Moonchild
371d7cf05d
Issue #61 - Reinstate buildability with shared gkmedias dll
...
This fully works for splitting gkmedias.dll back out from xul with one exception
which is Skia throwing undefined externals when linking gkmedias.
2023-03-28 12:07:03 +08:00
roytam1
39d69840bf
Merge remote-tracking branch 'origin/tracking' into custom
2023-03-28 09:30:21 +08:00
Timothy Valldeperas
1788589caa
Issue #2175 - Fix build bustage in WebRTC.
2023-03-28 09:28:05 +08:00
roytam1
7c0ddca067
Merge remote-tracking branch 'origin/tracking' into custom
2023-02-27 12:15:12 +08:00
u3shit
a4d1f57b9e
Issue #2101 - Part 3: Update libyuv
...
Updated to version 1861, git revision 88b050f337cc0ca2a51800fe7bf4737222c87344 from
https://chromium.googlesource.com/libyuv/libyuv/
2023-02-27 12:08:54 +08:00
u3shit
42f3296899
Issue #2101 - Part 2: Use stdint.h types instead of uint8 and friends
...
Required for upcoming libyuv update
2023-02-27 12:06:38 +08:00
roytam1
92cf687331
Merge remote-tracking branch 'origin/tracking' into custom
2022-09-09 10:31:15 +08:00
Moonchild
42b9149fbc
No Issue - prevent build issue in MSVC due to libaom SIMD inlining.
2022-09-09 10:13:31 +08:00
roytam1
e235eb81c6
Merge remote-tracking branch 'origin/tracking' into custom
2022-09-01 10:29:38 +08:00
Brian Smith
064308ec8a
No Issue - Fix building with WebRTC enabled on non-Intel Macs. int3 is Intel only, so don't use it on ARM, use __builtin_trap() instead.
2022-09-01 10:20:16 +08:00
Basilisk-Dev
b4c5ebf00a
Issue #1991 - backport Mozilla bug 1266667
2022-09-01 10:18:39 +08:00
Basilisk-Dev
2dc4713d14
Issue #1991 - Support TURN TLS Support in WebRTC Backport of Mozilla bug 1056934
2022-09-01 10:18:07 +08:00
roytam1
1822f2031e
Merge remote-tracking branch 'origin/tracking' into custom
2022-07-30 08:49:22 +08:00
Jeremy Andrews
dca7d2ff62
Issue #1962 - Follow-up: Fix 32-bit build and remove unused clang-cl codepath.
2022-07-30 08:43:38 +08:00
Job Bautista
2a1f9e3ef3
Issue #1962 - Follow-up: Fix build issues on Windows.
...
Do not pass -Wno-type-limits to MSVC.
Restore MSVC check for x86_vc
2022-07-30 08:43:38 +08:00
Job Bautista
be2516a091
Issue #1962 - Update libtheora.
...
Removed some obsolete patches that were either backports from newer
svn revisions, or a fix for older, non-applicable assemblers.
Update our own README to account for upstream's migration to git.
I didn't remove the bug 703135 patch as it's for MSVC it seems, and
we still use MSVC for Windows.
Also deleted some unneeded upstream code deleted by Mozilla as well.
2022-07-30 08:43:38 +08:00