summaryrefslogtreecommitdiffstats
path: root/media/libstagefright
Commit message (Collapse)AuthorAgeFilesLines
* Use system property to control whether we will enable B frame support in ↵James Dong2011-06-171-1/+11
| | | | | | | | | | MPEG4Writer o This is to work around a bug in crespo's video encoder output timestamp related-to-bug: 4600191,4724339 Change-Id: I485c1e044bd2f604b318692efd6433345cfc6487
* Merge "Merge chromium to r11.0.672.0: Compile fix"Kristian Monsen2011-06-142-4/+4
|\
| * Merge chromium to r11.0.672.0: Compile fixKristian Monsen2011-06-072-4/+4
| | | | | | | | | | | | | | Cause by upstream CL: http://src.chromium.org/viewvc/chrome/trunk/src/net/url_request/url_request_context.h?r1=70592&r2=71522&pathrev=74924 Change-Id: Iada1639b7a38cee963644437e8e3f4f5708d6136
* | Merge "Bug 4608375"Glenn Kasten2011-06-143-4/+3
|\ \
| * | Bug 4608375Glenn Kasten2011-06-143-4/+3
| | | | | | | | | | | | | | | | | | Update priority and policy together for audio threads Change-Id: Ib3b07b32586c222c4aacbf23414ae8b05db502be
* | | Merge "Enforce the rule that the timestamp from timelapse video source ↵James Dong2011-06-141-1/+2
|\ \ \ | | | | | | | | | | | | monotically increases"
| * | | Enforce the rule that the timestamp from timelapse video source monotically ↵James Dong2011-06-131-1/+2
| |/ / | | | | | | | | | | | | | | | increases Change-Id: Ie5ccb43e0192420300da58525ec52af7544e8e9e
* | | Add B frame support for MPEG4WriterJames Dong2011-06-132-9/+142
|/ / | | | | | | | | | | o requires the support of negative ctts duration values (ctts version 1) Change-Id: Ib14130c9359c3bff3c76f20a7380d468a065dcaf
* | Avoid duplicated code calculating the stts sample durationJames Dong2011-06-101-22/+21
| | | | | | | | | | | | | | o This also speeds up the MediaRecorder.stop() call. o Also fix incorrect start time compensation in stts box Change-Id: I6392b8b980e0f786ddeeec0fe2c341de67208c6f
* | Merge "Call storeMetaDataInVideoBuffers() before get/setParameters() on ↵James Dong2011-06-101-9/+10
|\ \ | | | | | | | | | index OMX_IndexParamPortDefinition"
| * | Call storeMetaDataInVideoBuffers() before get/setParameters() on index ↵James Dong2011-06-081-9/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | OMX_IndexParamPortDefinition This can potentially save lot of memory for video recording use case since the video encoder can advertise a much smaller size of the input buffers which are allocated by SF by default. Change-Id: I582a356cd02c7852e13f2713d90ad5f1eb43177d
* | | Merge "Correctly handle crop rect event in SoftAVC.cpp"James Dong2011-06-102-8/+11
|\ \ \
| * | | Correctly handle crop rect event in SoftAVC.cppJames Dong2011-06-092-8/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Width and height of the video frame was incorrectly overwritten when a cropping need was detected. Using a separate crop width and crop height resolves the problem. Change-Id: I8a371c7fe7f8417a7995d7a7fe231120274ea0c8 related-to-bug: 4575591
* | | | Merge "Make dumpsys(media.player) more useful by having AwesomePlayer ↵Andreas Huber2011-06-102-44/+242
|\ \ \ \ | | | | | | | | | | | | | | | populate it."
| * | | | Make dumpsys(media.player) more useful by having AwesomePlayer populate it.Andreas Huber2011-06-082-44/+242
| | |/ / | |/| | | | | | | | | | Change-Id: I12ba7d542331a8293d67a0d47378b8be4f777759
* | | | am 6a91953c: am 90dc22fa: am a02d9bf9: Make sure we don\'t read from invalid fdsMarco Nelissen2011-06-091-0/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * commit '6a91953cc9bb8a48d867cc53e3cf5286d9a2f5ac': Make sure we don't read from invalid fds
| * \ \ \ am 90dc22fa: am a02d9bf9: Make sure we don\'t read from invalid fdsMarco Nelissen2011-06-091-0/+3
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * commit '90dc22fa09c4cddb94926b8a8f08fd3d0a404f7f': Make sure we don't read from invalid fds
| | * \ \ \ am a02d9bf9: Make sure we don\'t read from invalid fdsMarco Nelissen2011-06-091-0/+3
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'a02d9bf9c3ff22cd449da21ff7c23170488ebd8e': Make sure we don't read from invalid fds
| | | * | | | Make sure we don't read from invalid fdsMarco Nelissen2011-06-091-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b/4580570 Change-Id: I622f001551a404a7a840d8388a9febac2db107ad
| | * | | | | am 8050a02b: DO NOT MERGE: Linux sockets are odd, closing a socket ↵Andreas Huber2011-06-021-17/+79
| | |\ \ \ \ \ | | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | descriptor does not abort pending recv/send calls. * commit '8050a02b0130f0ba2e2ddfc240aa59029ee2ac6d': DO NOT MERGE: Linux sockets are odd, closing a socket descriptor does not abort pending recv/send calls.
| | | * | | | DO NOT MERGE: Linux sockets are odd, closing a socket descriptor does not ↵Andreas Huber2011-06-011-17/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | abort pending recv/send calls. Change-Id: Iaee1821257a25a5257d93c9f5ba3976748cad619 related-to-bug: 3362836, 4439092
| | * | | | | am f0f1ceeb: DO NOT MERGE: Make sure we restart the prefetcher immediately ↵Andreas Huber2011-04-183-12/+26
| | |\ \ \ \ \ | | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when trying to satisfy a read. * commit 'f0f1ceeb517ff226532a407da6d55602f195e5b5': DO NOT MERGE: Make sure we restart the prefetcher immediately when trying to satisfy a read.
| | | * | | | DO NOT MERGE: Make sure we restart the prefetcher immediately when trying to ↵Andreas Huber2011-04-143-12/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | satisfy a read. Change-Id: I27c2b5d20ae577e71936d32522f70f6ba08cc247 related-to-bug: 4286618
| | * | | | | am ea5d2c58: Merge "When read() from AudioRecord returns 0 or negative ↵James Dong2011-04-041-2/+3
| | |\ \ \ \ \ | | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | value, report an error to application. DO NOT MERGE." into gingerbread * commit 'ea5d2c584490424be6bbc27dec58b4f9868d631e': When read() from AudioRecord returns 0 or negative value, report an error to application. DO NOT MERGE.
| | | * | | | When read() from AudioRecord returns 0 or negative value, report an error to ↵James Dong2011-03-301-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | application. DO NOT MERGE. Change-Id: I3a66fd0ed3f6b90350d706a608a39d8b4a398e32 related-to-bug: 4195127
| | * | | | | am 68f66b94: Merge "MP3Extractor and MP3 decoder fixes - DO NOT MERGE" into ↵James Dong2011-03-112-8/+47
| | |\ \ \ \ \ | | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gingerbread * commit '68f66b945e7a69549689becd2e656d9056f1e7f5': MP3Extractor and MP3 decoder fixes - DO NOT MERGE
| | | * | | | MP3Extractor and MP3 decoder fixes - DO NOT MERGEJames Dong2011-03-112-8/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cherry-picked the following patches from HC branch: o PV's mp3 decoder mistreated inputBufferCurrentLength in unit of bytes as in unit of bits o Do not enforce the rule in MP3Extractor that all audio frames in an mp3 file must have the same mode o When the temp buffer wraps around, the next read position should start from what have been read to avoid reading the same remaining bytes in the buffer again. o Speed up MP3Extractor using cached reads bug - 4083532 Change-Id: I7bbd2bd358fd5ee322287866cb8ee0c2bb217fea
* | | | | | | Fix an issue in MPEG4Writer where the write of outstanding chunks in the ↵James Dong2011-06-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | last batch was missing Change-Id: I93c9f6ae7ed098cdf828b2b11a9273c9e0c244e3
* | | | | | | Merge "Add timestamp and data pointer checks in CameraSource"James Dong2011-06-091-5/+5
|\ \ \ \ \ \ \ | |_|_|_|_|/ / |/| | | | | |
| * | | | | | Add timestamp and data pointer checks in CameraSourceJames Dong2011-06-031-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I99e188f631df2257813aa7ec657d6ecfc8859d9e
* | | | | | | This device-specific workaround is no longer necessary.Andreas Huber2011-06-082-11/+1
| |_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We can now enable yuv->yuv blitting instead of converting to RGB565. Change-Id: Ia6a94b706f20a0c9e6ef78a7325cff4f5bb216b8 related-to-bug: 4394005
* | | | | | Merge "Fix the comment for the location box @xyz"James Dong2011-06-061-2/+2
|\ \ \ \ \ \
| * | | | | | Fix the comment for the location box @xyzJames Dong2011-06-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I5347e346eef40a8ba90e7a3fa786b4654d18606b
* | | | | | | Merge "Move OMX_QCOM_COLOR_FormatYVU420SemiPlanar definition to OMX_IVCommon.h"James Dong2011-06-033-8/+0
|\ \ \ \ \ \ \
| * | | | | | | Move OMX_QCOM_COLOR_FormatYVU420SemiPlanar definition to OMX_IVCommon.hJames Dong2011-06-033-8/+0
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | Change-Id: I5cbc7246a63301fa7ff735fa3d6512e940608d2b
* | | | | | | Merge "Initial-checkin for ON2 Software AVC/H264 decoder"James Dong2011-06-03403-0/+112275
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | |
| * | | | | | Initial-checkin for ON2 Software AVC/H264 decoderJames Dong2011-06-02403-0/+112275
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o when neon is present, the performance gain of On2 AVC software decoder over PV software decoder is more than 30%. o In addition, it fixes some known PV software decoder issues like missing output frames o allow both pv and on2 software avc to be available for easy comparision o change output frames from 8 to 16 Change-Id: I567ad1842025ead7092f0c47e3513d6d9ca232dd
* | | | | | Merge "Don't advertise the (old-style) software decoders unless they're ↵Andreas Huber2011-06-021-0/+2
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | actually present."
| * | | | | Don't advertise the (old-style) software decoders unless they're actually ↵Andreas Huber2011-06-021-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | present. Change-Id: I3753a21e1a7de86432c9c087be9d52028e3a1e1b
* | | | | | Do not call getEstimatedBandwidth if the streaming is not HTTP-basedJames Dong2011-06-025-9/+21
|/ / / / / | | | | | | | | | | | | | | | Change-Id: I4ab6c57e5b2b989676b8dfbb98402d10a5752261
* | | | | Revert "Use AudioTrack::event_type not int in callback"Glenn Kasten2011-06-011-2/+2
| | | | | | | | | | | | | | | This reverts commit 2225e4b7049fa3fb9d39a068b8268b63c952d7c1
* | | | | Use AudioTrack::event_type not int in callbackGlenn Kasten2011-06-011-2/+2
| | | | | | | | | | | | | | | | | | | | Change-Id: Ifefc708d46874e04fd0d01cb6e2d43b987ee796c
* | | | | Send estimated bandwidth value as informational event when cache fetcher pausesJames Dong2011-05-3110-99/+156
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o Application can make informed decision about the available network bandwidth when cache fetcher pauses. o Application can also adjust how frequently the bandwidth is estimated within a range from one second to one minute. Change-Id: I90068001343e79da1886de03c565537787e1580b
* | | | Merge "Extract embedded cover art (aka poster frame) in mp4 files"James Dong2011-05-262-1/+37
|\ \ \ \
| * | | | Extract embedded cover art (aka poster frame) in mp4 filesJames Dong2011-05-262-1/+37
| | | | | | | | | | | | | | | | | | | | Change-Id: Ic9421ee27b9aa3b27df00878b887de20f25d232b
* | | | | am c004a0c9: am 05e13b9e: am c1ded373: Merge "Revert "Use pread() to get the ↵James Dong2011-05-261-7/+0
|\ \ \ \ \ | |/ / / / |/| / / / | |/ / / | | | | | | | | | | | | decrypted data for container based DRM file."" into honeycomb-mr2 * commit 'c004a0c925ea2c9c48bbf9670d2ebf96f432c90a': Revert "Use pread() to get the decrypted data for container based DRM file."
| * | | am c1ded373: Merge "Revert "Use pread() to get the decrypted data for ↵James Dong2011-05-251-7/+0
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | container based DRM file."" into honeycomb-mr2 * commit 'c1ded373951f8bd489401e93f2dd512ff9705a49': Revert "Use pread() to get the decrypted data for container based DRM file."
| | * | | Revert "Use pread() to get the decrypted data for container based DRM file."James Dong2011-05-251-7/+0
| | | | | | | | | | | | | | | | | | | | This reverts commit a6f1104b9d829c636b60b9387e379f9667b5df09.
* | | | | Merge "Support mpeg1,2 audio and mpeg1,2,4 video content extraction from .ts ↵Andreas Huber2011-05-2615-276/+888
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | streams."
| * | | | | Support mpeg1,2 audio and mpeg1,2,4 video content extraction from .ts streams.Andreas Huber2011-05-2515-276/+888
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I9d2ee63495f161e30daba7c3aab16cb9d8ced6a5