Commit Graph

173 Commits

Author SHA1 Message Date
Jean-Yves Avenard
75d3e82740 Bug 1195723: [flac] P1. Primitive flac frame parser. r=kamidphish
Currently only handle metadata decoding.

MozReview-Commit-ID: JL4vqtY5kUS

--HG--
extra : rebase_source : 1470a92d12ccf3088d5663cd6d58cedc63922586
2016-08-04 17:09:34 +10:00
Wes Kocher
24cb21d4f6 Backed out 15 changesets (bug 1195723) for various media test failures/unexpected-passes a=backout
Backed out changeset 2a3b10281c9c (bug 1195723)
Backed out changeset c3775a6225d8 (bug 1195723)
Backed out changeset ba0aeb71c672 (bug 1195723)
Backed out changeset 894061e6037e (bug 1195723)
Backed out changeset 4637f8be98bb (bug 1195723)
Backed out changeset c2664064fa55 (bug 1195723)
Backed out changeset 39908ea4c390 (bug 1195723)
Backed out changeset 3fcb5682049a (bug 1195723)
Backed out changeset 867d6507a381 (bug 1195723)
Backed out changeset c938ad9dd11c (bug 1195723)
Backed out changeset 7bdb9540b60f (bug 1195723)
Backed out changeset a4f7a73c04fa (bug 1195723)
Backed out changeset 7f86beff4263 (bug 1195723)
Backed out changeset efb6bcf743e7 (bug 1195723)
Backed out changeset 04eceefa54c7 (bug 1195723)
2016-08-22 10:07:25 -07:00
Jean-Yves Avenard
467235f54a Bug 1195723: [flac] P6. Add support for raw flac metadata decoding. r=kamidphish
We also move flac related files to their own flac folder.

MozReview-Commit-ID: YnV3HNbjZe

--HG--
extra : rebase_source : 59ade40278c324ffc2f4604ec9f93697406f3269
2016-08-17 15:33:50 +10:00
Jean-Yves Avenard
c7bb459c9e Bug 1195723: [flac] P1. Primitive flac frame parser. r=kamidphish
Currently only handle metadata decoding.

MozReview-Commit-ID: JL4vqtY5kUS

--HG--
extra : rebase_source : 9cad10afb3174f67a78ea4418df5eb64fa1c83b1
2016-08-04 17:09:34 +10:00
bechen
931402dd2f Bug 1291629 - Remove RTSP code. r=jwwang
MozReview-Commit-ID: AxaLwO4rTuY

--HG--
extra : rebase_source : f8a5de1be1471238d62b6bbc419b3a45f2590da6
2016-08-10 10:32:25 +08:00
ctai
5918cfba5b Bug 1201363 - Adding base class MediaStreamVideoSink and changing VideoFrameContainer to be inherited from MediaStreamVideoSink. r=jesup
MediaStreamVideoSink is the base class of VideoFrameContainer, CaptureTask(ImageCapture), MediaStreamVideoRecorderSink(MediaRecoreder) and PipelineVideoSink(WebRTC-MediaPipelineTransmit). In this patch, I change VideoFrameContainer only. The rest of cases will be changed in latter patches of this bug.

MozReview-Commit-ID: JNUke3fyCoN

--HG--
extra : transplant_source : %0A%C7q%F3Md%0CO%8C%5DH%90%BBvp%9E%F0%DA%CD%CB
2015-12-24 10:43:28 +08:00
Sebastian Hengst
9a11ee24d8 Backed out changeset b531c8bff6e9 (bug 1201363) for timeout in GTest VP8VideoTrackEncoder.FrameEncode. r=backout 2016-08-03 19:33:55 +02:00
ctai
b761a4f52b Bug 1201363 - Adding base class MediaStreamVideoSink and changing VideoFrameContainer to be inherited from MediaStreamVideoSink. r=jesup
MediaStreamVideoSink is the base class of VideoFrameContainer, CaptureTask(ImageCapture), MediaStreamVideoRecorderSink(MediaRecoreder) and PipelineVideoSink(WebRTC-MediaPipelineTransmit). In this patch, I change VideoFrameContainer only. The rest of cases will be changed in latter patches of this bug.

MozReview-Commit-ID: JNUke3fyCoN

--HG--
extra : amend_source : 7899e95e8a57b2465a854f95d86261a1c1d7277b
2015-12-24 10:43:28 +08:00
Carsten "Tomcat" Book
02adb43791 Backed out changeset 726ee2bcfdef (bug 1201363) for static build bustage 2016-08-02 12:54:13 +02:00
ctai
43c3c04482 Bug 1201363 - Adding base class MediaStreamVideoSink and changing VideoFrameContainer to be inherited from MediaStreamVideoSink. r=jesup
MediaStreamVideoSink is the base class of VideoFrameContainer, CaptureTask(ImageCapture), MediaStreamVideoRecorderSink(MediaRecoreder) and PipelineVideoSink(WebRTC-MediaPipelineTransmit). In this patch, I change VideoFrameContainer only. The rest of cases will be changed in latter patches of this bug.

MozReview-Commit-ID: JNUke3fyCoN

--HG--
extra : transplant_source : %89%C8%0F%3B%EF%93%7C%BC%DAQ%19%196%19D%8Fu%EF%3B%11
2015-12-24 10:43:28 +08: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
Kaku Kuo
1ac4fb0ba1 Bug 1288300 - Remove unused MediaCallbackID files; r=jwwang
MozReview-Commit-ID: 6vb8RWQHCu

--HG--
extra : rebase_source : 902416b3e9d6b4dd1ab892f913fc1c45e35cc65a
2016-07-21 10:57:57 +08:00
ctai
fd36b32d94 Bug 1266646 - Move group of MediaStreamListener to a new header file. r=pehrsons
This can reduce the include header dependency. MediaStreamVideoSink will inherit from DirectMediaStreamTrackListener. But we can't use forward declaration on MediaStreamListener because the usage of nsTArray<RefPtr<MediaStreamVideoSink>>.

MozReview-Commit-ID: 328s4Kw9NvW

--HG--
extra : transplant_source : %D2%18%E3%3B%0C%D8%F04%F3%EB%EB%A0%A7%8B%B1%A9%AB%97rY
2016-06-30 15:07:48 +08:00
Kaku Kuo
e6658c1851 Bug 1235301 - part 2 - implement NextFrameSeekTask; r=jwwang
MozReview-Commit-ID: 3ucCLzT6w27

--HG--
extra : rebase_source : c5fe5bc4fd4f616b56ca961dda18e2e06f91d059
2016-05-24 11:03:12 +08:00
Kaku Kuo
3a24c53a98 Bug 1235301 - part 1 - abstract the SeekTask class; r=jwwang
MozReview-Commit-ID: F2oXfR4F28x

--HG--
rename : dom/media/SeekTask.cpp => dom/media/AccurateSeekTask.cpp
rename : dom/media/SeekTask.h => dom/media/AccurateSeekTask.h
extra : rebase_source : 091d9fec3373b8dbda3d6e2bcac4903c2c38cd02
2016-05-24 11:02:57 +08:00
JW Wang
1f7b60118b Bug 1275807 - Remove remaining use of FlushableTaskQueue. r=cpearce.
MozReview-Commit-ID: L12wxh7GPIr

--HG--
extra : rebase_source : 745ae8240326246050513c96300eba1e32d84130
2016-05-24 16:48:26 +08:00
Chris Peterson
353ee65255 Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium 2016-05-11 00:00:01 -07:00
Jean-Yves Avenard
e926d54268 Bug 1206637: P1. Add MediaPrefs convenience class. r=cpearce
Almost identical to gfxPrefs, with the exception that preferences can't be set (as it doesn't work with e10s anyway). The generated code size is tiny enough that we don't have to bother about having duplicates.

MozReview-Commit-ID: 5SZyscvIzzS

--HG--
extra : rebase_source : 1a2577bbe24d2d6644c3f1f5d0c47850b67fdea0
2016-05-09 14:59:02 +10:00
Kaku Kuo
f78f42e9df Bug 1266027 part 1 - make the MediaDecoderReaderWrapper as a proxy of requesting media data; r=jwwang
MozReview-Commit-ID: CgTBPmtbNfh

--HG--
extra : transplant_source : %16%86%F676/S%C8%5Dj%86%9C%09%0E%D9%16L%DB%92y
2016-04-27 14:50:23 +08:00
ctai
8fcb64e480 Bug 1266644 - Rename StreamBuffer to StreamTracks. r=jesup r=pehrsons
Rename StreamBuffer to StreamTracks. We still need a place to keep the track information in every MediaStream, even the StreamBuffer::Track::mSegment is empty.

--HG--
rename : dom/media/StreamBuffer.cpp => StreamTracks.cpp
rename : dom/media/StreamBuffer.h => StreamTracks.h
2016-01-26 10:49:01 +08:00
Gerald Squelart
28dbe24b69 Bug 1248507 - p2. DecoderDoctorDiagnostics boilerplate - r=jya
Minimal DecoderDoctorDiagnostics interface and skeleton implementation.

MozReview-Commit-ID: EUXRABPeoIg
2016-04-19 17:36:19 +10:00
Kaku Kuo
b04c20b172 Bug 1261020 - part 1 - implement SeekTask; r=jwwang
MozReview-Commit-ID: GTrzI3ZuYeo

--HG--
rename : dom/media/MediaDecoderStateMachine.h => dom/media/SeekJob.h
extra : transplant_source : %17%12%88%F9%C1e%DFnw%29%D9%F6%E7I%D4%F3%7FUrJ
2016-04-14 12:01:55 +08:00
Jean-Yves Avenard
4b33cb8216 Bug 1248861: P5. Add AudioConverter class and relatives. r=cpearce
To be used in combination with AudioDataBuffer class that will be able to perform format conversion.
Can currently only perform channel re-ordering.

Future use will add downmixing, upmixing and resampling capabilities.

MozReview-Commit-ID: 2FBu9aRVtgj

--HG--
extra : rebase_source : 366178114b2bd3da40b247ae0fbe1e04cf83e452
2016-04-04 18:22:05 +10:00
Jean-Yves Avenard
aca16336fe Bug 1248861: P4. Add AudioConfig and introduce channel layout definition. r=cpearce
Long term goal would be to merge AudioConfig with the existing AudioInfo class which doesn't provide sufficient data to properly determine how to play multichannel audio.

MozReview-Commit-ID: 3UDpZWPBUvS

--HG--
extra : rebase_source : 0643fdba0a6decf4f76c42f40bbb1b237e3e0300
2016-04-06 10:20:42 +10:00
Andreas Pehrson
639b0fb5c6 Bug 1208371 - Add a generic PrincipalChangeObserver interface. r=mt
MozReview-Commit-ID: EWCnH7jrKGN

--HG--
extra : rebase_source : 6ee0110928be6fa5f5793bf78740c59e0abf77f7
2016-01-22 11:57:23 +08:00
JW Wang
13a1e758be Bug 1250054. Part 1 - implement MediaDecoderReaderWrapper. r=jya.
MozReview-Commit-ID: KKN6GR9MO8p
2016-03-31 16:32:03 +08:00
Gregory Szorc
6a9168778b Bug 1124033 - Disable C4311 and C4312 in directories exhibiting warnings; r=ehsan
There are a long tail of C4311 and C4312 warnings in VS2015. Rather than
wait until all of them are fixed to land VS2015, we're taking the easy
way out and disabling these warnings in every directory currently
exhibiting a warning. This is evil. But it is a lesser evil than
globally disabling C4311 and C4312. At least with this approach new
C4311 and C4312 warnings in directories that aren't suppressing them
shouldn't be introduced.

MozReview-Commit-ID: 2cwWrjMD6B9

--HG--
extra : rebase_source : 3e7b8ea042765fdf138f5ca93a0f9dab75a95fcd
2016-03-23 17:19:20 -07:00
Randell Jesup
c97852aa52 Bug 1257621: Disable ipc tests for webrtc (test_ipc pseudo-e10s test) r=drno
MozReview-Commit-ID: 3NGI0NTu0mu
2016-03-17 20:45:29 -04:00
Ralph Giles
dc9f410af9 Bug 1253762 - Adapt test_texttracklist_chrome.html to e10s. r=kinetik
Use SpecialPowers.wrap() and .unwrap() to verify internal
object attributes.

This removes all the chrome.ini tests from dom/media/test.

MozReview-Commit-ID: 436UAgSoGpF
2016-03-09 14:31:42 -08:00
Anthony Jones
d00c420b2c Bug 1230265 - Benchmark VP9 decoder performance and enable VP9 on fast machines; r=jya
MozReview-Commit-ID: 4GhSLun9x6Z
2016-03-09 15:43:38 +11:00
Randell Jesup
267abe3945 Bug 1242724: add an export of runnable_utils.h unless/until it gets moved to xpcom/mfbt r=glandium
MozReview-Commit-ID: C577TmkWaWE
2016-02-18 11:44:55 -05:00
Jean-Yves Avenard
83fff9be79 Bug 1243608: P2. Pass the full SeekTarget object to MediaDecoderReader::Seek. r=cpearce
This will allow the reader to know if we are performing a fast seek.
2016-02-02 18:57:12 +11:00
Jean-Yves Avenard
8f79430f0e Bug 1234092: P1. Remove GStreamer support. r=kentuckyfriedtakahe
It was now unused by default.
2015-12-23 01:14:22 +11:00
Chris Peterson
90c0e0da61 Bug 1232223 - Part 3: Remove MOZ_WAVE #ifdefs because Wave is always supported. r=jya 2015-12-18 00:51:16 -08:00
Chris Peterson
88051371a9 Bug 1232223 - Part 1: Remove MOZ_WEBM #ifdefs because WebM is always supported, though not necessarily enabled. r=jya r=glandium 2015-12-12 13:49:07 -05:00
Dan Glastonbury
5a8ca1d0d5 Bug 1169212 - Part 1: Implemented ADTS Decoder & Demuxer. r=jya
Implemented based upon MP3 Demuxer & Decoder.
2015-12-07 15:48:59 +10:00
Jean-Yves Avenard
3fbc97331d Bug 1209388: [mp3] Remove AppleMP3Reader. r=kentuckyfriedtakahe
Following bug 1209410, it was no longer used.
2015-11-19 10:40:33 +11:00
Randell Jesup
9c83bc8f96 Bug 1198458: Rollup of changes previously applied to media/webrtc/trunk/webrtc and fixes to those rs=jesup r=froyd,jib,bwc,jesup,gcp,sotaro,pkerr,pehrsons
Landing as one rolled-up patch to avoid breaking regression tests, and in
keeping with previous WebRTC imports.  Broken out parts that needed review
are on the bug.
2015-11-18 15:03:25 -05:00
JW Wang
a7589ce310 Bug 1218280. Part 1 - create MediaResourceCallback for MediaResource to send notifications. r=roc. 2015-10-27 10:28:26 +08:00
Jean-Yves Avenard
04cdb572f3 Revert "Bug 1209388: [mp3] Remove AppleMP3Reader. r=kentuckyfriedtakahe" r=me
This reverts commit ecbe6589d36e

May be better of waiting a little bit in case we find that the new MP3Demuxer isn't up to scratch
2015-10-02 19:24:54 +10:00
Jean-Yves Avenard
b2c18c37f4 Bug 1209388: [mp3] Remove AppleMP3Reader. r=kentuckyfriedtakahe
Following bug 1209410, it was no longer used.
2015-10-02 18:44:34 +10:00
Kilik Kuo
90420c357e Bug 1204882 - Move MediaDecoder::FrameStatistics out of MediaDecoder for easier use in other classes. r=jwwang
--HG--
extra : transplant_source : 3%E1%C1%3B%B5%8B%82%20%DF%AE%1A%21%E0f%FF%7C%3C%0EF%10
2015-09-15 22:57:20 +08:00
Robert O'Callahan
964e856e68 Bug 1189506. Remove no-longer-used TimeVarying.h. r=karlt
--HG--
extra : commitid : 2i4IxiPCeuH
extra : rebase_source : 399fa74717306d873d1ddb655400af81090146e4
2015-09-04 18:49:27 +12:00
JW Wang
4fecfe3ea1 Bug 1203374. Part 1 - extract the code of computing canplaythrough so it is reusable. r=jya.
1. extract MediaDecoder::Statistics to its own file.
2. sort out include orders of MediaDecoderStateMachine.cpp
2015-09-10 16:37:26 +08:00
JW Wang
b853505d1f Bug 1199155. Part 2 - fix includes and forward declarations. r=roc. 2015-09-07 19:32:04 +08:00
Paul Adenot
a7ae94ef7e Bug 901633 - Part 1 - Implement a generic audio packetizer. r=jesup
--HG--
extra : rebase_source : addc991e335f661b83a2dc0224da26a4eefa2a0d
2015-07-30 13:51:57 +02:00
Nicholas Nethercote
f44287005f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Timothy B. Terriberry
e81c9798f0 Bug 1196353 - Use standard Xiph extradata format to pass headers from demuxers to decoders. r=jya 2015-08-21 10:17:00 -04:00
Kilik Kuo
0581340a0a Bug 1188268 - Make AudioSink a base class, create DecodedAudioDataSink to act as original AudioSink, and move sink-related files to dom/media/mediasink. r=jwwang, r=cpearce
--HG--
rename : dom/media/AudioSink.cpp => dom/media/mediasink/DecodedAudioDataSink.cpp
rename : dom/media/AudioSink.h => dom/media/mediasink/DecodedAudioDataSink.h
2015-08-18 11:55:01 +08:00
Bobby Holley
4ad57e8274 Bug 1195867 - Hoist StateWatching and StateMirroring into XPCOM. r=froydnj
--HG--
rename : dom/media/StateMirroring.h => xpcom/threads/StateMirroring.h
rename : dom/media/StateWatching.h => xpcom/threads/StateWatching.h
2015-08-18 15:37:06 -07:00