summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Make sure codec names and corresponding quirks are returned together.Andreas Huber2012-08-071-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously they were returned in separate vectors and only one of them was sorted if software codecs were preferred, leaving the quirks no longer matching the codec name at the same index. Change-Id: Id3f1e6f9f7f8c9cc4b6ebfb86a203b4d59de8604 related-to-bug: 6737884
* | | | Remove obsolete hack for TI specific codeJames Dong2012-08-061-5/+2
| |_|/ |/| | | | | | | | | | | | | | o related-to-bug: 6566886 Change-Id: I39aad214cbf7b748a95a9d22db50cd8f421931e6
* | | Merge "experimental support for fragmented mp4 playback in nuplayer" into ↵Marco Nelissen2012-08-031-1/+5
|\ \ \ | | | | | | | | | | | | jb-mr1-dev
| * | | experimental support for fragmented mp4 playback in nuplayerAndreas Huber2012-08-031-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | cherry picked from change 170999 Change-Id: I407775f0290154ad4961134839a15c9f296424c0
* | | | Dynamically configure the number of video buffers used by camera source, if ↵James Dong2012-08-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | supported o related-to-bug: 6920805 Change-Id: I413bb50954cc84e32ed40bcb713842dc7b58e2b6
* | | | Allocate buffers before calling start on its source in OMXCodec::start() for ↵James Dong2012-08-021-0/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | encoder case o This makes it possible to configure the source to use the same number of input buffers as requested by the video encoder, before the source starts. As a result, hardcoded number of video buffers for camera source, for instance, can be avoided. o related-to-bug: 6920805 Change-Id: I13d2c308dce34967768cd407f02988e92ef10a89
* | | Unifying TimedTextDriver's resume() and start().Insun Kang2012-08-021-1/+1
| | | | | | | | | | | | | | | | | | (cherry picked from gtv bb23a2b7e06c59f56e353fd4a2a66a9b8179d425) Change-Id: If5f14549fa315c34e32d6fed7c1ea09deabceb63
* | | Adds resume() functionInsun Kang2012-08-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | o Revived resume() function to fix pause/resume bug. (Bug: 6663740) o Mannually cherry-picked from GTV change. (commit: ad1197226d1c6745959f0e469f510ca06f99489f) Change-Id: I77ac90085fb1f1d2e7eb706642978a4fa4d28b49
* | | Allows MediaMetadataRetriever to retrieve video rotation angleJames Dong2012-07-311-0/+1
| | | | | | | | | | | | | | | | | | o related-to-bug: 6872687 Change-Id: I34e74b0756f8269edefdf3a25d8806c76fd1e2f8
* | | Swap the order of creating IAudioTrack and threadGlenn Kasten2012-07-271-1/+1
| | | | | | | | | | | | | | | | | | Simplifies the error recovery in case IAudioTrack fails. Change-Id: I6aee41a2ac747a5689fb4836b04174e6107bf32f
* | | Clean up start() parametersGlenn Kasten2012-07-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Document where int is used instead of AudioSystem::sync_event_t (probably because of a header file dependency). TrackBase::start() and RecordTrack::start() don't need default parameters. Change-Id: I82f4a4d078be900f3aa4bd926697e32f5ed68ec8
* | | effect_descriptor_t const correctnessGlenn Kasten2012-07-252-4/+4
| | | | | | | | | | | | Change-Id: Iad008f20d35a18acf500f773900164552fd0c19e
* | | Merge "Camera: Add OPAQUE pixel format to CameraParameters"Eino-Ville Talvala2012-07-201-0/+2
|\ \ \
| * | | Camera: Add OPAQUE pixel format to CameraParametersEino-Ville Talvala2012-07-181-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is only used to support recording with HAL 2 in the KEY_VIDEO_FRAME_FORMAT parameter, and is not exposed to applications. Bug: 6243944 Change-Id: I5976a748d199ae98189bd03af5bbd9e18cbd6bf0
* | | | Added a callback to signal when the rendering of the video frame just occurredJames Dong2012-07-201-0/+2
| | | | | | | | | | | | | | | | | | | | Change-Id: Ifbd78606ffc33483aecebf02cb18e0e52af9624d related-to-bug: 6851811
* | | | AudioRecord lockingGlenn Kasten2012-07-171-2/+2
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix race conditions for EVENT_MARKER and EVENT_NEW_POS callbacks. Marker and new position update fields are protected by lock. getSampleRate() doesn't need a lock because it reads from shared memory control block. Enforce that the parameter passed with EVENT_MARKER and EVENT_NEW_POS cannot not be changed by the callback handler, and will not change during the call by another thread. Session ID should never change; log if it does. Change-Id: Ia2c63cf1a71b10bb06c37981bd76437f83fffa91
* | | Use audio_channel_mask_t for channel maskGlenn Kasten2012-07-171-7/+7
| | | | | | | | | | | | Change-Id: I1c1896da48983aa9f1462a4b471f910498816f60
* | | Merge "AudioRecord::stop() return void"Glenn Kasten2012-07-161-1/+1
|\ \ \
| * | | AudioRecord::stop() return voidGlenn Kasten2012-07-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | like AudioTrack::stop() Change-Id: Iab62f4665151345f1ad5874c97a21d1a331f0154
* | | | am 190313ec: am 65e8d62a: Merge "Fixed sample video corrupted in MediaCodec ↵Edwin Wong2012-07-131-1/+1
|\ \ \ \ | |/ / / |/| / / | |/ / | | | | | | | | | mode." into jb-dev * commit '190313ec68e81c10d200ff3c20ac152cf90760d6': Fixed sample video corrupted in MediaCodec mode.
| * | am 65e8d62a: Merge "Fixed sample video corrupted in MediaCodec mode." into ↵Edwin Wong2012-07-131-1/+1
| |\ \ | | |/ | |/| | | | | | | | | | | | | jb-dev * commit '65e8d62a5b243518795cdafa498df4a49baf6940': Fixed sample video corrupted in MediaCodec mode.
| | * Fixed sample video corrupted in MediaCodec mode.Edwin Wong2012-07-131-1/+1
| | | | | | | | | | | | | | | Change-Id: I50c5660072d40f6e297e58fd026ea04c89d6a70a related-to-bug: 6732061
* | | AudioRecord client threading cleanupGlenn Kasten2012-07-131-8/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename ClientRecordThread to AudioRecordThread to be more similar to AudioTrack naming. Only create the thread once, and use resume() and pause() for start() and stop(). This will allow us to have a known client callback thread tid that we can pass to AudioFlinger before start(). mActive: Made mActive a bool not int. mActive is protected by mLock; volatile is meaningless. Fixed a few places where mActive was accessed without a lock: - stopped() - processAudioBuffer() These aren't used internally, so no need for _l() versions. Change-Id: I4b8a5c90f3a22d3894b344564cb1c5aef4f1fda2
* | | Merge "Remove dead code in libmedia"Glenn Kasten2012-07-133-11/+0
|\ \ \
| * | | Remove dead code in libmediaGlenn Kasten2012-07-123-11/+0
| | | | | | | | | | | | | | | | Change-Id: I7d8201590cda29c9fa99662a4fdba222091febfe
* | | | Add tid parameter to IAudioFlinger::openRecordGlenn Kasten2012-07-121-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | Not yet implemented Change-Id: I35523fb15ad71727ecc9f4bb870f07e4b7397dc4
* | | | Simplify AudioRecord::getInputFramesLost()Glenn Kasten2012-07-121-0/+1
|/ / / | | | | | | | | | | | | | | | This also fixes a benign race in reading mActive without a lock. Change-Id: I19e953d4f275e5c266ca1ca3fece7b6c02ad1707
* | | Use audio_channel_mask_t more placesGlenn Kasten2012-07-102-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use it in AudioSystem::getOutput(), AudioSystem::getInput(), IAudioPolicyService::getOutput(), IAudioPolicyService::getInput(), and various other places in AudioFlinger. Not done: AudioTrack and OutputDescriptor. Change-Id: I70e83455820bd8f05dafd30c63d636c6a47cd172
* | | Use audio_channel_mask_t more consistentlyGlenn Kasten2012-07-033-7/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In IAudioFlinger::createTrack() and IAudioFlinger::openRecord(), declare input parameter to use correct type audio_channel_mask_t. In IAudioFlinger::getInputBufferSize(), input parameter is now channel mask instead of channel count. Remove unused IAudioFlinger::channelCount(audio_io_handle_t). In AudioRecord::getMinFrameCount() and AudioSystem::getInputBufferSize(), input parameter is channel mask instead of channel count. Change-Id: Ib2f1c29bea70f016b3cfce83942ba292190ac965
* | | Merge "AudioRecord comments"Glenn Kasten2012-06-251-25/+31
|\ \ \
| * | | AudioRecord commentsGlenn Kasten2012-06-251-25/+31
| | | | | | | | | | | | | | | | | | | | | | | | Group the private fields according to how they are used Change-Id: I7ce3d0939510c10f34bd91a55f6e03afc8e7d43c
* | | | Remove acoustics from AudioSystem::getInput()Glenn Kasten2012-06-252-2/+0
|/ / / | | | | | | | | | Change-Id: I29fb3ee5664c1f0ee0409c1bb2be087ecca637db
* | | Use audio_channel_mask_t in AudioRecordGlenn Kasten2012-06-251-4/+4
| | | | | | | | | | | | Change-Id: I9e1b918b2635d961604a4a9d88eb1c7179a167a7
* | | Remove unused AudioRecord::channels()Glenn Kasten2012-06-251-1/+0
| | | | | | | | | | | | | | | | | | It was declared but never implemented or called. Change-Id: If5846147fcbd7f6d4187971e2044dd6fd3252b42
* | | Include what you useGlenn Kasten2012-06-251-11/+4
| | | | | | | | | | | | Change-Id: I12ef9367d05dbe069c037b1b4acd6347a8cf3ece
* | | Merge "Remove AudioRecord record_flags"Glenn Kasten2012-06-251-13/+0
|\ \ \ | |/ / |/| |
| * | Remove AudioRecord record_flagsGlenn Kasten2012-06-221-13/+0
| | | | | | | | | | | | Change-Id: I021ddcc1bcb63132a4597d13e3d09db2a5f2c628
* | | am 33e28dd3: Merge "SurfaceMediaSource: keep refs to current buffers" into ↵Jamie Gennis2012-06-221-12/+6
|\ \ \ | |/ / |/| / | |/ | | | | | | jb-dev * commit '33e28dd3c033641f4db9d1b99c7c88d6d08c61f7': SurfaceMediaSource: keep refs to current buffers
| * SurfaceMediaSource: keep refs to current buffersJamie Gennis2012-06-221-12/+6
| | | | | | | | | | | | | | | | | | This change fixes a bug in SurfaceMediaSource where it would not keep a reference to all of the Gralloc buffers that the video encoder is currently using. Bug: 6655597 Change-Id: Ifd99976cc7ae57ed724bbf2bbcff357a39497391
* | am 49dd5cf3: Merge "Log track name on obtain/releaseBuffer warnings" into jb-devGlenn Kasten2012-06-141-3/+1
|\ \ | |/ | | | | | | * commit '49dd5cf3469cd755321f8ec10013ad4fcfaf723d': Log track name on obtain/releaseBuffer warnings
| * Log track name on obtain/releaseBuffer warningsGlenn Kasten2012-06-131-3/+1
| | | | | | | | | | | | | | This should help diagnose problems by allowing us to correlate the logs with the dumpsys media.audio_flinger output. Change-Id: I8c7c592b4f87d13b0f29c66ce7a2f301a0f063c9
* | am 28ed2f93: Reduce underruns in screen off, esp. with EQGlenn Kasten2012-06-081-0/+2
|\ \ | |/ | | | | | | * commit '28ed2f93324988767b5658eba7c1fa781a275183': Reduce underruns in screen off, esp. with EQ
| * Reduce underruns in screen off, esp. with EQGlenn Kasten2012-06-081-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Add MonoPipe APIs to specify setpoint. Use screen state to configure pipe setpoint. Fix a long-standing bug where pipe sleep time was excessive, which interacted poorly with governor and low clock frequencies. Now it deducts the elapsed time since last write(), which was significant when there was EQ and low clock frequency. Bug: 6618373 Change-Id: I6f3b0072c2244aeb033ef0795ad164491a164ff5
* | Add a new API on DRM Framework for streamingKei Takahashi2012-05-231-0/+10
|/ | | | | | | | | | | | In case of DRM streaming, decrypt session can start just after receiving the header, and it doesn't need to wait for the entire content. However, current API of DRM framework only accepts file handle or URI. With this new API, DRM session can start without waiting for the entire content. Changes are made by SEMC and Sony. Change-Id: I74375fe127df636067f1c300ea91654ba3d1aa3c
* Tell surface flinger that we want to protect output buffers from beingAndreas Huber2012-05-221-0/+2
| | | | | | | | sent to HDMI (without HDCP) and push a few black frames on IDLE->LOADED similar to OMXCodec's behaviour. Change-Id: Iea6055a115151ca881220a70a31af6ade2c58cb3 related-to-bug: 6537187
* Merge "Stop extrapolating audio time from the anchor if we're paused or ↵Andreas Huber2012-05-171-0/+1
|\ | | | | | | reached eos." into jb-dev
| * Stop extrapolating audio time from the anchor if we're paused or reached eos.Andreas Huber2012-05-151-0/+1
| | | | | | | | | | Change-Id: I55903ba625d9c075a9a6e7bcd5ff95d450b915b2 related-to-bug: 6479613
* | Merge "Speed up stsz box write in MPEG4Writer" into jb-devJames Dong2012-05-151-1/+1
|\ \
| * | Speed up stsz box write in MPEG4WriterJames Dong2012-05-151-1/+1
| |/ | | | | | | | | | | | | | | With this patch, the write time for 30+ minutes recording session is reduced from 10+ seconds down to around 2-3 seconds. related-to-bug: 6435176 Change-Id: I83b705cea42d8de798e7032c770c5c7b033e267e
* | Move CameraParameters header to join rest of camera library.Eino-Ville Talvala2012-05-151-0/+667
|/ | | | | | | | | | CameraParameters was moved over to frameworks/native before frameworks/av was created, since it is referenced by HAL implementations. Move it to frameworks/av to keep it together with its implementation. Bug: 6500863 Change-Id: If1a3b7768bedeb825729c3cdd55e8fcea04b7369