Commit Graph

76 Commits

Author SHA1 Message Date
Nathan Froyd
6ca1704821 Bug 682216 - add a memory reporter for libnestegg's memory; r=njn,kinetik 2014-04-08 10:36:30 -04:00
Paul Adenot
ba92d7c5b8 Bug 946618 - Add native tests for cubeb. r=kinetik
--HG--
extra : rebase_source : 9b2e8e702ce5f8ea4d5416f3b45c91bc4cd94432
2014-02-25 14:21:59 +01:00
Nathan Froyd
a21c6f2143 Bug 682215 - add a memory reporter for memory from libvpx; r=ted,njn 2014-02-25 16:35:13 -05:00
Nathan Froyd
04b818d90c Bug 677653 - part 1 - indirect libogg memory allocations through variables; r=glandium,rillian 2014-03-05 10:58:29 -05:00
Ehsan Akhgari
a2897a0771 Bug 979816 - Backout bug 977701 because of a Talos regression
Landed on a CLOSED TREE
2014-03-05 15:18:09 -05:00
Ehsan Akhgari
7c3b8700e6 Bug 977701 - Move skia, cairo and pixman to libxul; r=jrmuizel 2014-02-27 21:14:54 -05:00
Karl Tomlinson
7cb01e7526 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
a3c3d25ec6 Bug 976392 - Move moz2d to libxul; r=jrmuizel 2014-02-25 15:42:23 -05:00
Ralph Giles
5080040b8e 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
4c8c250776 Bug 953385 - Set math script where applicable in /gfx. r=jfkthame 2014-01-30 10:59:16 -05:00
Randy Lin
6a6aa3a1ea 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
ad7c57c25d Bug 907196 - Split CreateCMSOutputProfile profile loading into GetCMSOutputProfileData. r=BenWa, r=jmuizelaar 2013-11-07 18:20:08 +08:00
Jan Gerber
baa27de9ee 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
bca185af77 Bug 833023 - Enable VP9 playback in HTML media elements. r=kinetik 2013-12-03 16:21:00 -08:00
Mike Hommey
2692200c54 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
358b7e64f0 Bug 942657 - Devirtualize AudioStream. r=doublec,gps 2013-11-28 18:09:08 +13:00
Benjamin Peterson
168ae22e9f backout dc9ebdf27e98 (bug 942657) for bustage 2013-11-28 20:50:16 -06:00
Matthew Gregan
647694fec9 Bug 942657 - Devirtualize AudioStream. r=doublec,gps 2013-11-28 18:09:08 +13:00
Matthew Gregan
c9c44e81a3 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
8a2b69cc87 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
c7923e2ca1 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
9c08b365a4 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
bfd396be8d 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
c2fbbcbbda 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
e8c8b37d54 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
1ad3ba2005 Backed out changeset acf80b86d630 (bug 904617) for compilation failures 2013-09-16 08:44:44 +01:00
Paul Adenot
33610c2195 Bug 904617: Part 1 - Add a way to get cube latency r=kinetik 2013-09-16 03:25:54 -04:00
Chris Pearce
3cdbe86438 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
d08f66a5b1 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
d187fe7323 Bug 887463 - remove webvtt parser library. r=cpearce. 2013-07-09 17:02:00 -07:00
Shelly Lin
8a857740e9 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
15bbbfdf0a Bug 881432 - Add webvtt_strerror to exports. r=bustage.
CLOSED TREE approval from RyanVM.
2013-06-10 13:09:01 -07:00
Rick Eyre
73e8300de5 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
8bb1fd1f1c Bug 865244 - Add the new cubeb symbol to the symbol list (bustage fix again). 2013-06-10 20:39:29 +02:00
Ralph Giles
d98efa09c2 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
5088360b94 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
72ff1aa5bc Bug 761442 - treat substitution and positioning lookups involving <space> differently. r=jkew 2013-04-11 22:49:58 +09:00
Jonathan Kew
64b1171f3c 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
ffcb478530 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
c7c49a4e9a 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
d708ac8932 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
b5417769c6 b=751418; unbreak Win64 builds after SkiaGL landing; r=flames 2013-03-07 13:43:26 -05:00
George Wright
3a0697a27c [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
08cf74d3f1 Bug 835381 - Add the new symbol to the symbol list for libnestegg. 2013-02-19 14:45:41 +01:00
Randell Jesup
349a3e90c7 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
716395ec36 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
f91b0cbc29 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
452ff3b1a5 Bug 822933 - Properly check if a WebM file has cues. r=kinetik 2012-12-23 16:51:17 +01:00
Steve Workman
1a3794f87e 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
88788c1c05 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