Commit Graph

101 Commits

Author SHA1 Message Date
Mike Hommey
ede9563425 Bug 1245035 - Move LOCAL_INCLUDES to moz.build in media/omx-plugin/lib/ics/libvideoeditorplayer. r=mshal 2016-02-03 08:41:24 +09:00
Mike Hommey
1db89374d8 Bug 1221453 - Use AbsolutePaths with LOCAL_INCLUDES instead of manual -I in CXXFLAGS. r=gps 2015-11-06 09:59:21 +09:00
Mike Taylor
444e21024a Bug 1041882 - Remove Froyo-specific OMX plugin support. r=snorp 2015-09-26 09:06:00 +02:00
Nicholas Nethercote
08a51edb74 Bug 1205930 - Tighten up warnings handling in media/omx-plugin/. r=gerald.
MetaData.h uses multi-char literals. This is kind of gross but probably safe
and hard to change, so this patch allows it while disallowing all other
compiler warnings. (This approach is already used in dom/media/moz.build.)

(An aside: I originally tried using |#pragma GCC ignoring -Wmultichar| to
temporarily disable the warnings in MetaData.h. But that works in gcc but not
in g++ because of https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53431!)
2015-09-20 22:10:01 -07:00
Nicholas Nethercote
69d088e45f 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.
2015-08-27 20:44:53 -07:00
Mike Hommey
23fb4c1447 Bug 1043692 - Add a DIST_INSTALL variable to moz.build, and replace NO_DIST_INSTALL with it. r=gps 2015-05-12 07:55:21 +09:00
Brian O'Keefe
3ae80812fb Bug 852814 - Move the last remaining EXTRA_DSO_LDOPTS to moz.build. r=gps 2015-03-30 10:32:10 -04:00
Richard Newman
86e497710d Bug 1053016 - Part 3: eliminate omx-plugin Froyo version. r=cajbir 2014-09-09 16:35:27 -07:00
Mike Hommey
92deb5899a Bug 1059113 - Use templates for shared libraries and frameworks. r=gps
Also force to use the existing template for XPCOM components.
2014-09-04 09:04:45 +09:00
Mike Hommey
8fd95ad480 Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps 2014-09-03 14:10:54 +09:00
Nathan Froyd
2374d4767a Bug 1055281 - check for existence of paths in LOCAL_INCLUDES in moz.build; r=mshal 2014-08-20 11:51:33 -04:00
Mike Hommey
5659a611dd Bug 1036894 part 8 - Move most in-tree library linkage information to moz.build, as USE_LIBS. r=gps 2014-07-23 13:30:52 +09:00
Robert O'Callahan
8b7ce5144e Bug 1006248. Part 2: Add NO_VISIBILITY_FLAGS to media/omx-plugin. r=glandium
--HG--
extra : rebase_source : eb5bc3174be7ee20d4ac56a8ba6a3c1c7bd9fc66
2014-05-06 17:28:04 +12:00
Edwin Flores
270dea856d Bug 998603 - Don't pass kClientNeedsFramebuffer flag into OMXCodec on devices with MediaTek chipsets r=cajbir 2014-05-07 12:02:43 +12:00
Edwin Flores
648a6364b9 Bug 990780 - Add more padding to MediaCodec::ReadOptions for HTC devices r=doublec
The HTC version of OMXCodec has extra fields in its ReadOptions class over the
AOSP version. We added padding in bug 932820, but it was apparently not enough.
This patch simply adds more padding to our version of the class.
2014-04-23 13:00:10 +12:00
Edwin Flores
22f7d04c55 Bug 812881 - Ensure OMX plugins instantiate only one OMXClient instance r=sotaro
Samsung's OMX IL doesn't like being instantiated more than once, often leading
to crashes. This patch changes the OMX plugin so that we statically instantiate
one OMXClient to be shared between decoder instances.
2014-04-03 09:53:38 +13:00
Chris Peterson
098c0f584c Bug 989203 - Fix and suppress some Android gcc warnings in media/omx-plugin/ directory. r=cajbir 2014-03-27 23:34:49 -04:00
Gregory Szorc
1d7ac7ea19 Bug 980174 - Remove some empty Makefile.in; r=mshal
--HG--
extra : rebase_source : eada340aed8daebbfc3bf7d4218bca980d654cef
2014-03-05 19:56:56 -08:00
Ehsan Akhgari
444a26ed8e Bug 976896 - Port STL_FLAGS to moz.build; r=mshal 2014-03-04 19:39:06 -05:00
Ehsan Akhgari
304ca88775 Bug 977964 - Move some flags to moz.build; r=glandium 2014-03-03 21:58:37 -05:00
Ehsan Akhgari
6ed9144ae7 Bug 970745 - Move USE_STATIC_LIBS to moz.build; r=glandium 2014-02-11 09:12:33 -05:00
Edwin Flores
228ef9f9f7 Bug 963621 - Stop passing kClientNeedsFramebuffer into Qualcomm OMXCodec r=doublec
Qualcomm's OMXCodec implementation interprets the kClientNeedsFramebuffer flag
to mean that we only want a thumbnail. Thus, it returns only one frame and then
returns EOS.

This patch adds a Qualcomm-specific hack to not pass their decoder this flag.
2014-01-28 17:31:00 +13:00
Ryan VanderMeulen
e1f38bbe7d Backed out changeset 15a8086a2431 (bug 963621) for Android bustage. 2014-01-30 14:01:58 -05:00
Edwin Flores
0769ca6dd3 Bug 963621 - Stop passing kClientNeedsFramebuffer into Qualcomm OMXCodec. r=doublec
Qualcomm's OMXCodec implementation interprets the kClientNeedsFramebuffer flag
to mean that we only want a thumbnail. Thus, it returns only one frame and then
returns EOS.

This patch adds a Qualcomm-specific hack to not pass their decoder this flag.
2014-01-30 13:26:54 -05:00
Edwin Flores
eec206f774 Bug 932820 - Workaround for ABI changes in OMX interface on HTC devices r=doublec
On some devices, HTC has extended android::OMXCodec with their own HTCOMXCodec
which contains some extension that change the ABI.

This patch merely adds padding to MediaSource::ReadOptions, as HTCOMXCodec::read
modifies an HTC-specific field in ReadOptions which doesn't exist in AOSP.
2014-01-22 09:59:54 +13:00
Edwin Flores
ed3d2608a0 Bug 953394 - Force OMXCodec to output a sane colour format on Android 4.4 and above r=doublec 2014-01-09 14:54:57 +13:00
Edwin Flores
0cfe5a3801 Bug 953394 - Android imports needed for bug 953394 r=doublec
* Added some android::Vector, android::VectorImpl method definitions to link
  against.
 * Updated android::Vector and android::VectorImpl headers to 4.4 as using
  headers from 4.1 crashed 4.4 devices but not vice versa.
2014-01-09 14:54:57 +13:00
Ms2ger
6c7c16c6b2 Bug 950130 - Move more INCLUDES / LOCAL_INCLUDES to moz.build; r=mshal 2013-12-31 10:06:11 +01:00
Edwin Flores
66181fe3a2 Bug 866080 - Use Android I420ColorConverter in OMX plugin r=sotaro,doublec 2013-12-17 11:58:16 +13:00
Birunthan Mohanathas
c4d797a2eb Bug 784739 - Switch from NULL to nullptr in miscellaneous directories; r=ehsan
--HG--
extra : rebase_source : 8ace754e117a12e2599f5a90030f13a3a7064fed
2013-11-25 14:02:47 -05:00
Mike Hommey
03e5fc6ffa Bug 914274 - Remove MODULE_NAME. r=mshal 2013-11-21 17:31:19 +09:00
Mike Hommey
636b672657 Bug 914245 - Move FORCE_SHARED_LIB to moz.build. r=mshal 2013-11-19 11:47:45 +09:00
Mike Hommey
f0d1cd1e10 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
af313e2b21 Bug 933098 - Cleanup bad cargo culting in ./media/omx-plugin/*/Makefile.in. r=gps 2013-11-02 08:43:08 +09:00
Mike Hommey
f1c0c07862 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Mike Hommey
5b228ebafb Bug 922974 - Replace NO_INSTALL with NO_DIST_INSTALL. r=gps 2013-10-03 05:51:15 +09:00
Ehsan Akhgari
4c37a6c970 Bug 922664 - Build omx-plugin in C++11 mode, and also stop supporting the update scripts for the omx-plugin Android headers; r=doublec 2013-10-02 07:40:55 -04:00
Mike Hommey
05b3f24e0e Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Chris Double
5650b473fb Bug 888786 - Part 1: Remove OMX media plugin workarounds for Sony ICS devices - r=edwin 2013-09-03 14:35:54 +12:00
Chris Double
75fe075bb4 Bug 812680 - Part 1: Remove OMX media plugin workarounds for HTC One X - r=edwin 2013-09-03 14:34:33 +12:00
Chris Double
db37b141ed Bug 860599 - Use DataSource::CreateFromURI instead of MediaStreamSource - r=cpearce
--HG--
extra : rebase_source : da5a909d64ad903f86ad7fb76cb306252d8ccaad
2013-08-30 16:51:38 +12:00
Gregory Szorc
0a41c9c2f9 Bug 891632 - Port NO_DIST_INSTALL to moz.build; r=joey
Many of the moved variables are likely not needed. moz.build should one
day validate the sandbox's output and error if "useless" variables are
present.

--HG--
extra : rebase_source : 3abdea056c18d00ede8c15b37db60532eca58630
2013-07-10 12:08:21 -07:00
Makoto Kato
df50ec474b Bug 891239 - OmxPlugin.cpp:1027:35: error: expected ';' after top level declarator when using clang. r=doublec 2013-07-10 11:20:20 +09:00
Brian O'Keefe
ed17339221 Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1); r=mshal
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
Mike Shal
6f32ddf61c Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Chris Peterson
0368fb1640 Bug 861601 - Suppress gcc -Wmultichar warnings from Android's Stagefright header files. r=doublec,khuey
--HG--
extra : rebase_source : dcfe6fa1ecd2e8cb55945ecfef2709392cf7bb94
2013-04-13 22:14:16 -07:00
Kyle Machulis
f5e3aadf0b Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
d2b6e6e01a Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
5663b98bc5 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Andrew Quartey
88837fd3a1 Bug 827684 - Fix potential memory leak of OmxDecoder if Init fails on Android. r=doublec 2013-03-29 12:45:01 -04:00