Mike Hommey
b043d52e4c
Bug 1669888 - Enable ffvpx on all Mac platforms. r=jya
...
Differential Revision: https://phabricator.services.mozilla.com/D92875
2020-10-08 05:28:28 +00:00
Jean-Yves Avenard
6d9da8a736
Bug 1616736
- P2. Update ffmpeg copy to 4.2. r=jolin
...
Also fix AARCH64 build to be neon optimised where available, this leads to a 72% improvement in decoding speed.
Differential Revision: https://phabricator.services.mozilla.com/D64706
--HG--
extra : moz-landing-system : lando
2020-03-04 22:18:34 +00:00
Michael Froman
a32233c9b1
Bug 1582271 - pt4 - add ffvpx mp3 decoding for android32. r=jya
...
Differential Revision: https://phabricator.services.mozilla.com/D46426
--HG--
extra : moz-landing-system : lando
2019-09-25 14:50:02 +00:00
Michael Froman
456979ca99
Bug 1582271 - pt3 - add ffvpx mp3 decoding for aarch64. r=jya
...
Differential Revision: https://phabricator.services.mozilla.com/D46425
--HG--
extra : moz-landing-system : lando
2019-09-24 21:02:26 +00:00
Michael Froman
e290922048
Bug 1582271 - pt2 - add ffvpx mp3 decoding for linux/macOS/win. r=jya
...
Differential Revision: https://phabricator.services.mozilla.com/D46424
--HG--
extra : moz-landing-system : lando
2019-09-24 21:18:24 +00:00
Michael Froman
36adeaea97
Bug 1582271 - pt1 - prep ffvpx files for adding mp3 support. r=jya
...
- Update README_MOZILLA for adding mp3 support, and add some clarifying text.
- Clang-format config.h for easier reading since it is our file, not ffmpeg's.
- Use sort -d -u to produce defaults_disabled.* files so linux and macOS
produce same files.
- Change MOZ_FFVPX_FLACONLY to MOZ_FFVPX_AUDIOONLY since it indicates flac
and mp3 decoders.
- Rename config_flac.h to config_audio.h
Differential Revision: https://phabricator.services.mozilla.com/D46423
--HG--
rename : media/ffvpx/config_flac.h => media/ffvpx/config_audio.h
extra : moz-landing-system : lando
2019-09-24 21:02:07 +00:00
Jean-Yves Avenard
760c5da868
Bug 1489081 - Remove no longer necessary files. r=bryce
...
With the move to clang-cl as default compiler on Windows, those are no longer necessary.
Differential Revision: https://phabricator.services.mozilla.com/D5128
--HG--
extra : moz-landing-system : lando
2019-07-22 07:47:20 +00:00
Dan Minor
0bf8dc6be1
Bug 1540760 - Build system changes for aarch64-win64 support in ffvpx; r=jya
...
Differential Revision: https://phabricator.services.mozilla.com/D27790
--HG--
extra : moz-landing-system : lando
2019-05-01 15:04:50 +00:00
Dan Minor
23afbbacd1
Bug 1540760 - Add missing aarch64 files for ffvpx; r=jya
...
Differential Revision: https://phabricator.services.mozilla.com/D27789
--HG--
extra : moz-landing-system : lando
2019-05-01 23:06:25 +00:00
Jean-Yves Avenard
0855e7a7da
Bug 1513511 - P1. Use new FFmpeg decode API with recent FFmpeg version. r=bryce
...
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.
This resulted in some YouTube videos for about 10% of the frames to never be returned.
Only the new API properly behaves so we upgrade our code to use it.
Differential Revision: https://phabricator.services.mozilla.com/D14682
--HG--
extra : moz-landing-system : lando
2018-12-17 17:29:13 +00:00
Jean-Yves Avenard
032d3b87d7
Bug 1488065 - Update ffvpx to version n4.0.2-6-g2be51cbeea. r=bryce
...
Differential Revision: https://phabricator.services.mozilla.com/D5041
--HG--
rename : media/ffvpx/libavcodec/null_bsf.c => media/ffvpx/libavcodec/mpegvideodata.h
extra : moz-landing-system : lando
2018-09-06 13:18:00 +00:00
Coroiu Cristina
79c7b523f8
Backed out changeset 29daa22239e9 (bug 1488065) for mda failures at dom/media/test/test_videoPlaybackQuality_totalFrames.html
2018-09-06 14:06:11 +03:00
Jean-Yves Avenard
38a3bd2e77
Bug 1488065 - Update ffvpx to version n4.0.2-6-g2be51cbeea. r=bryce
...
Differential Revision: https://phabricator.services.mozilla.com/D5041
--HG--
rename : media/ffvpx/libavcodec/null_bsf.c => media/ffvpx/libavcodec/mpegvideodata.h
extra : moz-landing-system : lando
2018-09-06 08:42:52 +00:00
Karl Tomlinson
b99ba5e660
bug 1476231 add ffmpeg floating point real FFT functions to ffvpx when MOZ_LIBAV_FFT is configured r=jya
...
New files are from ffmpeg n3.4-1-g587fadaef1.
MozReview-Commit-ID: E9eLPySCpCz
--HG--
rename : media/libav/libavcodec/avfft.c => media/ffvpx/libavcodec/avfft.c
rename : media/libav/libavcodec/avfft.h => media/ffvpx/libavcodec/avfft.h
rename : media/libav/libavcodec/dct.h => media/ffvpx/libavcodec/dct.h
rename : media/libav/libavcodec/fft-internal.h => media/ffvpx/libavcodec/fft-internal.h
rename : media/libav/libavcodec/fft.h => media/ffvpx/libavcodec/fft.h
rename : media/libav/libavcodec/fft_float.c => media/ffvpx/libavcodec/fft_float.c
rename : media/libav/libavcodec/fft_template.c => media/ffvpx/libavcodec/fft_template.c
rename : media/libav/libavcodec/rdft.c => media/ffvpx/libavcodec/rdft.c
rename : media/libav/libavcodec/rdft.h => media/ffvpx/libavcodec/rdft.h
rename : media/libav/libavcodec/x86/fft.asm => media/ffvpx/libavcodec/x86/fft.asm
rename : media/libav/libavcodec/x86/fft.h => media/ffvpx/libavcodec/x86/fft.h
rename : media/libav/libavcodec/x86/fft_init.c => media/ffvpx/libavcodec/x86/fft_init.c
extra : rebase_source : 35a960b3248bb23dbf56c19baad91b665094fbac
2018-07-15 20:08:27 +12: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
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
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
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
Jean-Yves Avenard
f69622c5b0
Bug 1411883 - P2. Update resync documentation. r=gerald
...
MozReview-Commit-ID: 9L6B8qPsUcR
--HG--
extra : rebase_source : eba16ab6d1e0f58aa9aec6212c1916c7f2788481
2017-10-26 12:55:35 +02:00
Jean-Yves Avenard
1154b74148
Bug 1411883 - P1. Copy files as-is from FFmpeg upstream. r=gerald
...
r?gerald
MozReview-Commit-ID: J8AZngUJSOb
--HG--
extra : rebase_source : 887f47644b21e00b0b494a51f1f6f83f9b01ae6e
2017-10-26 12:53:30 +02:00
Jean-Yves Avenard
4063f63822
Bug 1366201 - P4. Remove no longer necessary files. r=gerald
...
MozReview-Commit-ID: 8aGXFlw6sR0
--HG--
extra : rebase_source : 4d8e27ad4a81276d5a55cce11e37978fb966ac3b
2017-10-24 21:59:46 +02:00
Jean-Yves Avenard
9bbe2b99fa
Bug 1366201 - P3. Update ffvp9/ffvp8 to 3.4 branch. r=gerald
...
Structure of code was slightly modified so that it should be no longer necessary to re-generate the config_*.h files, greatly simplifying the resync process.
MozReview-Commit-ID: Ap6HpJAANT6
--HG--
extra : rebase_source : 52e5e3b9b2401644dc536d746219e5f3864c600c
2017-10-24 21:44:23 +02:00
Jean-Yves Avenard
07d56f7ff5
Bug 1366201 - P2. Revert "Bug 1292039: [ffmpeg] P1. Remove unused options and dictionary features." r=gerald
...
This partially reverts commit e99d6caa3a3778c0bb1f2fa9f2b4222bba2eeafereverts
FFmpeg requires specific default values in AVCodecContext to be set. It is quickly becoming too complicated to track what those should be. AVOptions automatically set all the values to their default.
MozReview-Commit-ID: lDFeUvwTMg
--HG--
extra : rebase_source : 04c5df11e485bcbae4fbf41d8b5ed512316b4d1b
2017-10-24 19:33:05 +02:00
Jean-Yves Avenard
24d074b126
Bug 1366201 - P1. Revert "Bug 1274256 - TSan: data race gfx/layers/client/TextureClient.cpp:1161 in mozilla::layers::MappedYCbCrChannelData::CopyInto." r=gerald
...
This reverts commit f69e779a1903
FFmpeg 3.4 no longer requires this change.
--HG--
extra : rebase_source : 4767a08e886e17df2144e182105a29b0475d6367
2017-10-19 17:13:09 +02:00
Chris Manchester
fab07bc443
Bug 1386876
- Replace all uses of NO_VISIBILITY_FLAGS with a template and remove NO_VISIBILITY_FLAGS. r=glandium
...
MozReview-Commit-ID: 194U1WMCAM0
--HG--
extra : rebase_source : 365b68b0a1772d238ae9b84966e53dcd1197fd85
2017-05-01 18:12:35 -07:00
Nathan Froyd
9af0cd2f31
Bug 1377971 - followup - don't explicitly link to libm on Windows; r=bustage
...
On Windows, libm is just rolled into the CRT, so there's nothing special
we need to do here.
Landing this on a CLOSED TREE
2017-07-05 14:38:52 -04:00
Nathan Froyd
d2ffb5fefc
Bug 1377971 - part 2 - link libavutil and libavcodec with libm; r=rillian
...
Both of these libraries call into libm for various reasons, but by
linking with the C++ compiler on most platforms, they never had to
declare their dependency on libm. Future changes will make these
libraries link with the C compiler, which won't automatically link with
libm, so we need to make the dependency explicit prior to that change.
2017-07-05 14:05:10 -04:00
Jean-Yves Avenard
dbdf58e128
Bug 1319277: P1. [ffmpeg] Resync ffvpx with 3.2 branch. r=gerald
...
Sync at version n3.2-65-gee56777
MozReview-Commit-ID: oFDGCF2dru
--HG--
extra : rebase_source : 1926411e040cd7ffcb7a590dada52e0b3c7a3fa7
2016-11-22 13:40:10 +11:00
Ronald S. Bultje
8898c08155
Bug 1293996: Workaround AMD hardware related crash. r=jya
...
MozReview-Commit-ID: IONAxzyag1b
2016-10-13 17:56:22 +11:00
Julian Seward
f30bf023b4
Bug 1274256 - TSan: data race gfx/layers/client/TextureClient.cpp:1161 in mozilla::layers::MappedYCbCrChannelData::CopyInto. r=jyavenard@mozilla.com.
2016-10-06 17:41:27 +02:00
Carsten "Tomcat" Book
c2943ed59a
Backed out changeset 01bf91bcaeb2 (bug 1274256) for reftest crashes
...
--HG--
extra : rebase_source : 9a15b3f2a6c3800401216208d52438d8ceb120a3
2016-10-06 13:53:57 +02:00
Julian Seward
c29c35856c
Bug 1274256 - TSan: data race gfx/layers/client/TextureClient.cpp:1161 in mozilla::layers::MappedYCbCrChannelData::CopyInto. r=jyavenard@mozilla.com.
...
--HG--
extra : rebase_source : 65ea1ed1cc136f5a4da002283b93fc37642327db
2016-10-06 10:35:58 +02:00
Jean-Yves Avenard
58c41caa45
Bug 1270016: P1. Add FLAC support to our ffmpeg extract. r=kentuckyfriedtakahe
...
Code was extracted from FFmpeg 3.1.
MozReview-Commit-ID: FgySRWoGMB5
--HG--
extra : rebase_source : cf15573de36faa3e286b1886062d9a7222c534e7
2016-08-02 22:51:41 +10:00
Wes Kocher
9c3d37e549
Backed out 3 changesets (bug 1270016) for various media test failures/unexpected-passes a=backout
...
Backed out changeset 9178e6e14a5a (bug 1270016)
Backed out changeset 8359b182bb99 (bug 1270016)
Backed out changeset 8a0f3231b43e (bug 1270016)
2016-08-22 10:07:57 -07:00
Jean-Yves Avenard
3aef074dd4
Bug 1270016: P1. Add FLAC support to our ffmpeg extract. r=kentuckyfriedtakahe
...
Code was extracted from FFmpeg 3.1.
MozReview-Commit-ID: FgySRWoGMB5
--HG--
extra : rebase_source : cf15573de36faa3e286b1886062d9a7222c534e7
2016-08-02 22:51:41 +10:00
Michael Niedermayer
70bc041bc4
Bug 1289280 - Check the input frame sizes for being consistent. r=jya
...
Imported from:
77b0f3f26d
Suggested-by: BBB
Fixed-by: BBB
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
MozReview-Commit-ID: DmBS93ydeuT
2016-08-01 13:50:21 +02:00
Jean-Yves Avenard
b390a15468
Bug 1292039: [ffmpeg] P1. Remove unused options and dictionary features. r=kentuckyfriedtakahe.
...
Saving is disappointing, only 41kiB out of a 2222kiB
MozReview-Commit-ID: JNz9PxHTLUp
--HG--
extra : rebase_source : b68ed5c3784c76d840438d1d5e369c95a8abd9a7
2016-08-04 16:55:15 +10:00
Jean-Yves Avenard
7f1f8deb8b
Bug 1290710: [ffmpeg] Resync ffvpx with 3.1 branch. r=gerald
...
Sync at version n3.1.1-6-g86f9228
MozReview-Commit-ID: Qp8OxKkDHu
--HG--
extra : rebase_source : 39367dcc0ed471c65acd611eb1787fed86f261d8
2016-08-01 14:05:13 +10:00
Wes Kocher
b2fb9f514e
Backed out changeset 11b27019a256 (bug 1290710) for PGO build bustage in media/ffvpx/libavcodec/target a=backout
2016-08-01 09:43:07 -07:00
Jean-Yves Avenard
ff62e39fd8
Bug 1290710: [ffmpeg] Resync ffvpx with 3.1 branch. r=gerald
...
Sync at version n3.1.1-6-g86f9228
MozReview-Commit-ID: Qp8OxKkDHu
--HG--
extra : rebase_source : d05415b5fad36c533ce8d900723bc360ad097598
2016-08-01 14:05:13 +10:00
Tom Tromey
5538d692d3
Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
...
This removes the unnecessary setting of c-basic-offset from all
python-mode files.
This was automatically generated using
perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
... on the affected files.
The bulk of these files are moz.build files but there a few others as
well.
MozReview-Commit-ID: 2pPf3DEiZqx
--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Jean-Yves Avenard
b21b1c955b
Bug 1266129 - Upgrade ffvpx to 3.0.2. . r=ajones
...
--HG--
extra : amend_source : b82278fcfd71b4d7b0e37bb7b10f735cc770a59c
2016-04-28 21:31:18 +10:00
Ted Mielczarek
86995dd661
bug 1248020 - convert a bunch of moz.build files to use USE_YASM. r=mshal
...
MozReview-Commit-ID: n59TejhJq6
--HG--
extra : rebase_source : a5fd47c48ae4f03fcd2b699d7283a8838d24449c
extra : amend_source : cdd00e6f76195956dd83f8a2e3109d453459d158
extra : histedit_source : 4e36a2c2ff01a2cb352a46b2f4d9062f14be5232
2016-03-03 11:38:59 -05:00
Ted Mielczarek
5c634ab869
bug 1248016 - make ASFILES rules work with .s/.asm, get rid of ASM_SUFFIX. r=mshal
...
MozReview-Commit-ID: 1MK0Kud51vR
--HG--
extra : rebase_source : de7a7f11bfbbac1e8eccc34de39dd2d88d803b03
extra : amend_source : d7eddb71b050e0576e783c6ce8c67f66cfd88e13
2016-03-01 13:47:19 -05:00
Jean-Yves Avenard
fb123d02a5
Bug 1248483: Resync FFvpx to n3.0-1-g0aa2fbd. r=kentuckyfriedtakahe
...
MozReview-Commit-ID: JPOz0SldaSv
2016-02-18 11:34:06 +11:00
Jean-Yves Avenard
6040488a59
Bug 1237540: [ffvpx] P2. update ffvpx build config. r=kentuckyfriedtakahe
2016-01-11 17:55:49 +11:00
Jean-Yves Avenard
e5202a3389
Bug 1237540: [ffvpx] P1. upgrade to FFmpeg n2.9-dev-2841-g369b161. r=kentuckfriedtakahe
2016-01-11 17:55:46 +11:00
Jean-Yves Avenard
73fe68cab6
Bug 1214462: P2. Add mozilla build files to build ffvpx. r=glandium
2016-01-06 23:03:51 +11:00