Commit Graph

49 Commits

Author SHA1 Message Date
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
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
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
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
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
Edwin Flores
7da79436e5 Bug 846465 - Fix OMX plugin crash on HTC One X r=doublec 2013-03-22 15:24:47 +13:00
Edwin Flores
d1a269ea9b 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
d81778f9b0 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
3e4a4a7a65 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
bd4e2bff22 Bug 821160 - Part2: Add libomxplugin support for froyo - r=cpeterson 2012-12-18 14:44:17 +13:00
Edwin Flores
27ad035733 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
1736c6c7e8 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
b3e660b855 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
4c26180a04 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
4b2d5cc7ed Bug 802787 - Work around misreported stride. r=cpeterson 2012-11-01 22:41:03 -04:00
Rafael Ávila de Espíndola
7a1ec44b6c 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
8381b00766 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
df1df69429 Bug 785275 - Limit the slice height using the calculated buffer height. r=cpeterson 2012-10-10 21:11:15 -04:00
Chris Peterson
449376f0dd 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
7ea3598b93 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
5e5744a41b Bug 793229: Remove shadowed constant. r=cpeterson 2012-09-21 15:52:21 -07:00
Chris Jones
c399a51725 Bug 792988: Restore local defines of constants. r=gal 2012-09-20 14:04:20 -07:00
Chris Peterson
b4f15d0c8c Bug 784329 - Part 7: Add sanity checking of video format metadata. r=doublec 2012-09-14 16:03:07 -07:00
Chris Peterson
6b02905326 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
d80cbad891 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
d55df753bd 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
5f243c8da9 Bug 784329 - Part 3: Simplify SetVideoFormat() by using local MetaData pointer. r=doublec 2012-09-13 18:51:54 -07:00
Chris Peterson
f7c044c3e7 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
7d31c29958 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
b81a4e8ce1 Bug 784329 - Part 1: Add some OmxPlugin error logging. r=doublec 2012-08-22 18:29:58 -07:00
Chris Double
d21fe1debb Bug 766395 - Enable hardware video decoding on Otoro B2G devices - r=edwin 2012-08-22 15:05:09 +12:00
Chris Double
f4318197d0 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
1e247811fb Bug 782508 - Enable hardware decoder usage in Android libstagefright OMX plugin - r=cpeterson 2012-08-21 15:25:13 +12:00
Chris Double
d74b5f8a1c 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
69110ab2b1 Bug 774614 - Relicense Gonk/Gecko interface code to Apache License 2.0. 2012-07-20 10:10:44 +01:00
Ryan VanderMeulen
b74e4a29db Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
061d4c2616 Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00
Chris Double
13f9991d22 Bug 762366 - Refactor omx plugin's ReadVideo method - r=edwin 2012-06-08 14:30:47 +12:00
Chris Double
c75ab55914 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
d8fc457685 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
979e32642f Bug 761808 - Fix OMX plugin build on OSX, r=doublec 2012-06-05 19:30:50 -04:00
Chris Double
cdfcde6a3f Bug 759948 - libstagefright based media playback doesn't receive ended event when complete on B2G - r=edwin
--HG--
extra : rebase_source : a6450eb3a2fbb2ac67e329fa9ef9f0bd9e801e89
2012-06-01 12:54:52 +12:00
Chris Double
e66ca64f89 Bug 714408 Part 3 - Fix audio sample rate - r=edwin
--HG--
extra : rebase_source : 6f62016fff4d4547e5d0adc8de513fa917af39ba
2012-06-01 12:54:48 +12:00
Andreas Gal
d3eef34feb Bug 714408 Part 2 - Media plugin support for libstagefright - r=doublec
--HG--
extra : rebase_source : 308d1aab3cfffbb7ddeb0602a3991565603e6212
2012-06-01 12:54:23 +12:00