Граф коммитов

70 Коммитов

Автор SHA1 Сообщение Дата
Karl Tomlinson d5e8ef47f8 b=913854 add speex_resampler_set_skip_frac_num r=jmspeex
This allows a client to align output samples consistently for independent
resampling of contiguous input buffers.

--HG--
extra : rebase_source : 58caba11ac7f78418b173a98556276d3b4644603
2014-02-27 11:44:40 +13:00
Ehsan Akhgari 54e12e450a Bug 976392 - Move moz2d to libxul; r=jrmuizel 2014-02-25 15:42:23 -05:00
Ralph Giles 24597e8179 Bug 964559 - Remove MOZ_OGG. r=doublec,ted
We are unable to maintain all the --disable-foo build-time options
for the media code. Just support ogg unconditionally.
2014-02-20 18:01:00 -08:00
James Kitchener 719046a9e6 Bug 953385 - Set math script where applicable in /gfx. r=jfkthame 2014-01-30 10:59:16 -05:00
Randy Lin 8179f228c6 Bug 891705 - [MediaEncoder] Implement WebM 1.0 container writer. r=giles, r=gps, r=rillian
This is an integrated patch which includes:
1. Bug 891705: [MediaEncoder] Implement WebM 1.0 container writer. r=giles, r=gps
2. Bug 950567: [MediaEncoder] Phase-in libmkv library. r=giles
3. bug 883749: Implement Vorbis encoding. r=rillian
4. bug 881840: Implement VP8 track encoder. r=rillian
2014-01-15 14:21:14 +08:00
guozhu cheng cf3277421c Bug 907196 - Split CreateCMSOutputProfile profile loading into GetCMSOutputProfileData. r=BenWa, r=jmuizelaar 2013-11-07 18:20:08 +08:00
Jan Gerber e6a102d4db Bug 947160 remove MOZ_VP8_ENCODER. r=kinetik
- Encoder is always built, remove MOZ_VP8_ENCODER.
  - Rename MOZ_VP8* to MOZ_VPX*
  - Enable multi-res encoding via libvpx configure.
2013-12-06 05:16:00 -08:00
Jan Gerber ceaf334c45 Bug 833023 - Enable VP9 playback in HTML media elements. r=kinetik 2013-12-03 16:21:00 -08:00
Mike Hommey e9440a479c Bug 938686 - Add nestegg_packet_discard_padding to layout/media/symbols.def.in, attempting to unbust windows build on a CLOSED TREE 2013-12-03 10:53:00 +09:00
Matthew Gregan 2ca1434c82 Bug 942657 - Devirtualize AudioStream. r=doublec,gps 2013-11-28 18:09:08 +13:00
Benjamin Peterson 02f058e57a backout dc9ebdf27e98 (bug 942657) for bustage 2013-11-28 20:50:16 -06:00
Matthew Gregan 93237d768e Bug 942657 - Devirtualize AudioStream. r=doublec,gps 2013-11-28 18:09:08 +13:00
Matthew Gregan ded7b4c4c5 Bug 943159 - Remove MOZ_SPEEX_RESAMPLER/MOZ_SOUNDTOUCH defines since we don't support building without them anyway. r=doublec,gps 2013-11-28 17:06:59 +13:00
Jeff Muizelaar 0471905a26 Bug 845874. Switch to Y-X banded regions. r=roc
Previously our region code was just a simple y,x sorted list of
non-intersecting rectangles. This can cause us to have simple regions
represented in a complex unoptimizable way.

Switching to pixman regions gives us a canonical region implementation.

There are some cases when this can cause performance regressions.

For example, with the old region code we end up with this region:
http://people.mozilla.org/~jmuizelaar/region-pre.html
which is represented like this:
http://people.mozilla.org/~jmuizelaar/region-post.html
with the new code.

We call SimplifyOutward(4) on this. With old regions we can't simplify it so we
end up taking the bounds and get 1 rect. With the new regions we have only 3
rects to start and so we do nothing. The difference between 3 rects and 1 rect
cause D2D to do a PushLayer() instead of a ClipRect() and that seems to be the
causes for the regression.

--HG--
extra : rebase_source : 65e0d29d67b51a3780448eaecfde33dbcb6b99b1
2013-11-18 13:01:54 -05:00
Ralph Giles 9fa50757a7 Bug 931060 - Add encoder files to in-tree libvorbis. r=xiphmont
Add vorbisenc.c and its dependent headers to the libvorbis build
and export the relevant symbols. Based on a patch by Benjamin Chen.
2013-11-12 09:30:16 +13:00
Paul Adenot 4c8c44228f Bug 918861 - Add an API to get the native samplerate for a given audio backend. r=kinetik
--HG--
extra : rebase_source : 592445a01f00a89289d52c52d9c758e10b9d9a00
2013-10-17 15:44:52 +02:00
Paul Adenot ececd6c386 Bug 907817 - Add a cubeb API to get a valid audio latency range per platform. r=kinetik
--HG--
extra : rebase_source : 06999c8009f2828ee0f6f49e0cdb5cbc86d785cc
2013-10-17 15:44:52 +02:00
Mike Hommey a28b5047a3 Bug 922460 - Kill media/webrtc/shared_libs.mk. r=ted
--HG--
rename : media/webrtc/shared_libs.mk => layout/media/webrtc/Makefile.in
2013-10-11 08:15:24 +09:00
Paul Adenot 71aa4ff23c Bug 904617: Part 1 - Add a way to get cube latency, add wasapi latency functions r=kinetik 2013-09-17 02:39:30 -04:00
Ed Morley 4abe2b9d25 Backed out changeset acf80b86d630 (bug 904617) for compilation failures 2013-09-16 08:44:44 +01:00
Paul Adenot d480d1b82e Bug 904617: Part 1 - Add a way to get cube latency r=kinetik 2013-09-16 03:25:54 -04:00
Chris Pearce de518c3819 Bug 913974 - Don't export moz_cairo_win32_printing_surface_create when printing disabled, to fix build error with ac_add_options --disable-printing. r=ted 2013-09-10 12:09:51 +12:00
Benoit Girard f488d3c533 Bug 907544 - Pass the D3DSurface9 down into Cairo for LockRect. r=jrmuizel
--HG--
extra : rebase_source : 71c0f776360435d242987ffd3e2cbab8a3535c67
2013-09-04 16:53:54 -04:00
Ralph Giles ccaf62a7df Bug 887463 - remove webvtt parser library. r=cpearce. 2013-07-09 17:02:00 -07:00
Shelly Lin 77fa087459 Bug 842243 - Part 2: Add OggWriter.h/.cpp; Implementation of Ogg container. r=roc, r=tterribe 2013-05-17 19:13:01 +08:00
Ralph Giles 33ee1de0f6 Bug 881432 - Add webvtt_strerror to exports. r=bustage.
CLOSED TREE approval from RyanVM.
2013-06-10 13:09:01 -07:00
Rick Eyre 0bdf09070f Bug 833382 - Implement WebVTTLoadListener r=cpearce,bz
- Implemented WebVTTLoadListener to manage the webvtt parser.
- TextTrackCue now handles the conversion of webvtt nodes to
  anonymous content which will be displayed on the video div
  overlay.
- HTMLTrackElement manages the lifetime of the WebVTTLoadListener.
2013-06-10 08:30:00 -07:00
Paul Adenot 7dcd48d3c5 Bug 865244 - Add the new cubeb symbol to the symbol list (bustage fix again). 2013-06-10 20:39:29 +02:00
Ralph Giles cc2db4daf4 Bug 833385 - Implement HTMLTrackElement and TextTrack. r=bz,Ms2ger
Add webidl interfaces and implementations of the HTML <track>
element and related TextTrack, TextTrackList, TextTrackCue,
and TextTrackCueList dom objects.

Visibility is controlled by the media.webvtt.enabled pref,
which defaults to false.

HTMLMediaElement:NewURIFromString() is hoisted to
nsGenericHTMLElement so it's available to the track
element as well.

This patch is primarily work by Dale Karp, David Humphrey
and others as Seneca College.
2013-05-22 00:14:00 +08:00
Jonathan Kew 3eb1fdd857 bug 847344 - refactor gfxFont/gfxFontEntry and associated classes for more efficient use of HarfBuzz and Graphite shaper APIs. r=roc 2013-05-16 17:29:20 +01:00
John Daggett 04b7882c04 Bug 761442 - treat substitution and positioning lookups involving <space> differently. r=jkew 2013-04-11 22:49:58 +09:00
Jonathan Kew a0a8034fb1 Bug 761442 - don't use per-word shaping with fonts that use <space> in opentype lookups. r=jdaggett 2013-01-08 14:38:48 +00:00
Joe Drew 3a1ba4d188 Bug 716140 - Make animated image formats (PNG and GIF) explicitly pause decoding and ask for a new image frame when they need new frames.
--HG--
extra : rebase_source : 3a4148d8d144784075ec88668359c333420c3d4a
2013-01-28 12:27:35 -05:00
Matthew Gregan 92db67a1a7 Bug 852401 - Remove sydneyaudio. r=doublec
--HG--
rename : media/libsydneyaudio/src/gonk/AudioSystem.h => dom/system/gonk/android_audio/AudioSystem.h
rename : media/libsydneyaudio/src/gonk/AudioTrack.h => dom/system/gonk/android_audio/AudioTrack.h
rename : media/libsydneyaudio/src/gonk/EffectApi.h => dom/system/gonk/android_audio/EffectApi.h
rename : media/libsydneyaudio/src/gonk/IAudioFlinger.h => dom/system/gonk/android_audio/IAudioFlinger.h
rename : media/libsydneyaudio/src/gonk/IAudioFlingerClient.h => dom/system/gonk/android_audio/IAudioFlingerClient.h
rename : media/libsydneyaudio/src/gonk/IAudioRecord.h => dom/system/gonk/android_audio/IAudioRecord.h
rename : media/libsydneyaudio/src/gonk/IAudioTrack.h => dom/system/gonk/android_audio/IAudioTrack.h
rename : media/libsydneyaudio/src/gonk/IEffect.h => dom/system/gonk/android_audio/IEffect.h
rename : media/libsydneyaudio/src/gonk/IEffectClient.h => dom/system/gonk/android_audio/IEffectClient.h
2013-03-19 17:12:36 +13:00
Jacek Caban f3f006ac72 Bug 849207 - Use __declspec(dllexport) for exporting skia C++ symbols. r=gwright
--HG--
extra : rebase_source : 333c7fcc334db6f6969995f0ff5fac8bb9607e74
2013-03-12 11:33:36 +01:00
Vladimir Vukicevic 36435e7a8d b=751418; unbreak Win64 builds after SkiaGL landing; r=flames 2013-03-07 13:43:26 -05:00
George Wright d77ad6416f [PATCH 6/9] Bug 751418 - Add a GrGLInterface for Mozilla's GLContext r=mattwoodrow
From cfd2ab8845e4f1ae7e93d293662b9519346694d2 Mon Sep 17 00:00:00 2001
---
 gfx/gl/GLContextSkia.cpp    | 802 ++++++++++++++++++++++++++++++++++++++++++++
 gfx/gl/GLContextSkia.h      |  14 +
 gfx/gl/Makefile.in          |   5 +
 layout/media/symbols.def.in |   7 +
 4 files changed, 828 insertions(+)
 create mode 100644 gfx/gl/GLContextSkia.cpp
 create mode 100644 gfx/gl/GLContextSkia.h
2012-10-27 16:47:58 -04:00
Paul Adenot 2386db5500 Bug 835381 - Add the new symbol to the symbol list for libnestegg. 2013-02-19 14:45:41 +01:00
Randell Jesup 338e5db435 Bug 830247: rollup of changes to media/webrtc/trunk, and backouts of some temp patches r=ted,derf
--HG--
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/BaseFilter.cpp => media/webrtc/trunk/webrtc/modules/video_capture/windows/BaseFilter.cpp
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/BaseFilter.h => media/webrtc/trunk/webrtc/modules/video_capture/windows/BaseFilter.h
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/BaseInputPin.cpp => media/webrtc/trunk/webrtc/modules/video_capture/windows/BaseInputPin.cpp
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/BaseInputPin.h => media/webrtc/trunk/webrtc/modules/video_capture/windows/BaseInputPin.h
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/BasePin.cpp => media/webrtc/trunk/webrtc/modules/video_capture/windows/BasePin.cpp
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/BasePin.h => media/webrtc/trunk/webrtc/modules/video_capture/windows/BasePin.h
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/DShowTools.h => media/webrtc/trunk/webrtc/modules/video_capture/windows/DShowTools.h
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/MediaType.cpp => media/webrtc/trunk/webrtc/modules/video_capture/windows/MediaType.cpp
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/MediaType.h => media/webrtc/trunk/webrtc/modules/video_capture/windows/MediaType.h
2013-02-09 23:16:10 -05:00
Paul Adenot 1873712f02 Bug 822933 - Add symbol to layout/media/symbols.def/in for libnestegg update. r=kinetik 2013-01-18 16:57:17 +01:00
Ed Morley d6376004d6 Backout b3a8618f901c (bug 829042), 34a9ef8f929d (bug 822933), 4c1215cefbab (bug 826349), 70bb7f775178 (bug 825325), e9c8447fb197 (bug 828713), eb6ebf01eafe (bug 828901), f1f3ef647920 (bug 825329), f9d7b5722d4f (bug 825329), 5add564d4546 (bug 819377), 55e93d1fa972 (bug 804875), f14639a3461e (bug 804875), 23456fc21052 (bug 814308) for Windows pgo-only mochitest-1 media test timeouts on a CLOSED TREE 2013-01-16 15:16:23 +00:00
Paul Adenot 57c654953f Bug 822933 - Properly check if a WebM file has cues. r=kinetik 2012-12-23 16:51:17 +01:00
Steve Workman 272d7ed20d Bug 792404 - Add nestegg_offset_seek to enable stream switching for DASH-WebM r=kinetik 2012-12-06 15:26:44 -08:00
Marco Chen a5fdca3cb3 Bug 795237 - Web API for setting audio stream type. Part 2. r=kinetik, a=blocking-basecamp
Implementation on path of audio and video element
2012-11-16 11:25:26 +08:00
Jacek Caban b21dfd24d5 Bug 799069: Unresolved vpx_codec_vp8_cx export in --disable-webrtc build r=jesup,derf 2012-10-08 10:56:17 -04:00
Randell Jesup 61f2eb940e Bug 797671: cleanup from importing webrtc.org update r=ted,glandium (Part is bug 778801 r=derf) 2012-10-04 12:09:35 -04:00
Steve Workman 7a999209d1 Bug 782457: Add max offset and cues preloading support to nestegg; r=kinetik 2012-09-17 16:45:38 -04:00
Edwin Flores 68f7d1ad1b Bug 719286 - Add _moz_cairo_get_font_matrix to symbols.def.in 2012-09-06 16:58:46 +12:00
Alexandros Chronopoulos 2eed568811 Bug 748144 - Support multichannel Opus files. r=rillian
The Opus audio format supports multichannel (surround) audio, but our initial implementation used a simpler API which only supported mono and stereo output.

To handle these files gracefully, this patch uses the multichannel api and downmixes the output, if possible, to stereo, since we don't currently support surround sound playback.
2012-08-09 15:53:23 -07:00
Randell Jesup a16413dc4e Bug 772570: untangle MOZ_WEBM from MOZ_VP8 so we can disable webm with webrtc enabled r=def r=ted 2012-07-27 13:13:43 -04:00