Commit graph

40 commits

Author SHA1 Message Date
roytam1
c889903081 Merge remote-tracking branch 'origin/tracking' into custom 2023-11-30 10:05:11 +08:00
trav90
b09b3771c6 Issue #2393 - Part 3 - Remove extra copy of YUV buffer on Windows 2023-11-30 09:53:08 +08:00
roytam1
bac9ec9a84 Merge remote-tracking branch 'origin/tracking' into custom 2023-10-26 10:55:31 +08:00
Jeremy Andrews
c0ba3a8d2e Issue #2357 - VPXDecoder does not decode alpha frames.
Another requirement to have transparency in videos. Straight port of Firefox 53 implementation, save for some oddities relating to needing to put uint8_t instead of uint8 in yuv_convert to get this to compile.

Ref: BZ 1321076, 1329104
2023-10-26 10:49:23 +08:00
roytam1
1205f246e9 Merge remote-tracking branch 'origin/tracking' into custom 2023-09-26 16:35:46 +08:00
trav90
0e796b1dcd Issue #2311 - Part 3 - Add accessor for ffvpx real DFT functions 2023-09-26 16:27:19 +08:00
trav90
289020a670 Issue #2311 - Part 2 - Link ffmpeg real DFT functions 2023-09-26 16:26:56 +08:00
roytam1
28f55eb5c4 dom/media: add S16 support code to audio decoders 2023-08-26 07:47:49 +08:00
roytam1
6235ca420d Merge remote-tracking branch 'origin/tracking' into custom 2023-05-04 10:47:54 +08:00
Moonchild
c9b8a576da Issue #1656 - Remove more vim control lines.
Vim control lines were re-introduced or not entirely cleaned up.
This nukes them again.
Removing from dom. More to come.
2023-05-04 10:47:14 +08:00
roytam1
7c0ddca067 Merge remote-tracking branch 'origin/tracking' into custom 2023-02-27 12:15:12 +08:00
u3shit
e59e8c3b2c Issue #2101 - Part 5: Add ColorRange support to video decoders 2023-02-27 12:10:57 +08:00
roytam1
4ef2722f89 Merge remote-tracking branch 'origin/tracking' into custom 2023-02-27 11:09:21 +08:00
u3shit
3e62b1fc9f Issue #2118 - Part 2: Add support for Identity YUVColorSpace
https://hg.mozilla.org/mozilla-central/rev/be342c90755d11551623362f2058c0326f63bbb3
2023-02-27 11:08:35 +08:00
roytam1
92cf687331 Merge remote-tracking branch 'origin/tracking' into custom 2022-09-09 10:31:15 +08:00
Moonchild
60e4e33442 Issue #80 - Re-unify most of DOM 2022-09-09 10:09:40 +08:00
roytam1
866ded0b0a Merge remote-tracking branch 'origin/tracking' into custom 2022-09-07 11:03:19 +08:00
Moonchild
5dfded811d Issue #80 - reinstated unified building for some large chunks of our code.
This should reduce compile complexity saving time and reducing linker stress.
2022-09-07 10:36:23 +08:00
roytam1
fee810585e Merge remote-tracking branch 'origin/tracking' into custom 2022-05-22 06:47:30 +08:00
trav90
5c61382dac Issue #457 - Silence some GCC compiler warnings in FFmpeg code 2022-05-22 06:47:01 +08:00
roytam1
7f068ecce3 Merge remote-tracking branch 'origin/tracking' into custom 2022-05-04 10:14:24 +08:00
Moonchild
009fb3146f Issue #1820 - Part 8: Check bit depth in PDM::Supports. 2022-05-04 10:06:02 +08:00
Brian Smith
13fcc4a046 Issue #1829 - Revert "Issue #1751" 2022-05-04 09:40:24 +08:00
roytam1
2c79eebb23 Merge remote-tracking branch 'origin/master' into custom 2021-05-05 10:32:33 +08:00
Moonchild
2f27335cc4 Issue #1751 -- Remove XP_DARWIN 2021-05-05 10:27:04 +08:00
roytam1
56aaf6a15a Merge remote-tracking branch 'origin/master' into custom 2020-09-25 22:18:48 +08:00
Moonchild
0cd673d720 Issue #1656 - Part 6: Clean up the build files 2020-09-25 22:04:23 +08:00
Roy Tam
1453f13d33 Merge remote-tracking branch 'origin/master' into custom 2020-05-02 09:19:25 +08:00
Moonchild
527ad10c12 Issue #80 - De-unify dom/media part 1 (updated reland)
This de-unifies up to and including dom/media/platforms with the exception of
dom/media/platforms/wmf, because that one throws weird errors in the Win
SDK which don't have a clear cause (yet)
2020-05-02 08:23:45 +08:00
Moonchild
294a1da59b Revert "Issue #80 - De-unify dom/media part 1"
This reverts commit b5b62d841c733dcb62112f3158f1488e670671d6.
2020-05-02 08:23:42 +08:00
Moonchild
094d4730dd Issue #80 - De-unify dom/media part 1
This de-unifies up to and including dom/media/platforms with the exception of
dom/media/platforms/wmf, because that one throws weird errors in the Win
SDK which don't have a clear cause (yet)
2020-05-02 08:23:36 +08:00
Roy Tam
dd094ae552 patch from Sami<samiwieciekto at gmail.com> with pref guard:
Enable skipping loop filter and allow non spec compliant speedup tricks.
to enable, create new boolean pref "media.ffmpeg.skip_loop_filter" and set it to true.
2019-12-30 23:58:56 +08:00
trav90
74ccd45360 [FFmpeg] Don't define AV_CODEC_ID_VPx with libavcodec 58 2019-02-16 00:23:11 +08:00
trav90
5949fc61dc [FFmpeg] Use new decode API with recent FFmpeg version.
In libavcodec 58 and later, the old avcodec_decode_video2 is broken and only return the first visible frame found after a VP9 super-frame.
2019-02-16 00:23:10 +08:00
trav90
ecc55bc615 Add missing includes to FFmpegLibWrapper 2019-02-16 00:16:54 +08:00
trav90
c582c801da [ffmpeg] Always allocate memory to pass extradata
Despite wording of the documentation to the contrary, we can't provide a static pointer to an immutable object.
2019-02-16 00:15:04 +08:00
trav90
d87cc84005 Add support for libavcodec 58/FFmpeg 4.0 2019-02-15 23:55:35 +08:00
trav90
e44a157583 Import FFmpeg 4.0 header files 2019-02-15 23:55:34 +08:00
trav90
aeea23c315 [FFmpeg] Work around a bug with corrupted data
According to FFmpeg documentation, the out parameter is "set to size of parsed buffer or zero if not yet finished." however this is only the case if no error occurred; otherwise it is left untouched. We want the invalid content to generate a decoding error, so we set size to inputSize to ensure decoding failed later.
2019-02-15 23:51:53 +08:00
Roy Tam
dcd9973243 import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00