Граф коммитов

53 Коммитов

Автор SHA1 Сообщение Дата
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
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 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
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
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
Andrew Quartey 3a200590dd 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 26d9c1a784 Bug 846465 - Fix OMX plugin crash on HTC One X r=doublec 2013-03-22 15:24:47 +13:00
Edwin Flores 1cd45de6ca 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 803f2b6799 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 5142e6d947 Bug 821160: Bustage fix for Froyo debug build - r=bustage
--HG--
extra : rebase_source : 12d0fa321c4e0a7d55d485ece6cb852fcd41bad2
2012-12-18 15:34:57 +13:00
Chris Double 87da45ea9f Bug 821160 - Part2: Add libomxplugin support for froyo - r=cpeterson 2012-12-18 14:44:17 +13:00
Edwin Flores 48c6073ab3 Bug 803394 - Use Android ColorConverter class for video color conversion on Gingerbread r=doublec
--HG--
extra : rebase_source : c5253447416dd786c347c4e853a20ea011499c18
2012-12-13 11:54:21 +13:00
Edwin Flores 5546139850 Bug 803394 - Use Android ColorConverter class to convert video frames with unknown color formats from libstagefright r=doublec
--HG--
extra : rebase_source : 33633274c3ff303f07c8d269beb6f44752f3e95c
2012-12-13 11:54:13 +13:00
Edwin Flores e9a535f144 Bug 803394 - Provide a callback to media plugins to request video buffers owned by gecko r=doublec
--HG--
extra : rebase_source : e3cb97f3307b603bcdfcdbaeffd05a6e2af14097
2012-12-13 11:53:58 +13:00
Chris Double 5f8336a5b3 Bug 787228 - Part2: Add libomxplugin support for Gingerbread - r=cpeterson
--HG--
extra : rebase_source : 74ae723b5d5b64d913119ea1285da1fc175f9455
2012-11-30 15:37:34 +13:00
Anthony Jones d9992f0b5d Bug 802787 - Work around misreported stride. r=cpeterson 2012-11-01 22:41:03 -04:00
Rafael Ávila de Espíndola 7330a180a0 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 f28024d7c4 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 a22ff01367 Bug 785275 - Limit the slice height using the calculated buffer height. r=cpeterson 2012-10-10 21:11:15 -04:00
Chris Peterson 179b54d53a Bug 797225 - Part 2: Use software decoder for color formats we don't know how to convert. r=doublec
--HG--
extra : rebase_source : c9eaa385d187682bc31191ce091d8bbadb4e2a0a
2012-08-22 18:29:58 -07:00
Chris Peterson 272a937e19 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
--HG--
extra : rebase_source : 5d001667b86b4d5f35928b9997d3672b1beb6ba5
2012-09-24 12:31:29 -07:00
Chris Jones cb77dbee2c Bug 793229: Remove shadowed constant. r=cpeterson 2012-09-21 15:52:21 -07: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
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
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
Chris Peterson 39238f1ffb Bug 784329 - Part 1: Add some OmxPlugin error logging. r=doublec 2012-08-22 18:29:58 -07: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
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
Gervase Markham 1c9fc1e594 Bug 774614 - Relicense Gonk/Gecko interface code to Apache License 2.0. 2012-07-20 10:10:44 +01:00
Ryan VanderMeulen 5f2a19ee6e Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen 6d6c4efbab Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00
Chris Double b66916dcaf Bug 762366 - Refactor omx plugin's ReadVideo method - r=edwin 2012-06-08 14:30:47 +12:00
Chris Double ce1e28acc1 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 0c173131a9 Bug 761786 - fix media playback crash when using omx-plugin and reloading videos - r=edwin 2012-06-07 15:29:08 +12:00
Michael Wu fe6fbbf6c2 Bug 761808 - Fix OMX plugin build on OSX, r=doublec 2012-06-05 19:30:50 -04:00