Commit Graph

228 Commits

Author SHA1 Message Date
Benjamin Chen
42ebc61d00 Bug 1033912 - Fix nits and coding style. r=cpearce 2014-08-19 16:14:46 +08:00
Benjamin Chen
95d4e975ba Bug 1033912 - Separate MediaTaskQueues for the video/audio decoding. r=cpearce, r=brsun 2014-08-20 18:17:38 +08:00
Vasanthakumar Pandurangan
02ce0b67cb Bug 1053186 - AudioOffloadPlayer: Avoid glitch during start of playback. r=roc 2014-08-18 05:49:51 -07:00
Bruce Sun
27caed8897 Bug 1033902 - Integrate offload player into MediaCodec related codes. r=roc 2014-08-14 11:40:20 +08:00
Bruce Sun
ec873cec57 Bug 1033902 - Extract the logic of offload-audio from MediaOmxDecoder to a parent class. r=roc
--HG--
rename : content/media/omx/MediaOmxDecoder.cpp => content/media/omx/MediaOmxCommonDecoder.cpp
rename : content/media/omx/MediaOmxDecoder.h => content/media/omx/MediaOmxCommonDecoder.h
rename : content/media/omx/MediaOmxReader.cpp => content/media/omx/MediaOmxCommonReader.cpp
rename : content/media/omx/MediaOmxReader.h => content/media/omx/MediaOmxCommonReader.h
2014-08-14 11:38:21 +08:00
Blake Wu
584233ce74 Bug 941302 - Part 2: Changes in MediaCodecProxy. r=edwin
From b24f8c0da5baaafad2bbba1bbeee304d5c746631 Mon Sep 17 00:00:00 2001
2014-08-07 18:19:10 +08:00
Benjamin Chen
23b6b380e9 Bug 1043900 - Handle EOS properly. Send EOS to MediaCodec from input source and receive it from output. r=cpearce 2014-08-04 15:52:43 +08:00
Bruce Sun
1bbf864d99 Bug 1041453 - Fix crash issues of MediaCodecReader for Vorbis data. r=cpearce 2014-07-29 11:03:06 +08:00
Sotaro Ikeda
4b5b9bdeda Bug 1042308 - Return All MediaBuffers to OMXCodec during OMXCodec shutdown r=cajbir,nical 2014-07-24 08:24:42 -07:00
Ralph Giles
1708dd184e Bug 1042810 - Use string comparison for Android versions. r=gps 2014-07-23 10:07:35 -07:00
Bruce Sun
760f974c43 Bug 1038564: Fix MediaCodecProxy build fail on flatfish device. r=cpearce
Although android::MediaCodec has been added into AOSP in level 16,
some APIs (ex. signalEndOfInputStream) we used in MediaCodecReader
were added into AOSP in level 18.
2014-07-22 15:35:15 +08:00
Vasanthakumar Pandurangan
9a26772783 Bug 1042003 - Convert secs to usecs before passing to SeekTarget. r=roc 2014-07-22 03:54:32 -07:00
Mike Hommey
9ae3c48776 Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal 2014-07-23 08:37:51 +09:00
Gregory Szorc
f0906d7f80 Bug 1040413 - Do not cast ANDROID_VERSION to int; r=nalexander
Ideally it should be converted to an int. But empty variables need to
work. The rest of the tree uses string comparisons.

--HG--
extra : rebase_source : 16701034df6b5047bcd7ca529785ee97b76412ed
extra : amend_source : 9c1cc54c1820dccae514ad06dac5677710e9a8f0
2014-07-17 16:49:37 -07:00
Bruce Sun
d01416c279 Bug 904177 - Add media.omx.async.enabled preference. r=sotaro, r=cpearce 2014-07-16 15:40:05 +08:00
Bruce Sun
88c3fa45d2 Bug 904177 - Create MediaCodecDecoder. r=sotaro, r=cpearce 2014-07-16 15:38:14 +08:00
Bruce Sun
940d5707c2 Bug 904177 - Create MediaCodecReader. r=sotaro, r=cpearce 2014-07-16 15:36:29 +08:00
Bruce Sun
e422707343 Bug 904177 - Extract MediaStreamResource. r=sotaro, r=cpearce 2014-07-16 15:34:30 +08:00
Bruce Sun
dd78ab4dce Bug 904177 - Add I420ColorConverterHelper. r=sotaro, r=cpearce 2014-07-16 15:32:21 +08:00
Edwin Flores
ba3c31b695 Bug 1038467 - Rename MediaPlugin* classes r=cpearce 2014-07-17 13:32:56 +12:00
Bruce Sun
875c2a9ff4 Bug 1037282 - Create MediaResourceHandler and MediaCodecProxy. r=sotaro,cpearce 2014-07-11 11:01:30 +08:00
Carsten "Tomcat" Book
0fc4e58893 Merge mozilla-central to b2g-inbound 2014-07-07 15:40:15 +02:00
Andrew Osmond
e19fb1ef53 Bug 1030007 - Throttle updating the preview window when CPU low and/or encoder falls behind. r=mikeh, r=cpearce 2014-07-02 19:55:00 -04:00
Shelly Lin
c7b36f2e75 Bug 744896 - Part 3: Pass MediaInfo to functions MetadataLoaded and QueueMetadata. r=roc. 2014-07-04 11:54:54 +08:00
Carsten "Tomcat" Book
b3b2887e64 Backed out changeset 7691b13459f4 (bug 744896) for B2G ICS Emulator Opt test failures on a CLOSED TREE 2014-07-03 11:51:41 +02:00
Shelly Lin
355341a6ea Bug 744896 - Part 3: Pass MediaInfo to functions MetadataLoaded and QueueMetadata. r=roc. 2014-07-03 14:04:08 +08:00
Benjamin Chen
f62a5d662c Bug 1021006 - [RTSP] Browser pops up a network warning message in the end of RTSP streaming. r=sworkman 2014-06-17 17:47:13 +08:00
Eric Phan
d7e21aee71 Bug 1015985 - Set decoder seekable members outside of ReadMetadata by StateMachine. r=cpearce 2014-06-23 22:08:34 +12:00
Chris Pearce
763787ecd7 Bug 979104 - MediaDecoderReader/StateMachine asynchronous decoding. r=kinetik 2014-06-18 17:07:02 +12:00
Ehsan Akhgari
3b9861ed6a Backed out changeset 0cdef46c65c1 (bug 979104) for causing bug 1024324 2014-06-13 16:20:37 -04:00
Jonathan Watt
49bf9acb82 Bug 1022667, part 2 - Remove BytesToTime from MediaOmxReader.cpp. r=cpearce 2014-06-10 16:42:21 +01:00
Chris Pearce
5f9673dc9d Bug 979104 - MediaDecoderReader/StateMachine asynchronous decoding. r=kinetik 2014-06-10 19:31:09 +12:00
Vasanthakumar Pandurangan
82ce5155e4 Bug 1020176 - AudioOffloadPlayer: Avoid calling ResumeStateMachine from multiple paths. r=roc 2014-06-04 14:25:21 +05:30
Randell Jesup
a520439607 Bug 1003712: Codec availability support and prioritization r=ehugg 2014-06-04 14:52:32 -04:00
Randell Jesup
0e3d803a91 Bug 1003712: Use Media Resource Manager to reserve OMX Codecs r=jhlin 2014-06-04 14:52:31 -04:00
John Lin
518d164a09 Bug 1003712: extend MediaResourceManagerService to support video encoder and no-wait mode. r=rjesup,jhlin,sotaro 2014-06-04 14:52:21 -04:00
Randell Jesup
92de819796 Bug 1014819: remove no-longer-needed OMXCodec GetCodecConfig r=roc 2014-05-24 18:28:04 -04:00
Randell Jesup
0caf937427 Bug 997567: Support reconfiguration for frame-rate changes on OMX H.264 encoder r=jhlin 2014-05-24 18:28:02 -04:00
Kyle Huey
941a5ee91b Bug 996133: Remove unnecessary NS_DISPATCH_NORMAL arguments to NS_DispatchToMainThread. r=ehsan 2014-05-23 12:53:17 -07:00
Carsten "Tomcat" Book
2d16b888a9 merge b2g-inbound to mozilla-central 2014-05-21 14:08:03 +02:00
Sotaro Ikeda
fdbe6bc995 Bug 1011130 - Fix video seek problem in OmxDecoder r=cajbir 2014-05-20 18:22:57 -07:00
Randell Jesup
ff586c032f Bug 1006285: make MediaCodec bitrate setting work for KitKat-based builds r=jhlin 2014-05-18 10:17:01 -04:00
JW Wang
5f4967bb8e Bug 1000841 - remove SetActive() from MediaDecoderReader. Its user needs to know when to call SetIdle() only. r=cpearce 2014-05-19 04:23:00 +02:00
John Lin
22a50710de Bug 1010841 - Handle on-demand key frame request in OMX H.264 encoder. r=jesup 2014-05-16 01:56:00 -04:00
Randell Jesup
c5da908831 Bug 1005637: undo accidental parameter change not part of reviewed code rs=jesup 2014-05-11 10:45:09 -04:00
Randell Jesup
e026a20ad8 Bug 1005637: Add support for controlling the OMX encoder config settings r=roc 2014-05-10 08:21:23 -04:00
Ryan VanderMeulen
150ab7617e Merge b2g-inbound to m-c. 2014-05-08 15:52:48 -04:00
Benjamin Chen
617936e233 Bug 1000195 - Fix the auto-play path by calling MediaDecoder::NotifySuspendedStatusChanged. r=sworkman, r=ettseng 2014-05-08 14:30:30 +08:00
Robert O'Callahan
cba0344980 Bug 1006248. Part 4: Use better #include paths for libstagefright headers in a couple of places. r=glandium
--HG--
extra : rebase_source : e8c7e019b0bc5bf60081aad158a7d89fbb261e29
2014-05-06 17:40:59 +12:00
Robert O'Callahan
4c2b59d379 Bug 1006248. Part 1: Add MOZ_EXPORT in various places. r=glandium
--HG--
extra : rebase_source : cfe209a412cae28d405eae413415cebb6959072a
2014-05-06 17:26:46 +12:00