Commit Graph
54 Commits
Author SHA1 Message Date
Mike Taylor 1a792a349a Bug 1041882 - Remove Froyo-specific OMX plugin support. r=snorp 2015-09-26 09:06:00 +02:00
Edwin Flores 1ef2eb015c 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 b72a730fbc 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 9b2f591900 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 be69e6147b Bug 989203 - Fix and suppress some Android gcc warnings in media/omx-plugin/ directory. r=cajbir 2014-03-27 23:34:49 -04:00
Edwin Flores 350f8beb86 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 a090037ca0 Backed out changeset 15a8086a2431 (bug 963621) for Android bustage. 2014-01-30 14:01:58 -05:00
Edwin Flores 6bcca7e046 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 60b859b1f1 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 5f7bdc1726 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 98b653ef87 Bug 866080 - Use Android I420ColorConverter in OMX plugin r=sotaro,doublec 2013-12-17 11:58:16 +13:00
Birunthan Mohanathas de6084f712 Bug 784739 - Switch from NULL to nullptr in miscellaneous directories; r=ehsan 2013-11-25 14:02:47 -05:00
Chris Double 3f0df035b8 Bug 860599 - Use DataSource::CreateFromURI instead of MediaStreamSource - r=cpearce 2013-08-30 16:51:38 +12:00
Makoto Kato e46388b8aa 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
Andrew Quartey 643a6045fa Bug 827684 - Fix potential memory leak of OmxDecoder if Init fails on Android. r=doublec 2013-03-29 12:45:01 -04:00
Edwin Flores abdffd547b Bug 846465 - Fix OMX plugin crash on HTC One X r=doublec 2013-03-22 15:24:47 +13:00
Edwin Flores a578bd796b Bug 829408 - Force stagefright to return readable video frames on Gingerbread on the Galaxy SII r=doublec 2013-02-25 12:03:55 +13:00
Edwin Flores c76d600b0d Bug 814296 - Fix infinite loop when trying to play a zero-length MPEG4 file in omx-plugin r=doublec 2013-01-08 11:03:47 +13:00
Chris Double 63e825d5d1 Bug 821160: Bustage fix for Froyo debug build - r=bustage 2012-12-18 15:34:57 +13:00
Chris Double 8d926f0c9c Bug 821160 - Part2: Add libomxplugin support for froyo - r=cpeterson 2012-12-18 14:44:17 +13:00
Edwin Flores c0e71af93b Bug 803394 - Use Android ColorConverter class for video color conversion on Gingerbread r=doublec 2012-12-13 11:54:21 +13:00
Edwin Flores bed28e94ee Bug 803394 - Use Android ColorConverter class to convert video frames with unknown color formats from libstagefright r=doublec 2012-12-13 11:54:13 +13:00
Edwin Flores 1919b12c52 Bug 803394 - Provide a callback to media plugins to request video buffers owned by gecko r=doublec 2012-12-13 11:53:58 +13:00
Chris Double 8b7cfbefcd Bug 787228 - Part2: Add libomxplugin support for Gingerbread - r=cpeterson 2012-11-30 15:37:34 +13:00
Anthony Jones 9acd2c1e85 Bug 802787 - Work around misreported stride. r=cpeterson 2012-11-01 22:41:03 -04:00
Rafael Ávila de Espíndola a381d0b900 Bug 807112 - change MOZ_EXPORT_API and MOZ_IMPORT_API to not take the type. r=Waldo. 2012-10-31 18:18:12 -04:00
Chris Peterson 9f34f40d0a Bug 794171 - Part 1: Add H.264 codecs that are commonly supported on Android. r=doublec f=hsivonen 2012-10-10 18:07:32 -07:00
Anthony Jones 6e1e0f0aae Bug 785275 - Limit the slice height using the calculated buffer height. r=cpeterson 2012-10-10 21:11:15 -04:00
Chris Peterson 3f0850fa32 Bug 797225 - Part 2: Use software decoder for color formats we don't know how to convert. r=doublec 2012-08-22 18:29:58 -07:00
Chris Peterson 0f0192eef5 Bug 797225 - Part 1: Add an OmxPlugin namespace so we can add local definitions of OMX_COLOR enums that are only defined by some toolchains. r=doublec 2012-09-24 12:31:29 -07:00
Chris Jones ff169f46e4 Bug 793229: Remove shadowed constant. r=cpeterson 2012-09-21 15:52:21 -07:00
Chris Jones e9a0c5b574 Bug 792988: Restore local defines of constants. r=gal 2012-09-20 14:04:20 -07:00
Chris Peterson cb4b172ee4 Bug 784329 - Part 7: Add sanity checking of video format metadata. r=doublec 2012-09-14 16:03:07 -07:00
Chris Peterson 44d47d7e47 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 5ff95887af 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 3a8c5447ea 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 118c6897e7 Bug 784329 - Part 3: Simplify SetVideoFormat() by using local MetaData pointer. r=doublec 2012-09-13 18:51:54 -07:00
Chris Peterson 050276069c Bug 785340 - Part 2: OmxDecoder::ReadVideo() should fail if mVideoSource->read() fails. r=doublec 2012-09-18 17:37:17 -07:00
Chris Peterson 4dabb362fb Bug 785536 - Add PluginHost->GetPref() so platform decoders can query about:config prefs. r=doublec 2012-08-24 14:20:39 -07:00
Chris Peterson da5fe81fb8 Bug 784329 - Part 1: Add some OmxPlugin error logging. r=doublec 2012-08-22 18:29:58 -07:00
Chris Double 07a68e8b9f Bug 766395 - Enable hardware video decoding on Otoro B2G devices - r=edwin 2012-08-22 15:05:09 +12:00
Chris Double 06000df214 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 c3f382c1c9 Bug 782508 - Enable hardware decoder usage in Android libstagefright OMX plugin - r=cpeterson 2012-08-21 15:25:13 +12:00
Chris Double 1c8e270665 Bug 759945 - Part 3: Android OS headers and stub files for software decoding using libstagefright on Android - r=cpearce 2012-08-10 20:15:20 +12:00
Gervase Markham eae6a044f6 Bug 774614 - Relicense Gonk/Gecko interface code to Apache License 2.0. 2012-07-20 10:10:44 +01:00
Ryan VanderMeulen 4c71ae6d9a Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen 202bd53a55 Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00
Chris Double 6501bc9f90 Bug 762366 - Refactor omx plugin's ReadVideo method - r=edwin 2012-06-08 14:30:47 +12:00
Chris Double 49b985c325 Bug 761762 - Fix reading of channel count and sample rate in stagefright decoder on b2g - r=edwin 2012-06-08 14:30:36 +12:00
Chris Double 30bf1a0572 Bug 761786 - fix media playback crash when using omx-plugin and reloading videos - r=edwin 2012-06-07 15:29:08 +12:00