Commit Graph

105 Commits

Author SHA1 Message Date
Nathan Froyd
0b2896f578 Bug 1278938 - avoid warnings in omx-plugin headers when compiling with clang; r=snorp
We can avoid a struct/class mismatch in MediaExtractor.h.

TypeHelpers.h has extraneous |template<>| specializations that don't
actually specialize anything.
2016-06-09 18:44:34 -04:00
Chris Peterson
353ee65255 Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium 2016-05-11 00:00:01 -07:00
Makoto Kato
933513d8df Bug 1262335 - Part 4. Remove Android GB/HC OMX code. r=snorp
MozReview-Commit-ID: 4mkPBNXG6Jl

--HG--
extra : rebase_source : c186dc855cc1dc2bbb731a7b05fa52aca5beb169
2016-04-06 17:31:13 +09:00
Makoto Kato
daa228c32b Bug 1262335 - Part 2. Remove Android GB/HC defines from OMX. r=snorp
MozReview-Commit-ID: HKbYZXftKBc

--HG--
extra : rebase_source : ac07306100914857848ca58714a517c4069711da
2016-04-06 17:30:17 +09:00
Mike Hommey
cadaf66585 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
4d40edea15 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
8b3f3c5f86 Bug 1041882 - Remove Froyo-specific OMX plugin support. r=snorp 2015-09-26 09:06:00 +02:00
Nicholas Nethercote
ab464dd743 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!)

--HG--
extra : rebase_source : 15ab8d3d6fe4d102b54e270ac7a6ff06af4cbe42
2015-09-20 22:10:01 -07:00
Nicholas Nethercote
f44287005f 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.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Mike Hommey
fe90037862 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
9a791e9e69 Bug 852814 - Move the last remaining EXTRA_DSO_LDOPTS to moz.build. r=gps
--HG--
extra : rebase_source : d842c4a5805ad2180ff2d0110d95be40daf28a59
2015-03-30 10:32:10 -04:00
Richard Newman
bbc795a223 Bug 1053016 - Part 3: eliminate omx-plugin Froyo version. r=cajbir 2014-09-09 16:35:27 -07:00
Mike Hommey
4b99580194 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
ed70c5f377 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
a088ec81d5 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
5fab42fcaf 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
1ff7ccec16 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
359e7c6652 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
95a78e55c8 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
a92877be31 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
62f3d34896 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
f8f429ae92 Bug 980174 - Remove some empty Makefile.in; r=mshal
--HG--
extra : rebase_source : eada340aed8daebbfc3bf7d4218bca980d654cef
2014-03-05 19:56:56 -08:00
Ehsan Akhgari
17f4a32d8b Bug 976896 - Port STL_FLAGS to moz.build; r=mshal 2014-03-04 19:39:06 -05:00
Ehsan Akhgari
eecde05734 Bug 977964 - Move some flags to moz.build; r=glandium 2014-03-03 21:58:37 -05:00
Ehsan Akhgari
b7b6d52aef Bug 970745 - Move USE_STATIC_LIBS to moz.build; r=glandium 2014-02-11 09:12:33 -05:00
Edwin Flores
29e0ef6a32 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
bffa8c060d Backed out changeset 15a8086a2431 (bug 963621) for Android bustage. 2014-01-30 14:01:58 -05:00
Edwin Flores
5eb6d18a32 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
ef9a4aa7c8 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
d299251989 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
cb930e8566 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
561cae4a0e Bug 950130 - Move more INCLUDES / LOCAL_INCLUDES to moz.build; r=mshal 2013-12-31 10:06:11 +01:00
Edwin Flores
8d1888e84a Bug 866080 - Use Android I420ColorConverter in OMX plugin r=sotaro,doublec 2013-12-17 11:58:16 +13:00
Birunthan Mohanathas
1e8f99fd01 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
8a469f49cb Bug 914274 - Remove MODULE_NAME. r=mshal 2013-11-21 17:31:19 +09:00
Mike Hommey
b2e90f6233 Bug 914245 - Move FORCE_SHARED_LIB to moz.build. r=mshal 2013-11-19 11:47:45 +09:00
Mike Hommey
e80e877ab7 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
845bc03395 Bug 933098 - Cleanup bad cargo culting in ./media/omx-plugin/*/Makefile.in. r=gps 2013-11-02 08:43:08 +09:00
Mike Hommey
b000a846c2 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Mike Hommey
716dacd4a7 Bug 922974 - Replace NO_INSTALL with NO_DIST_INSTALL. r=gps 2013-10-03 05:51:15 +09:00
Ehsan Akhgari
e8b992816f 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
f8bc7fa754 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Chris Double
764d7011b2 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
4ab6b138ac 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
3dc98ebb4b 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
19850b9b8e 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
1460ce0c90 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
11bcc1cd9e 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
5169c0a913 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
6d836f9c7f 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