Commit Graph

385 Commits

Author SHA1 Message Date
foudfou
35bc9a72e8 Bug 785542 - Convert usages of PR_MIN and PR_MAX to NS_MIN and NS_MAX; r=ehsan
Occurences of PR_MAX in layout/style/nsCSSProps.cpp and xpcom/glue/nsTArray.h
can not be converted without C++11 support (constexpr).

--HG--
extra : rebase_source : 3b4f7e26690fad487dd11594449948411d4e79bc
2012-09-27 23:44:47 +02:00
Chris Jones
06e7cc23e4 Bug 794297: Block the android build system from looking in mozilla-central. r=mwu
--HG--
rename : media/webrtc/Android.mk => Android.mk
2012-09-25 17:04:01 -07:00
Chris Jones
cb77dbee2c Bug 793229: Remove shadowed constant. r=cpeterson 2012-09-21 15:52:21 -07:00
Steven Lee
d974bfb778 Bug 749053 - FM radio support: AudioManager implementation. r=jlebar,mwu 2012-09-19 13:51:35 -04:00
Michael Wu
9cf7fe3bbd Bug 792109 - Generate an outmix per opensl cubeb context not stream, r=kinetik 2012-09-19 13:51:34 -04:00
Chris Jones
6cef98eb96 Bug 792988: Restore local defines of constants. r=gal 2012-09-20 14:04:20 -07:00
Chris Peterson
efb90c9186 Bug 784329 - Part 7: Add sanity checking of video format metadata. r=doublec 2012-09-14 16:03:07 -07:00
Chris Peterson
6c88a91bf1 Bug 784329 - Part 6: Add color conversion function for OMX_TI_COLOR_FormatYUV420PackedSemiPlanar. r=doublec 2012-08-22 19:22:20 -07:00
Chris Peterson
034100b25c Bug 784329 - Part 5: Stagefright's kKeyWidth and kKeyHeight are actually the stride and slice height. r=doublec 2012-08-22 19:22:20 -07:00
Chris Peterson
285090d53b Bug 784329 - Part 4: Rename color conversion functions to use the standard OMX_COLOR enum names. r=doublec 2012-09-14 16:55:17 -07:00
Chris Peterson
26ca325c0f Bug 784329 - Part 3: Simplify SetVideoFormat() by using local MetaData pointer. r=doublec 2012-09-13 18:51:54 -07:00
Ms2ger
abf742d34d Merge PGO-green changeset from m-i to m-c. 2012-09-20 11:51:47 +02:00
Ms2ger
e734d6f1a2 Bug 792343 - Enable FAIL_ON_WARNINGS in some more of dom/ (second batch); r=mounir 2012-09-20 09:55:36 +02: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
Chris Peterson
5c0413a55d Bug 785340 - Part 2: OmxDecoder::ReadVideo() should fail if mVideoSource->read() fails. r=doublec
--HG--
extra : rebase_source : 4b54866b3b994148d0360d1cd814f86169f4a74b
2012-09-18 17:37:17 -07:00
Michael Wu
74b74d66d7 Bug 791269 - dlopen opensl library, r=kinetik 2012-09-15 15:52:34 -04:00
Jan Beich
9eb8381d9f Bug 789656 - Use lrintf() in libopus on BSDs. r=rillian 2012-09-13 18:47:12 -04:00
Michael Wu
0976560f44 Bug 788402 - Improve queue handling in opensl backend, r=kinetik 2012-09-13 14:34:54 -04:00
Ralph Giles
41d94ed0c4 Bug 790381 - Update libopus to 1.0.0 release. r=derf
Update files to match the opus-1.0.0 source release.
This corresponds to the spec implementation included
in RFC 6716.

Changes from the previous in-tree version (draft-12):

 - Add extern "C" protection on opus_multistream.h.
 - Align to sizeof(void*) instead of 4 bytes.
 - Copyright header updates for IETF publication.
 - Minor documentation and whitespace fixes.
2012-09-11 13:08:00 -07:00
Ralph Giles
9e1fc83261 Bug 790381 - Filter out makefile comments in opus update.sh. r=derf
We read *_sources.mk from the opus source tree to get a list
of needed files. As of the 1.0.0 release, those files have
comment lines, which the previous sed one-liner failed to
strip out.

The earlier version attempted this with 's/^#.8//', but
the whole file has been read into memory so we can
remove the line continuation escapes. However, the
newlines are still present, so we can replace this
with 's/#[^\n]*\(\n\)/\1\g' Which replaces everything
from a comment character to a newline with a newline.

We have to capture and subsitute the final newline instead
of using a literal \n because portable sed doesn't expand
that character on the right-hand side. GNU sed will,
however.
2012-09-12 16:59:04 -04:00
Chris Peterson
4a85efd4dd Bug 785536 - Add PluginHost->GetPref() so platform decoders can query about:config prefs. r=doublec 2012-08-24 14:20:39 -07:00
Ehsan Akhgari
37b4f5642e Backout bug 792109, bug 749053 and bug 779500 because of leaks in debug tests 2012-09-19 15:42:18 -04:00
Steven Lee
7ae89f6783 Bug 749053 - FM radio support: AudioManager implementation. r=jlebar,mwu 2012-09-19 13:51:35 -04:00
Michael Wu
e39f51b2e0 Bug 792109 - Generate an outmix per opensl cubeb context not stream, r=kinetik 2012-09-19 13:51:34 -04:00
Michael Wu
a2f4fba3b5 Bug 694484 - OpenSL backend for libcubeb, r=kinetik 2012-09-04 17:45:08 -03:00
Matthew Gregan
6e84e4fd57 Bug 778675 - Add some more logging to debug a cubeb_audiounit test failure. 2012-09-03 13:18:42 +12:00
Mike Hommey
17b764b2f4 Bug 785622 - Only include .pp files corresponding to files we do build. r=khuey 2012-08-29 08:55:58 +02:00
Doug Turner
e86352271a Backout of bug 773423. Breaks linux clobber builds. r=dontbreakthebuild 2012-08-28 15:53:32 -07:00
Nathan Froyd
a992715c56 Bug 786372 - eliminate libtheora -pedantic warning spew; r=derf 2012-08-28 15:25:17 -04:00
Randell Jesup
c591b4f7d4 Bug 773423: use absolute paths for windows, different for make vs pymake r=ted 2012-07-13 15:48:07 -04:00
Nathan Froyd
12bb5af509 Bug 786372 - eliminate libvpx -pedantic warning spew; r=derf 2012-08-28 14:08:35 -04:00
Jan Beich
5e71a26c0f Bug 785638 - Use VP8 asm on ELF platforms by default. r=tterribe 2012-08-27 19:34:30 -04:00
Chris Peterson
39238f1ffb Bug 784329 - Part 1: Add some OmxPlugin error logging. r=doublec 2012-08-22 18:29:58 -07:00
Ehsan Akhgari
845651448b Bug 579517 - Part 5: Add missing StandardInteger.h #includes where needed; r=bsmedberg
Landing on a CLOSED TREE
2012-08-08 17:08:17 -04:00
Ehsan Akhgari
f22f8b7a49 Bug 579517 - Part 4: Manually rewrite some parts of the code base not covered by the automated conversion; r=bsmedberg 2012-08-22 11:59:54 -04:00
Ehsan Akhgari
e368dc9c85 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Chris Double
bec475bbb5 Bug 766395 - Enable hardware video decoding on Otoro B2G devices - r=edwin 2012-08-22 15:05:09 +12:00
Chris Double
4c372a8b86 Bug 783927 - Handle zero length audio reads in stagefright backend to fix audio issues - r=cpeterson 2012-08-21 17:03:21 +12:00
Chris Double
45f8ba9de0 Bug 782508 - Enable hardware decoder usage in Android libstagefright OMX plugin - r=cpeterson 2012-08-21 15:25:13 +12:00
Matthew Gregan
1277af9c08 Bug 778675 - Add some logging to debug a cubeb_audiounit test failure. 2012-08-17 17:16:35 +12:00
Matthew Gregan
ceb96ddab3 Bug 761917 - Fail when stream restart is attempted on a dead PCM. r=doublec 2012-08-16 18:48:40 +12:00
Steven Lee
b81f1fb70b Bug 779149 - [Dialer] Audio does not go through headset. r=mwu 2012-08-15 21:00:50 -04:00
Chris Double
e9f6b64d24 Bug 759945 - Part 5: Fix build errors on B2g -- r=cpearce
--HG--
extra : rebase_source : 87c56c813e0fbdd14e7f089830a1ca772c2be27e
2012-08-10 20:15:28 +12:00
Chris Double
af9559fd5b Bug 759945 - Part 3: Android OS headers and stub files for software decoding using libstagefright on Android - r=cpearce
--HG--
extra : rebase_source : 0f5b9fed7dac3040a98af6dcc324407c4f8a9772
2012-08-10 20:15:20 +12:00
Jan Beich
9237dae01b Bug 780432 - Explicitly pass CFLAGS for ALSA and PulseAudio. r=kinetik
--HG--
extra : rebase_source : 829d51b17390d44fa31b786408e632844ad12473
2012-08-08 10:27:44 +12:00
Jan Beich
d7bf07283f Bug 780432 - Add experimental --enable-pulseaudio configure option. r=kinetik,khuey
--HG--
extra : rebase_source : 9bf00787997d4ed465427e6570c5d937c1cb9ff4
2012-08-08 10:26:04 +12:00
Matthew Gregan
4a025b6513 Bug 779187 - Fix nsBufferedAudioStream's sample format selection for big endian machines. r=doublec 2012-08-06 15:26:41 +12:00
Mike Hommey
70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Matthew Gregan
7c54dee4c4 Bug 761274 - Work around buffer sizing bug in PulseAudio ALSA plugin. r=doublec 2012-07-16 17:15:24 -04:00
Brad Lassey
0069b6f3e0 bug 776907 - quiet log spew from sydney audio on android r=kinetik 2012-07-24 09:56:24 -04:00