Commit graph

290 commits

Author SHA1 Message Date
roytam1
2b0cdc7b62 Merge remote-tracking branch 'origin/tracking' into custom 2024-09-22 20:54:25 +08:00
Nia Alarie
4637e2319c media/libcubeb: Use Sun audio backend also on NetBSD 2024-09-22 20:40:46 +08:00
roytam1
f08dd1422d Merge remote-tracking branch 'origin/tracking' into custom 2023-11-04 11:42:50 +08:00
Brian Smith
cd66a17327 Issue #2354 - Restore ARM32 buildability on Linux. Fix ION breakages due to BigInt changes. Fix breakages from libjpeg, libyuv and libvpx upgrades. Restore ARM(32/64) NEON FPU support in libyuv. 2023-11-04 11:36:56 +08:00
roytam1
bac9ec9a84 Merge remote-tracking branch 'origin/tracking' into custom 2023-10-26 10:55:31 +08:00
Moonchild
48c27934c7 [WebRTC] Give ::Terminated() the same treatment as ::Close_g 2023-10-26 10:54:43 +08:00
roytam1
ce8751185f Merge remote-tracking branch 'origin/tracking' into custom 2023-10-21 11:22:34 +08:00
Basilisk-Dev
9f63203a43 Issue #2332 - Hyphenate rtc stats type as per spec
Backport of https://bugzilla.mozilla.org/show_bug.cgi?id=1322503
2023-10-21 11:03:07 +08:00
roytam1
d6590573ed Merge remote-tracking branch 'origin/tracking' into custom 2023-10-11 11:56:50 +08:00
Basilisk-Dev
580a231706 Issue #2332 - Use only one listener in MediaPipelineTransmit
https://bugzilla.mozilla.org/show_bug.cgi?id=1305949 part 3
2023-10-11 11:52:24 +08:00
roytam1
71c59df1f7 Merge remote-tracking branch 'origin/tracking' into custom 2023-10-06 09:17:27 +08:00
Basilisk-Dev
465ce802d1 Issue #2332 - libvpx upgrade followup part 5
Port commits 39f9ab375b2bfd9e46df9695b78870cf1e9cf3c6 and ed7b08e6089de2dd9a1cee595d9ff7ed1fae919d to new libvpx version
2023-10-06 09:14:26 +08:00
Basilisk-Dev
ee5b062139 Issue #2332 - libvpx upgrade followup part 4
Port commit babeb5c556de6f9686f5cd47133d0c40c07bfc2e to new libvpx version
2023-10-06 09:12:06 +08:00
Basilisk-Dev
fcb078d794 Issue #2332 - libvpx upgrade followup part 3
Port commit d5a2c45aad51e3fcf5f48f8afe8609c1e8726a02 to new libvpx version
2023-10-06 09:11:50 +08:00
Basilisk-Dev
cdc8770f5a Issue #2332 - libvpx upgrade followup part 2
Port commit ca36e991ea55f2d9f78bab558fef10720c9244f0 to new libvpx version
2023-10-06 09:11:34 +08:00
Basilisk-Dev
ed581885f8 Issue #2332 - libvpx upgrade followup part 1
Port commit a8f45aba816b7b5e1bd2bbdb663bdf5f044e2f5d to new libvpx version
2023-10-06 09:11:19 +08:00
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