summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
...
* Handle recording file size and/or duration limitJames Dong2010-05-143-1/+21
| | | | Change-Id: Ib9ed1f3ebd8fef550cc130a7ef11f2905fa9aedc
* AudioFlinger: rename variables to clarify reference to track channel count ↵Eric Laurent2010-05-141-1/+1
| | | | | | | | | | | or channel mask Some variables and structure members should be renamed to reflect the fact that they contain the number of channels in a track (channel count) or the actual channels used by a track (channel mask). Especially member "channels" of track control block (struct audio_track_cblk_t) is actually the number of channels (channels count). Change-Id: I220c8dede9fc00c8a5693389e790073b6ed307b8
* Remove dummy surface in CameraSourceJames Dong2010-05-131-4/+0
| | | | | | bug - 2680919 Change-Id: Ia0308cf57fd67058b4dd0e042b3ce97f13df475f
* SharedBufferStack now can grow up to 16 buffers.Mathias Agopian2010-05-121-3/+52
| | | | | | there is a new resize() api, which currently only allows growing. Change-Id: Ia37b81b73be466d2491ffed7f3a23cd8e113c6fe
* am b003ad17: am e0dc80f8: Merge "Support for customizable socket-read ↵Andreas Huber2010-05-121-0/+1
|\ | | | | | | | | | | | | | | | | timeouts through the HTTP response." into froyo Merge commit 'b003ad17bffeba7875b9708ffeef2300ef28c916' into kraken * commit 'b003ad17bffeba7875b9708ffeef2300ef28c916': Support for customizable socket-read timeouts through the HTTP response.
| * Support for customizable socket-read timeouts through the HTTP response.Andreas Huber2010-05-111-0/+1
| | | | | | | | | | | | | | | | | | Specify a response header of "X-SocketTimeout: 15" to override the default timeout of 5 secs with a timeout of 15 seconds. Specify a negative value to disable the timeout altogether. Change-Id: I545adf3d8b3f7efe5f8d081a641c6404440a77db related-to-bug: 2675721
* | am d8c33747: am 78624e41: Add remove method in CameraParameters class.Wu-cheng Li2010-05-121-9/+2
|\ \ | |/ | | | | | | | | | | Merge commit 'd8c33747afbe98e893e0569f3bf45b67a9e8e728' into kraken * commit 'd8c33747afbe98e893e0569f3bf45b67a9e8e728': Add remove method in CameraParameters class.
| * Add remove method in CameraParameters class.Wu-cheng Li2010-05-111-9/+2
| | | | | | | | | | bug:2672651 Change-Id: I537c817b5ca6a3d925f22febe9a5769156354d00
* | Output streamable MP4 file during MP4 file recordingJames Dong2010-05-111-0/+8
| | | | | | | | | | | | | | When the reserved moov box space is not big enough, fall back to non-streamable MP4 file. Change-Id: I93382d037d657a3f3fe2af31e4ea26e1898b4d95
* | Merge "Add continuous focus mode constant." into krakenWu-cheng Li2010-05-101-0/+6
|\ \
| * | Add continuous focus mode constant.Wu-cheng Li2010-05-101-0/+6
| | | | | | | | | | | | | | | bug:2612447 Change-Id: I9bc3f5a47ad50722a265d50b1d28fb82a2253dc9
* | | am 17078510: am d13efb20: Merge "A new OggExtractor/VorbisDecoder combo to ↵Andreas Huber2010-05-103-1/+8
|\ \ \ | |/ / |/| / | |/ | | | | | | | | | | support approximate seeking." into froyo Merge commit '1707851090e6512a77247b0c260dd673ef687589' into kraken * commit '1707851090e6512a77247b0c260dd673ef687589': A new OggExtractor/VorbisDecoder combo to support approximate seeking.
| * A new OggExtractor/VorbisDecoder combo to support approximate seeking.Andreas Huber2010-05-073-1/+8
| | | | | | | | | | Change-Id: Id5d0c1c8b1adc62896bb5ed951f7b5cfda811e95 related-to-bug: 2654400
* | Support multiple cameras in framework.Chih-Chung Chang2010-05-102-3/+7
| | | | | | | | Change-Id: I081f0fbdca4b633715ea7c3b3d42f8662d27598a
* | am 71bd9fc8: am 100ef9be: Merge "Disable vorbis seek when streaming from ↵Andreas Huber2010-05-063-4/+13
|\ \ | |/ | | | | | | | | | | | | | | localhost." into froyo Merge commit '71bd9fc81e3154b9cad22ca7ff2d9c6ed6fdbe6c' into kraken * commit '71bd9fc81e3154b9cad22ca7ff2d9c6ed6fdbe6c': Disable vorbis seek when streaming from localhost.
| * Disable vorbis seek when streaming from localhost.Andreas Huber2010-05-063-4/+13
| | | | | | | | | | Change-Id: Icda523ae1c89e26482f1c1767fe3a8b9222bb30f related-to-bug: 2654400
* | Support audio and video track interleaving in the recorded mp4 fileJames Dong2010-05-052-4/+12
| | | | | | | | Change-Id: Ifa27eb23ee265f84fe06773b29b0eb2b0b075b60
* | am 8ea45aad: am e083d0a2: Merge "Support for Ogg Vorbis decoding in ↵Andreas Huber2010-05-041-0/+1
|\ \ | |/ | | | | | | | | | | | | | | stagefright." into froyo Merge commit '8ea45aad100ee25067b2e83703454c71a968ba4f' into kraken * commit '8ea45aad100ee25067b2e83703454c71a968ba4f': Support for Ogg Vorbis decoding in stagefright.
| * Support for Ogg Vorbis decoding in stagefright.Andreas Huber2010-05-041-0/+1
| | | | | | | | | | | | | | Set the magic property media.stagefright.enable-vorbis to true to use the new implementation instead of the standalon vorbis player for file-based playback. HTTP streaming of vorbis content will always go through stagefright. Change-Id: Ie3843a99fadb22372f89540d0f8d65196e0c2af8 related-to-bug: 2654400
* | Add support for enqueuing buffers in arbitrary orderMathias Agopian2010-04-281-1/+3
| | | | | | | | | | | | Also added a very simple SharedBufferStack unit test. Change-Id: I253dbbe98a53c966b78d22d4d6dd59f8aefc8c40
* | cleanup. waitForCondition() now uses polymorphsim instead of templtesMathias Agopian2010-04-281-49/+10
| | | | | | | | | | | | | | | | | | the reason for the above change is that waitForCondition() had become large over time, mainly to handle error cases, using inlines to evaluate the condition doesn't buys us much anymore while it increases code size. Change-Id: I2595d850832628954b900ab8bb1796c863447bc7
* | fix a race condition in undoDequeue(), where 'tail' could be computed ↵Mathias Agopian2010-04-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | incorrectly. in the undoDequeue() case, 'tail' was recalculated from 'available' and 'head' however there was a race between this and retireAndLock(), which could cause 'tail' to be recalculated wrongly. the interesting thing though is that retireAndLock() shouldn't have any impact on the value of 'tail', which is client-side only attribute. we fix the race by saving the value of 'tail' before dequeue() and restore it in the case of undoDequeue(), since we know it doesn't depend on retireAndLock(). Change-Id: I4bcc4d16b6bc4dd93717ee739c603040b18295a0
* | Use timestamp from camera driver for CameraSourceJames Dong2010-04-281-2/+7
| | | | | | | | Change-Id: I09ddec69997c43b8f17fdd21304c76cb4c5ab8cf
* | added setCrop() to android_native_window_tMathias Agopian2010-04-201-9/+20
| | | | | | | | | | | | | | hooked up the new method up to Surface.cpp the actual crop is not implemented in SF yet Change-Id: Ic6e313c98fd880f127a051a0ccc71808bd689751
* | add support for up to 16 buffers per surfaceMathias Agopian2010-04-201-8/+12
| | | | | | | | | | | | | | also increase the dirtyregion size from 1 to 6 rectangles. Overall we now need 27KiB process instead of 4KiB Change-Id: Iebda5565015158f49d9ca8dbcf55e6ad04855be3
* | am 248ea4a9: am 5baa5e19: Merge "Distinguish QCELP audio from mpeg4 audio, ↵Andreas Huber2010-04-121-0/+1
|\ \ | |/ | | | | | | | | | | | | | | ignore QCELP audio tracks since we don\'t have a decoder for it, ignore potentially malformed metadata for AMR NB and WB tracks." into froyo Merge commit '248ea4a9f773210a7b7dbd7892e6b865a0f7add3' into kraken * commit '248ea4a9f773210a7b7dbd7892e6b865a0f7add3': Distinguish QCELP audio from mpeg4 audio, ignore QCELP audio tracks since we don't have a decoder for it, ignore potentially malformed metadata for AMR NB and WB tracks.
| * Distinguish QCELP audio from mpeg4 audio, ignore QCELP audio tracks since we ↵Andreas Huber2010-04-121-0/+1
| | | | | | | | | | | | | | don't have a decoder for it, ignore potentially malformed metadata for AMR NB and WB tracks. Change-Id: Ic9a9198413431db4ea40bb63b9de91aa8a7183af related-to-bug: 2587341
* | Merge "Remove unnecessary lock from AMRWriter." into krakenAndreas Huber2010-04-121-3/+1
|\ \ | |/ |/|
| * Remove unnecessary lock from AMRWriter.Andreas Huber2010-04-091-3/+1
| | | | | | | | Change-Id: Ia02966d936dd8cbb31e92051578a3fa816885710
* | Add SCENE_MODE_BARCODE and FOCUS_MODE_EDOF.Wu-cheng Li2010-04-101-0/+7
|/ | | | | bug:2544367 Change-Id: If122a7745e080f9e4bffb15dc4930d71f0421867
* Refactor connection/redirection code, support redirects on reconnection.Andreas Huber2010-04-081-3/+2
| | | | | Change-Id: Id2517568000e028b01553c06a4893813a6883168 related-to-bug: 2580785
* Increase the size of the pages used in CachingDataSource (total amount of ↵Andreas Huber2010-04-081-1/+1
| | | | | | | memory used remains the same) to compensate for reduced locality of audio/video data requests. Also fixes a mistaken trailing "\r\n" in the range header and better error handling on http connection. Change-Id: Ic9a6ef204362bc9afdc61e081c76bc62e5ef92ad related-to-bug: 2580785
* Coalesce multiple encoded AAC frames into a single input buffer on this ↵Andreas Huber2010-04-021-10/+13
| | | | | | | particular OMX codec to increase throughput significantly. Change-Id: I90c7db6656a53339c5d454336548c4f00d0d9064 related-to-bug: 2548426
* Public API changes for CameraProfile and CamcorderProfile classesJames Dong2010-04-011-2/+2
| | | | | | | | | | | | 1. CamcorderProfile: “@see” links are broken; Remove m prefix from fields; remove “final” 2. CamcorderProfile.Quality: use an int rather than an enum 3. Add API on MediaRecorder to pass in a CamcorderProfile 4. CameraProfile.getImageEncodingQualityLevels @hide or make it consistent with CamcorderProfile 5. Remove a convenient method and instead let the (mms) app do that task bug - 2553862 Change-Id: I759215c7892f772aeddf3651d17038489c6fbc50
* While streaming media data, upon a socket-read error, try reconnecting to ↵Andreas Huber2010-03-171-1/+7
| | | | | | | the server and attempt to re-read for at most 3 times. Change-Id: I7534905e07a6456d18b26d5d60fa8915f25ae99e related-to-bug: 2492187
* Properly handle errors during the codec configuration phase, attempt to ↵Andreas Huber2010-03-161-1/+3
| | | | | | | revert to next available (likely software-) codec if configuration fails. Change-Id: Id1c699711e30139c9cc29df972254b5ba026e6fb related-to-bug: 2517098
* Fix the media metadata retriever (tests). The native constants must match ↵Andreas Huber2010-03-122-2/+8
| | | | | | those published at the java layer. Change-Id: Ic1efed709e4d93c61913b231a8cd3ef1074f8ca0
* HTTPStream and HTTPDataSource now support cancellation of the connection ↵Andreas Huber2010-03-121-5/+18
| | | | | | | process, AwesomePlayer takes advantage of this in cases where ::reset() or ::suspend() is called while in the preparation phase to bail out early. Also fixes in issue where the audio codec was not properly stopped if no audio player object ever took ownership. Change-Id: I6d73defe6d276693853a469db267bb2668d07af5 related-to-bugs: 2475845,2414536
* Reduce buffer sizes related to HTTP media data transfer in order to reduce ↵Andreas Huber2010-03-101-1/+1
| | | | | | | the probability of a connection timeout/reset due to long periods of time between socket activity. Change-Id: I799ce1d58d56a31088a89603d8a18d24780f5b57 related-to-bug: 2492187
* Instead of instantiating StagefrightMetadataRetriever directly, instantiate ↵Andreas Huber2010-03-101-2/+2
| | | | | | | a MediaMetadataRetriever which will do-the-right-thing(tm) even for .wma/.wmv/.asf files. Change-Id: Ibda4b5268514934f14a3d49a564902bc670f4384 related-to-bug: 2074137
* Merge "Add camera parameter string constant for "true"."Wu-cheng Li2010-03-081-0/+3
|\
| * Add camera parameter string constant for "true".Wu-cheng Li2010-03-081-0/+3
| | | | | | | | | | bug:2458926 Change-Id: I11eaae8ff031765e23f2627ded5873eabc09cead
* | The audio track was accidentally not participating in the prefetch since it ↵Andreas Huber2010-03-081-1/+1
|/ | | | | | | wasn't started at the time prepare() was called. Also, properly report the cached duration even near the end when the source has no more data to fetch. Change-Id: I66a92fec24c9bfb25f1c186f1c877127bae2b4f9 related-to-bug: 2444425
* Add location provider name to gps-processing-method in EXIF header.Ray Chen2010-03-051-0/+3
|
* Issue 2071329: audio track is shorter than video track for video capture on ↵Eric Laurent2010-03-023-0/+12
| | | | | | | | sholes Add API to retrieve number of frames dropped by audio input kernel driver. Submitted on behalf of Masaki Sato <masaki.sato@motorola.com>
* Unhide zoom API.Wu-cheng Li2010-03-011-1/+23
| | | | bug:2458926
* Unhide exposure compensation API.Wu-cheng Li2010-02-261-7/+14
| | | | bug:2375993
* Merge "Image encoding settings java API through xml configuration file"James Dong2010-02-251-0/+17
|\
| * Image encoding settings java API through xml configuration fileJames Dong2010-02-241-0/+17
| | | | | | | | | | | | - I decided to completely remove jpeg decoding related stuff from this change I think that setting is better off if it is specified by the system properties. We don't have to include MediaProfiles.h header in skia files
* | Propagate errors all the way through the MediaSources and send either ↵Andreas Huber2010-02-232-1/+3
| | | | | | | | | | | | MEDIA_PLAYBACK_COMPLETE or MEDIA_ERROR depending on the final reason for running out of buffers to play back. related-to-bug: 2463749