summaryrefslogtreecommitdiffstats
path: root/media/libstagefright
Commit message (Collapse)AuthorAgeFilesLines
* The software FLAC encoder now properly signals an error if clientAndreas Huber2013-05-012-2/+20
| | | | | | | | | attempts to configure it with too large an input buffer size. Previously this would lead to memory corruption during encoding due to a typo. Change-Id: I229b07b7dbe87fb8424419706671b66a8d58ec6b related-to-bug: 8778893
* Remove all traces of wifi display sink implementation and supporting code.Andreas Huber2013-04-2326-6049/+4
| | | | | Change-Id: I64b681b7e3df1ef0dd80c0d261cacae293d5e684 related-to-bug: 8698812
* Merge "3rd time's the charm, right? Fix another instance where MediaCodec ↵Andreas Huber2013-04-221-26/+28
|\ | | | | | | would" into jb-mr2-dev
| * 3rd time's the charm, right? Fix another instance where MediaCodec wouldAndreas Huber2013-04-191-26/+28
| | | | | | | | | | | | | | | | not return from a stop() or release() call if mediaserver dies at just the right moment. Change-Id: I7728f8df82d62602d4d272f8023aa88678dd7d95 related-to-bug: 8397711
* | Merge "A flush of a video decoder connected to a native window must reclaim" ↵Andreas Huber2013-04-191-0/+40
|\ \ | |/ |/| | | into jb-mr2-dev
| * A flush of a video decoder connected to a native window must reclaimAndreas Huber2013-04-191-0/+40
| | | | | | | | | | | | | | | | | | | | output buffers already queued for rendering before considering a flush completed. Otherwise the decoder may not have enough output buffers to continue decoding after the discontinuity and we'll never dequeue more from the native window. Change-Id: I42e275dc336568e180081c6d7c0dc05fc9637c79 related-to-bug: 8578467
* | Merge "Make sure MediaCodec::stop() and MediaCodec::release() still return" ↵Andreas Huber2013-04-191-1/+23
|\ \ | | | | | | | | | into jb-mr2-dev
| * | Make sure MediaCodec::stop() and MediaCodec::release() still returnAndreas Huber2013-04-181-1/+23
| |/ | | | | | | | | | | | | | | instead of blocking indefinitely if the mediaserver died while the call is pending. Change-Id: If2789b7fe99634d947ce4a3bb69c04baff5f8b10 related-to-bug: 8397711
* | Merge "Fix sample info parsing" into jb-mr2-devMarco Nelissen2013-04-191-58/+83
|\ \
| * | Fix sample info parsingMarco Nelissen2013-04-181-58/+83
| |/ | | | | | | | | | | b/8626561 Change-Id: Ibd5168282eb33d1abdc423e15a0d9aeb5a1ad687
* | OMXNodeInstance: actually fix OMX_GetExtIndex loggingJamie Gennis2013-04-181-4/+5
|/ | | | | Bug: 8538872 Change-Id: I228746e8eb502af4bba4054caa4d8569fab35025
* Merge "Make sure the drain buffer is big enough" into jb-mr2-devMarco Nelissen2013-04-171-3/+6
|\
| * Make sure the drain buffer is big enoughMarco Nelissen2013-04-161-3/+6
| | | | | | | | | | | | b/8614909 Change-Id: I9d973dcd74100b793791359c262b821207ff9ddd
* | Merge "Apparently the mp3 decoder glitches if it was configured with the ↵Andreas Huber2013-04-173-0/+39
|\ \ | | | | | | | | | wrong" into jb-mr2-dev
| * | Apparently the mp3 decoder glitches if it was configured with the wrongAndreas Huber2013-04-173-0/+39
| |/ | | | | | | | | | | | | sample rate. Make sure we tell it about the one the extractor provides. Change-Id: Ice5b9cf55485ca1a8f099a14be0202be9540e781 related-to-bug: 8621639
* | Merge "Parse the last none-empty line of .m3u8 file" into jb-mr2-devAndreas Huber2013-04-171-3/+0
|\ \ | |/ |/|
| * Parse the last none-empty line of .m3u8 fileSungsoo Lim2013-04-161-3/+0
| | | | | | | | | | | | | | | | | | If the last sentence of .m3u8 file is not processed, because it is not empty and has no line feed, M3UParser.isComplete() returns false even though it is completed. Change-Id: I01b9f900d44247a3ef40369a2f9198bb7eaf01b7 related-to-bug: 8405824
* | Merge "Better default AAC DRC setting" into jb-mr2-devJean-Michel Trivi2013-04-161-0/+3
|\ \
| * | Better default AAC DRC settingJean-Michel Trivi2013-04-151-0/+3
| |/ | | | | | | | | | | | | | | By default, use boost and attenuation together. bug 7140036 Change-Id: Ie0565f9e5cd24f7a59b5a218b4e6186661832601
* | Fix Vorbis decoder resetMarco Nelissen2013-04-151-1/+12
| | | | | | | | | | | | b/8543366 Change-Id: I9f32e96fdfc355cf444259a7c40554e2de184728
* | Merge "Fix AAC decoder reconfiguration" into jb-mr2-devMarco Nelissen2013-04-151-0/+6
|\ \
| * | Fix AAC decoder reconfigurationMarco Nelissen2013-04-151-0/+6
| |/ | | | | | | | | | | | | | | The recent flush() changed made the codec behave differently after a reconfigure. Now we reset its state properly again. b/8543366 Change-Id: I8807b5ab02249b43fc1cf315d4e8d4ceb3f9b298
* | Merge "MediaMuxer prefer not to use the MPEG4Writer in real time recording ↵ztenghui2013-04-152-16/+28
|\ \ | |/ |/| | | mode." into jb-mr2-dev
| * MediaMuxer prefer not to use the MPEG4Writer in real time recording mode.ztenghui2013-04-152-16/+28
| | | | | | | | | | | | | | | | By default, MPEG4Write will keep running in real time recording mode. bug:8598944 Change-Id: Idf7fbd4e0feb7763660a74279ba8817b79098aaf
* | Merge "OMXNodeInstance: fix OMX_GetExtensionIndex logging" into jb-mr2-devJamie Gennis2013-04-121-17/+15
|\ \
| * | OMXNodeInstance: fix OMX_GetExtensionIndex loggingJamie Gennis2013-04-091-17/+15
| | | | | | | | | | | | | | | | | | | | | | | | This change fixes the logging of OMX_GetExtensionIndex errors. Under certain circumstances these errors are not harmful and should not be logged. Bug: 8538872 Change-Id: I19a13d29ca6263454a9a7a8be205e10363725f31
* | | Merge "Fix MediaCodec.flush()" into jb-mr2-devMarco Nelissen2013-04-123-56/+55
|\ \ \
| * | | Fix MediaCodec.flush()Marco Nelissen2013-04-123-56/+55
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | There were two problems here. One was that the skip/cut buffer wasn't cleared when it should be, and the second was that we were always sending the first buffer of encoded data to the AAC decoder twice. b/8543366 Change-Id: Ic040edabf16cccd1f6ef8c9e5c9cfbacbdd8a089
* | | Merge "ACodec now signals an error if the mediaserver died while it is in" ↵Andreas Huber2013-04-122-9/+50
|\ \ \ | | | | | | | | | | | | into jb-mr2-dev
| * | | ACodec now signals an error if the mediaserver died while it is inAndreas Huber2013-04-112-9/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | anything other than "uninitialized" state. Change-Id: Id133d897ac65b455b34e5de17ff9c39b47285630 related-to-bug: 8397711
* | | | The framework really doesn't need to know the specifics of the codecAndreas Huber2013-04-112-15/+0
|/ / / | | | | | | | | | | | | | | | | | | color format, so stop trying to enforce a whitelist. Change-Id: I0ceb3bdd5bcc6c1bbd56740b0cd662a2b5820dfe related-to-bug: 8596546
* | | Add liblogYing Wang2013-04-0925-21/+31
|/ / | | | | | | | | Bug: 8580410 Change-Id: If493d87d60d71be664ad75b140c62acadb75b0d0
* | Add support for common encryptionMarco Nelissen2013-04-084-8/+404
| | | | | | | | | | | | b/7465749 Change-Id: I5403b74a5ae428ad28b382863a09daafc400b137
* | Merge "In certain cases where AAC audio frames extended into the next PES ↵Andreas Huber2013-04-051-24/+37
|\ \ | | | | | | | | | payload" into jb-mr2-dev
| * | In certain cases where AAC audio frames extended into the next PES payloadAndreas Huber2013-04-051-24/+37
| | | | | | | | | | | | | | | | | | (inside transport streams) timestamps would be miscalculated. This fixes it. Change-Id: I9d74eeea474d2b89e8a9cdc478ed6085282fb3be
* | | Merge "Make sure resume() and flush() are handled appropriately even if the ↵Marco Nelissen2013-04-041-0/+15
|\ \ \ | |/ / |/| | | | | codec" into jb-mr2-dev
| * | Make sure resume() and flush() are handled appropriately even if the codecMarco Nelissen2013-04-041-0/+15
| | | | | | | | | | | | | | | | | | | | | is in Loaded->Idle state. b/8347958 Change-Id: Ic14d29502a7effc636251379bb1bbc25739db98e
* | | Merge "Fix previous changes." into jb-mr2-devLajos Molnar2013-04-043-8/+13
|\ \ \
| * | | Fix previous changes.Andreas Huber2013-04-043-8/+13
| | | | | | | | | | | | | | | | Change-Id: I1cd3803b6507156174591c3252f1d89ef2e6140a
* | | | Merge "RTPReceiver can now track packet loss, account for late arrivals" ↵Andreas Huber2013-04-042-65/+215
|\ \ \ \ | |/ / / | | | | | | | | into jb-mr2-dev
| * | | RTPReceiver can now track packet loss, account for late arrivalsAndreas Huber2013-04-042-65/+215
| | | | | | | | | | | | | | | | | | | | | | | | it also uses timers to trigger retransmission and packet loss declaration Change-Id: If1f9324783b3bef950076c2edf321f7c33ff9fea
* | | | Merge "Support "raw" packetization in RTPSender." into jb-mr2-devAndreas Huber2013-04-044-1/+46
|\ \ \ \ | |/ / /
| * | | Support "raw" packetization in RTPSender.Andreas Huber2013-04-044-1/+46
| | | | | | | | | | | | | | | | Change-Id: I14d59573ee0f57eccc104fea0fb46377476d213d
* | | | Merge "New nettest, a simple TCP connection test to measure" into jb-mr2-devAndreas Huber2013-04-042-0/+418
|\ \ \ \ | |/ / /
| * | | New nettest, a simple TCP connection test to measureAndreas Huber2013-04-042-0/+418
| | | | | | | | | | | | | | | | | | | | | | | | latency between two devices exchanging low-bitrate data. Change-Id: Iac138fa70d2a69bbc86c517c953011c80bed071f
* | | | Merge "RTPTest updated to allow for UDP/TCP transport and abstracted" into ↵Andreas Huber2013-04-041-49/+228
|\ \ \ \ | |/ / / | | | | | | | | jb-mr2-dev
| * | | RTPTest updated to allow for UDP/TCP transport and abstractedAndreas Huber2013-04-041-49/+228
| | | | | | | | | | | | | | | | | | | | | | | | where the data is coming from, also added time synchronization. Change-Id: Iecc2201a2bd17be06f16690a28261bef5b4e439c
* | | | Merge "Track max latency in WifiDisplaySink" into jb-mr2-devAndreas Huber2013-04-042-5/+20
|\ \ \ \ | |/ / /
| * | | Track max latency in WifiDisplaySinkAndreas Huber2013-04-042-5/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | also unbreak non-special-mode by choosing a proper time offset based on arrival time of the first access unit even when no time synchronization is present. Change-Id: I133050afc6f70d4639ca45de68a31d5bc3594e96
* | | | Merge "Reduce TimeSyncer frequency to once every 60 secs, added some logs" ↵Andreas Huber2013-04-042-1/+7
|\ \ \ \ | |/ / / | | | | | | | | into jb-mr2-dev