Commit Graph

284 Commits

Author SHA1 Message Date
Matthew Gregan
b9b643548f Bug 747793 - Use a ring buffer for audio buffered by nsBufferedAudioStream. Remove generic sample copy out with volume adjustment and replace with the lightly optimized version from nsNativeAudioStream. Add a fast path for the unity volume case. Bump cubeb's refill thread priority on Win32. r=cpearce 2012-05-03 16:48:54 +12:00
Matthew Gregan
8c53d6f7dc Bug 751030 - Import PulseAudio backend for cubeb (NPOTB). r=mwu 2012-05-02 16:24:36 +12:00
Timothy B. Terriberry
bbdbea34a5 Bug 752139 - Don't build an empty armopts.s, r=glandium 2012-05-06 05:41:01 -07:00
Timothy B. Terriberry
6da07a0c89 Bug 752139 - Mark stacks non-executable in the libtheora ARM asm. r=glandium 2012-05-05 12:43:26 -04:00
Ralph Giles
49bc642b06 Bug 751607 - Update opus codec to the draft-12 source. r=derf
Updates our copy of the libopus reference implementation to
match http://tools.ietf.org/html/draft-ietf-codec-opus-12

This uses the v0.9.10/draft-12 tag from the upstream git repo.

Summary of changes:

- License header updates
- Warning fixes
- Comment improvements
2012-05-03 10:04:19 -07:00
Tim Taubert
510abf5b6c merge m-c to fx-team 2012-05-04 16:20:36 +02:00
Timothy B. Terriberry
414da9f8aa Bug 750447 - Fix libvpx build on platforms without RTCD. r=cpearce 2012-05-03 06:22:52 -04:00
Ed Morley
794ec49e06 Merge mozilla-central to fx-team to pick up PGO fixes 2012-05-03 11:24:50 +01:00
Ehsan Akhgari
5807b0217c Bug 750747 - Rip out libpng from libxul; r=khuey
Landing on a CLOSED TREE
2012-05-02 11:02:15 -04:00
Ehsan Akhgari
f744e5cbef Backout changeset e58855b90cf6 (bug 750747) because of build bustage of a CLOSED TREE 2012-05-02 10:04:33 -04:00
Ehsan Akhgari
4102e594fa Bug 750867 - Rip out libjpeg from libxul; r=khuey
Landing on a CLOSED TREE
2012-05-02 09:28:52 -04:00
Ehsan Akhgari
d875f3f6b2 Bug 750747 - Rip out libpng from libxul; r=khuey 2012-05-02 09:28:29 -04:00
Ed Morley
96efc684dc Merge mozilla-central to mozilla-inbound 2012-05-01 09:53:31 +01:00
Michael Wu
e4561a2148 Bug 749080 - Make AudioManager.cpp build again, r=cjones 2012-04-30 14:10:48 -04:00
Timothy B. Terriberry
276a65b63d Bug 730907 - Update libvpx to v1.0.0, r=cpearce,khuey
--HG--
rename : media/libvpx/vp8/decoder/arm/armv6/dequant_idct_v6.asm => media/libvpx/vp8/common/arm/armv6/dequant_idct_v6.asm
rename : media/libvpx/vp8/decoder/arm/armv6/dequantize_v6.asm => media/libvpx/vp8/common/arm/armv6/dequantize_v6.asm
rename : media/libvpx/vp8/decoder/arm/armv6/idct_blk_v6.c => media/libvpx/vp8/common/arm/armv6/idct_blk_v6.c
rename : media/libvpx/vp8/encoder/arm/armv6/vp8_mse16x16_armv6.asm => media/libvpx/vp8/common/arm/armv6/vp8_mse16x16_armv6.asm
rename : media/libvpx/vp8/encoder/arm/armv6/vp8_sad16x16_armv6.asm => media/libvpx/vp8/common/arm/armv6/vp8_sad16x16_armv6.asm
rename : media/libvpx/vp8/encoder/arm/armv6/vp8_variance16x16_armv6.asm => media/libvpx/vp8/common/arm/armv6/vp8_variance16x16_armv6.asm
rename : media/libvpx/vp8/encoder/arm/armv6/vp8_variance8x8_armv6.asm => media/libvpx/vp8/common/arm/armv6/vp8_variance8x8_armv6.asm
rename : media/libvpx/vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_h_armv6.asm => media/libvpx/vp8/common/arm/armv6/vp8_variance_halfpixvar16x16_h_armv6.asm
rename : media/libvpx/vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_hv_armv6.asm => media/libvpx/vp8/common/arm/armv6/vp8_variance_halfpixvar16x16_hv_armv6.asm
rename : media/libvpx/vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_v_armv6.asm => media/libvpx/vp8/common/arm/armv6/vp8_variance_halfpixvar16x16_v_armv6.asm
rename : media/libvpx/vp8/decoder/arm/dequantize_arm.c => media/libvpx/vp8/common/arm/dequantize_arm.c
rename : media/libvpx/vp8/decoder/arm/dequantize_arm.h => media/libvpx/vp8/common/arm/dequantize_arm.h
rename : media/libvpx/vp8/decoder/arm/neon/dequant_idct_neon.asm => media/libvpx/vp8/common/arm/neon/dequant_idct_neon.asm
rename : media/libvpx/vp8/decoder/arm/neon/dequantizeb_neon.asm => media/libvpx/vp8/common/arm/neon/dequantizeb_neon.asm
rename : media/libvpx/vp8/decoder/arm/neon/idct_blk_neon.c => media/libvpx/vp8/common/arm/neon/idct_blk_neon.c
rename : media/libvpx/vp8/decoder/arm/neon/idct_dequant_0_2x_neon.asm => media/libvpx/vp8/common/arm/neon/idct_dequant_0_2x_neon.asm
rename : media/libvpx/vp8/decoder/arm/neon/idct_dequant_full_2x_neon.asm => media/libvpx/vp8/common/arm/neon/idct_dequant_full_2x_neon.asm
rename : media/libvpx/vp8/encoder/arm/neon/sad16_neon.asm => media/libvpx/vp8/common/arm/neon/sad16_neon.asm
rename : media/libvpx/vp8/encoder/arm/neon/sad8_neon.asm => media/libvpx/vp8/common/arm/neon/sad8_neon.asm
rename : media/libvpx/vp8/encoder/arm/neon/variance_neon.asm => media/libvpx/vp8/common/arm/neon/variance_neon.asm
rename : media/libvpx/vp8/encoder/arm/neon/vp8_mse16x16_neon.asm => media/libvpx/vp8/common/arm/neon/vp8_mse16x16_neon.asm
rename : media/libvpx/vp8/encoder/arm/neon/vp8_subpixelvariance16x16_neon.asm => media/libvpx/vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm
rename : media/libvpx/vp8/encoder/arm/neon/vp8_subpixelvariance16x16s_neon.asm => media/libvpx/vp8/common/arm/neon/vp8_subpixelvariance16x16s_neon.asm
rename : media/libvpx/vp8/encoder/arm/neon/vp8_subpixelvariance8x8_neon.asm => media/libvpx/vp8/common/arm/neon/vp8_subpixelvariance8x8_neon.asm
rename : media/libvpx/vp8/encoder/arm/variance_arm.c => media/libvpx/vp8/common/arm/variance_arm.c
rename : media/libvpx/vp8/encoder/arm/variance_arm.h => media/libvpx/vp8/common/arm/variance_arm.h
rename : media/libvpx/vp8/decoder/dequantize.c => media/libvpx/vp8/common/dequantize.c
rename : media/libvpx/vp8/decoder/dequantize.h => media/libvpx/vp8/common/dequantize.h
rename : media/libvpx/vp8/decoder/idct_blk.c => media/libvpx/vp8/common/idct_blk.c
rename : media/libvpx/vp8/encoder/sad_c.c => media/libvpx/vp8/common/sad_c.c
rename : media/libvpx/vp8/encoder/variance.h => media/libvpx/vp8/common/variance.h
rename : media/libvpx/vp8/encoder/variance_c.c => media/libvpx/vp8/common/variance_c.c
rename : media/libvpx/vp8/decoder/x86/dequantize_mmx.asm => media/libvpx/vp8/common/x86/dequantize_mmx.asm
rename : media/libvpx/vp8/decoder/x86/dequantize_x86.h => media/libvpx/vp8/common/x86/dequantize_x86.h
rename : media/libvpx/vp8/decoder/x86/idct_blk_mmx.c => media/libvpx/vp8/common/x86/idct_blk_mmx.c
rename : media/libvpx/vp8/decoder/x86/idct_blk_sse2.c => media/libvpx/vp8/common/x86/idct_blk_sse2.c
rename : media/libvpx/vp8/encoder/x86/sad_mmx.asm => media/libvpx/vp8/common/x86/sad_mmx.asm
rename : media/libvpx/vp8/encoder/x86/sad_sse2.asm => media/libvpx/vp8/common/x86/sad_sse2.asm
rename : media/libvpx/vp8/encoder/x86/sad_sse3.asm => media/libvpx/vp8/common/x86/sad_sse3.asm
rename : media/libvpx/vp8/encoder/x86/sad_sse4.asm => media/libvpx/vp8/common/x86/sad_sse4.asm
rename : media/libvpx/vp8/encoder/x86/sad_ssse3.asm => media/libvpx/vp8/common/x86/sad_ssse3.asm
rename : media/libvpx/vp8/encoder/x86/variance_impl_mmx.asm => media/libvpx/vp8/common/x86/variance_impl_mmx.asm
rename : media/libvpx/vp8/encoder/x86/variance_impl_sse2.asm => media/libvpx/vp8/common/x86/variance_impl_sse2.asm
rename : media/libvpx/vp8/encoder/x86/variance_impl_ssse3.asm => media/libvpx/vp8/common/x86/variance_impl_ssse3.asm
rename : media/libvpx/vp8/encoder/x86/variance_mmx.c => media/libvpx/vp8/common/x86/variance_mmx.c
rename : media/libvpx/vp8/encoder/x86/variance_sse2.c => media/libvpx/vp8/common/x86/variance_sse2.c
rename : media/libvpx/vp8/encoder/x86/variance_ssse3.c => media/libvpx/vp8/common/x86/variance_ssse3.c
rename : media/libvpx/vp8/encoder/x86/variance_x86.h => media/libvpx/vp8/common/x86/variance_x86.h
rename : media/libvpx/vp8/encoder/arm/armv6/vp8_fast_fdct4x4_armv6.asm => media/libvpx/vp8/encoder/arm/armv6/vp8_short_fdct4x4_armv6.asm
rename : media/libvpx/vp8/common/defaultcoefcounts.c => media/libvpx/vp8/encoder/defaultcoefcounts.h
2012-04-29 20:51:44 -07:00
Ralph Giles
31cdda5218 Bug 674225 - Add libopus to the mozilla build system. - r=ted
This builds the opus reference library in media/libopus.
We support both fixed and floating point builds, switched
by MOZ_OPUS_FIXED. Currently this isn't defined by anything
but should probably offer a configure option, and default
to true on arm.

Thanks to Tim Terriberry for additional review.
2012-04-30 16:20:22 -07:00
Ralph Giles
573c99e500 Bug 674225 - Add the opus draft-11 source to the tree. - r=derf
This is the IETF Opus audio codec reference implementation.
The source was copied into the tree using the included
update.sh script, from a checkout of the v0.9.9 git tag,
which corresponds to the source code published in
https://tools.ietf.org/id/draft-ietf-codec-opus-11.txt
2012-04-30 16:20:22 -07:00
Glenn Randers-Pehrson
bed9a1526a Bug 745178 - Update libpng to version 1.5.10. r=joe
--HG--
rename : media/libpng/libpng.txt => media/libpng/libpng-manual.txt
2012-04-24 19:50:00 -04:00
Brad Lassey
a412a136db bug 746139 - local JNI frame won't be popped if init fails r=dougt a=lsblakk 2012-04-17 10:12:20 -04:00
Matthew Gregan
b5111a2ca4 Bug 742160 - Import AudioUnit cubeb backend. r=doublec 2012-04-16 15:04:42 +12:00
Matthew Gregan
c6d2de46e7 Bug 742154 - Work around media crashtest shutdown hang in cubeb_winmm. r=cpearce 2012-04-16 15:00:40 +12:00
Prabindh Sundareson
d3902d3f11 Bug 741289 - Sydneyaudio does not include MOZ_ALSA_CFLAGS. r=glandium,romaxa 2012-04-11 07:58:27 -04:00
Jacek Caban
6c1ff32885 Bug 740324 - cubeb_winmm.c fails to compile on GCC r=jimm 2012-03-30 13:26:32 +02:00
Jim Mathies
515eed55ec Bug 731807 - Fix for error building with VC11 - 'ksguid.lib' not found. r=khuey 2012-03-27 08:36:57 -05:00
Chris Jones
9513d23820 Bug 739090: Dynamically call the right *ForceUse interface. r=mwu (npotb) 2012-03-26 17:39:33 -07:00
Michael Wu
f9f1b52a67 Bug 739118 - Pad AudioTrack to match android's expectations, r=cjones NPOTB 2012-03-25 19:52:09 -07:00
Michael Wu
b758edd35d Bug 737173, part 2: Port AudioManager and libsydneyaudio to the new import. r=cjones (npotb) 2012-03-25 02:11:05 -07:00
Michael Wu
0b2220d1bf Bug 737173, part 1: Import the Gingerbread/Ice Cream Sandwich-compatible audio client code. r=cjones (npotb) 2012-03-25 02:11:05 -07:00
Glenn Randers-Pehrson
1e3cc9215f Bug 733598 - Remove some extraneous defines from mozpngconf.h to fix compiler warnings. r=joedrew 2012-03-08 18:48:45 -05:00
Timothy B. Terriberry
ddb39a183b Bug 468275 - Fix mis-use of _ogg_free on allocation error path, r=kinetik 2012-03-04 20:32:35 -08:00
Ryan VanderMeulen
7d622d5057 Bug 648690 - Update libpng to version 1.5.9 (Mozilla changes). r=joedrew, f=dolske 2012-03-03 22:18:31 -05:00
Max Stepin
8a7cb6d670 Bug 648690 - Update libpng to version 1.5.9 (upstream changes). r=joedrew 2012-03-03 22:18:12 -05:00
Justin Lebar
b682bbe4a5 Bug 731789 - Rename mfbt/StdInt.h to mfbt/StandardInteger.h, so stdint types work from cpp files inside mfbt. r=waldo 2012-02-29 22:56:43 -05:00
Ryan VanderMeulen
8e36e4ec19 Back out libpng update due to xpcshell failures (44fc3b0c25f7 and 7b74d51579b4). r=warlock 2012-02-27 20:36:29 -05:00
Ryan VanderMeulen
c7774277cd Bug 648690 - Update libpng to version 1.5.9 (Mozilla changes). r=joedrew 2012-02-27 18:57:27 -05:00
Max Stepin
78e1119be4 Bug 648690 - Update libpng to version 1.5.9 (upstream changes). r=joedrew
--HG--
rename : media/libpng/libpng.txt => media/libpng/libpng-manual.txt
2012-02-27 18:57:27 -05:00
Ryan VanderMeulen
422f6b96b5 Bug 698519 - Update libjpeg-turbo to version 1.2.0. r=jlebar 2012-02-11 03:34:00 -05:00
Benjamin Smedberg
f81842ccfd Bug 727401 - import libpng overflow patch from http://codereview.chromium.org/9363013 r=joe, a=akeybl 2012-02-15 09:08:01 -05:00
Timothy B. Terriberry
cecb925239 Bug 722924 - Fix handling of Vorbis floor0 codebook with no used entries, r=kinetik 2012-02-13 14:05:23 -08:00
Justin Lebar
fc9f220879 Back out rev 2acd6833, bug 698519 - update to libjpeg 1.2, due to Dromaeo DOM regression. 2012-02-12 23:46:48 -05:00
Ryan VanderMeulen
7dc7476acf Bug 698519 - Update libjpeg-turbo to version 1.2.0. r=jlebar 2012-02-11 03:34:00 -05:00
Matthew Gregan
99c543fe5d Bug 623444 - Import Windows libcubeb implementation. r=doublec, r=khuey 2012-01-13 14:38:39 +13:00
Timothy B. Terriberry
16ff3bdc1c Bug 719612 - Update libvorbis. r=kinetik 2012-01-20 22:54:44 +13:00
Chris Pearce
eb826b046e Bug 717026 - Ensure libsydneyaudio windows block size is an even multiple of channels*frame_size. r=kinetik 2012-01-19 14:11:51 +13:00
Mike Hommey
05091dfacb Bug 709721 - Move video and audio libraries in a gkmedias library on Windows. r=khuey 2011-12-15 06:40:20 +01:00
Michael Wu
fe94f50942 Bug 710051 - Port the android libsydneyaudio backend to gonk, r=kinetik a=gonk-only 2011-12-12 17:35:52 -08:00
Bill McCloskey
af6c302c9e Bug 705332 - Re-enable printing filename in quiet builds (r=njn) 2011-12-08 10:14:06 -08:00
Jeff Walden
fd764fa403 Bug 704313 - Add a don't-define-stdint-types frob to vpx (encapsulated in a custom downstream patch, until this makes its way upstream). r=derf
--HG--
extra : rebase_source : cbc11a1b3ac02897d38553093dc52f4a3eef0bf6
2011-12-07 21:52:33 -05:00
Matthew Gregan
411f20fc79 Bug 705112 - Don't destroy things that weren't initialized. r=dougt 2011-11-25 08:38:33 +13:00
Matthew Gregan
b888ed8aeb Bug 695986 - Start AudioTrack playing only its buffers have filled. r=dougt 2011-11-22 13:19:25 +13:00