summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* reduce number of binder calls from mediaserverEric Laurent2015-06-262-2/+4
| | | | | | | | | | | | | | | Reduce the number of audio port, audio patch and IO config changed binder calls from mediaserver to client processes: - Do not call IO config changed callback if selected device is the same as previously selected one on a given audio flinger playback or capture thread. - Do not call the audio port or audo patch list update callback on a client if this client as no listener registered. Bug: 22045560. Change-Id: If780e105404de79b7cb5c80c27b793ceb6b1c423
* Merge "Using centralized isAudioPlaybackRateValid to validate parameters" ↵Ricardo Garcia2015-06-231-0/+17
|\ | | | | | | into mnc-dev
| * Using centralized isAudioPlaybackRateValid to validate parametersRicardo Garcia2015-06-221-0/+17
| | | | | | | | | | | | | | Centralized validation code bug: 20701446 Change-Id: I9d9941c7639c05b2afe069ff4f858c693c910bfe
* | Merge "Fix for Visualizer release bug" into mnc-devRicardo Garcia2015-06-221-1/+2
|\ \
| * | Fix for Visualizer release bugRicardo Garcia2015-06-191-1/+2
| |/ | | | | | | | | | | | | Setting callback reference to NULL before requesting exit. bug: 21804802 Change-Id: I54323959686880f4e7a10b766850f8c86c06edb6
* | Merge "stagefright: allow state change while handling OMX message list" into ↵Lajos Molnar2015-06-221-0/+3
|\ \ | | | | | | | | | mnc-dev
| * | stagefright: allow state change while handling OMX message listLajos Molnar2015-06-191-0/+3
| | | | | | | | | | | | | | | | | | Bug: 21724210 Bug: 21925253 Change-Id: Id1c055ce611d4632ae13fbc69d79b65caf657a2a
* | | stagefright: handle removal of a tracked buffer in ACodecLajos Molnar2015-06-191-2/+3
|/ / | | | | | | | | Bug: 21815057 Change-Id: Idd1c71b4b0b68028020c3e10615936870ffd2dec
* | Return DEAD_OBJECT if getTimestamp cannot restore trackAndy Hung2015-06-181-0/+6
| | | | | | | | | | Bug: 21699132 Change-Id: I90443f8674ed949e2546048b231be75cd6fe6615
* | Fix AudioTrack comments relating to use of restoreTrack_l()Andy Hung2015-06-181-0/+6
|/ | | | | Bug: 21699132 Change-Id: Ib0d029a5e28676aeffbbbafc88c52a17367a413c
* Merge "stagefright: add support for output frame rendered callback" into mnc-devLajos Molnar2015-06-105-1/+181
|\
| * stagefright: add support for output frame rendered callbackLajos Molnar2015-06-095-1/+181
| | | | | | | | | | | | | | | | | | | | | | - Added FRAME_RENDERED event in OMX, used by tunneled video decoders to signal rendered event timing - Track buffers sent for rendering in ACodec and in SoftwareRenderer, and determine when they have rendered - Propagate render times to MediaCodec Bug: 20503131 Change-Id: Idf0a8714d5368b237c2285dd39fa82db847c232f
* | Merge "Use only strong references to AudioEffect" into mnc-devEric Laurent2015-06-091-6/+22
|\ \ | |/ |/|
| * Use only strong references to AudioEffectEric Laurent2015-06-081-6/+22
| | | | | | | | | | | | | | | | | | | | | | | | Do not refer to an AudioEffect instance by a raw pointer from the child AudioEffectClient. Also align destructor cleanup sequence on those of AudioTrack and AudioRecord. Bug: 21629892. Change-Id: I970307aedbc38db2e41a2cc652fd6df9112f712c
* | Camera1 API: Support SW encoders for new camera HALsEino-Ville Talvala2015-06-081-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | - Support new set video format/dataspace command in camera service - HALv3: Select gralloc usage flags based on format - HALv1: Pass format command directly to HAL layer - Use format/dataspace command in CameraSource - Switch all API1 recording to use metadata mode - Switch all >= HALv2 API1 recording to use kMetadataBufferTypeANWBuffer Bug: 13222807 Change-Id: I2e609b92c65792611bb1dab09e0c41c363ebbc42
* | Merge "libstagefright: run codec profiling in worker thread." into mnc-devRonghua Wu2015-06-081-1/+4
|\ \ | |/ |/|
| * libstagefright: run codec profiling in worker thread.Ronghua Wu2015-06-071-1/+4
| | | | | | | | | | Bug: 21645841 Change-Id: Ia15eb3b064b671c569afb0742db7535f6b03232e
* | stagefright: add support for batching OMX eventsLajos Molnar2015-06-052-1/+5
|/ | | | | Bug: 20503131 Change-Id: I762c419ed1245f8b83fb1f6bf61e5557213ca07b
* Merge "Improve AudioTrack offload timestamp startup glitch detector" into ↵Andy Hung2015-06-051-0/+1
|\ | | | | | | mnc-dev
| * Improve AudioTrack offload timestamp startup glitch detectorAndy Hung2015-06-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | New or existing glitch behavior for Nexus 5 offload audio: we receive several 0 timestamps, then we get a stale timestamp (very large), then a few ms later we get a correct nonzero timestamp. We attempt to hide the glitch because the retrograde timestamp correction makes the glitch "sticky". Bug: 21633313 Change-Id: I39153af718c151f9435e7d315651a811f72743da
* | Merge "NuPlayer: Add audio sink buffer configuration" into mnc-devAndy Hung2015-06-051-1/+2
|\ \ | |/
| * NuPlayer: Add audio sink buffer configurationAndy Hung2015-06-031-1/+2
| | | | | | | | | | | | | | | | Property media.stagefright.audio.sink (in milliseconds) Also change the default buffer size for PCM playback to 500 ms. Bug: 21198655 Change-Id: I5781288f59bf08fbecd9263a26c919570b58be0f
* | Merge "Compute sleep time when AudioTrack client callback returns no PCM ↵Andy Hung2015-06-051-6/+14
|\ \ | |/ | | | | data" into mnc-dev
| * Compute sleep time when AudioTrack client callback returns no PCM dataAndy Hung2015-06-031-6/+14
| | | | | | | | | | | | | | | | | | | | | | | | Callbacks can go into a sleep-wait cycle if the client/app is unable to deliver data. This can happen if the buffer is large, or if the client/app cannot keep the buffer filled, or upon a stream end condition. We improve the sleep time computation for AudioTrack PCM callbacks. This minimizes the number of callbacks to NuPlayerRenderer. Bug: 21198655 Change-Id: I4247798a6638def2f0d8f1b46f60323482065cb2
* | Camera2: implement high speed video APIsZhijun He2015-06-031-1/+1
|/ | | | | Bug: 21442271 Change-Id: Ia0ae5bbd3e8c81bad293c29987301a2457817d12
* stagefright: add support for fences in OMXLajos Molnar2015-06-022-4/+29
| | | | | | | Pass Fence between Surface and ACodec, and between ACodec and IOMX. Bug: 12386081 Change-Id: Ifdc566979dec0d91ed8b07c3b69d2cf092accc73
* Merge "Store server latency, sample rate, framecount information in ↵Andy Hung2015-06-021-0/+7
|\ | | | | | | AudioTrack" into mnc-dev
| * Store server latency, sample rate, framecount information in AudioTrackAndy Hung2015-06-011-0/+7
| | | | | | | | | | Bug: 21198655 Change-Id: I24590196642a97ea5d61bc6356f0aff782bd37d3
* | stagefright: rework metadata buffer supportLajos Molnar2015-06-013-10/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add fence to new metadata buffer mode structure, but don't use it yet, so that we don't have to add another mode soon. - Change GraphicBuffers to ANativeWindowBuffer in new metadata mode. This removes internal depencency from vendor codecs. - Extend new metadata mode from SW encoders to all codecs. - Fallback from new metadata mode to old mode (so Camera can always use the new mode even with legacy codecs) Related-bug: 19614055 Bug: 13222807 Change-Id: I405a21dd6ce8e99808f633bfeab8f14278eb7079
* | Merge "Track camera and flashlight usage in battery stats." into mnc-devRuben Brunk2015-06-021-2/+0
|\ \
| * | Track camera and flashlight usage in battery stats.Ruben Brunk2015-06-011-2/+0
| | | | | | | | | | | | | | | | | | Bug: 15986092 Change-Id: I9dc6828332e4091fd93bf2d82839e8e3862a2fc2
* | | stagefright: allow to overallocate OMX codec buffersLajos Molnar2015-06-011-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | Specify allottedSize for useBuffer and allocateBufferWithBackup, where OMX will see only the allottedSize, even though framework may allocate and use a bigger buffer. Bug: 13222807 Change-Id: Ibfa93f6c7b7c8ca0853ef17d4a0758e496eaf921
* | | Remove EVENT_NEW_TIMESTAMP symbol until fully implementedGlenn Kasten2015-06-011-0/+2
| | | | | | | | | | | | Change-Id: I8e5dda004580ee97258d8d82721edee24ec2b929
* | | remove video editor from MediaProfileChong Zhang2015-05-281-78/+1
| |/ |/| | | | | | | bug: 17112465 Change-Id: Id59ba13e9c796298ad7dbaf03a595cc1fa62c169
* | media: rename doNotResuscitate to doNotReconnect to align with the ↵Ronghua Wu2015-05-221-1/+1
| | | | | | | | | | | | | | implementation. Bug: 21370108 Change-Id: I4c202d81507b29afb5e7f72231c4c7847d0b29bf
* | Merge "libmediaplayerservice: try to open audio sink in offload mode in ↵Ronghua Wu2015-05-222-4/+14
|\ \ | | | | | | | | | error." into mnc-dev
| * | libmediaplayerservice: try to open audio sink in offload mode in error.Ronghua Wu2015-05-222-4/+14
| |/ | | | | | | | | | | Bug: 19061432 Bug: 21370108 Change-Id: Iaa757555ef37fd1ac87b6e2d5a9969bb58cc5ebc
* | Merge "stagefright: measure max encoder buffer count for persistent surface" ↵Chong Zhang2015-05-221-0/+2
|\ \ | | | | | | | | | into mnc-dev
| * | stagefright: measure max encoder buffer count for persistent surfaceChong Zhang2015-05-211-0/+2
| | | | | | | | | | | | | | | | | | bug: 19127604 Change-Id: I9a9b29b527d20f43a5a0188380baf2242bd31507
* | | Merge "audio flinger: do not call JAVA services until system is ready" into ↵Eric Laurent2015-05-212-0/+6
|\ \ \ | |/ / |/| | | | | mnc-dev
| * | audio flinger: do not call JAVA services until system is readyEric Laurent2015-05-202-0/+6
| |/ | | | | | | | | | | | | | | Wait for system ready indication form AudioService before enabling calls to scheduling service or power manager. Bug: 11520969. Change-Id: I221927394f4a08fd86c9d457e55dd0e07949f0cf
* | Merge "camera: Add AIDL interface for CameraServiceProxy." into mnc-devRuben Brunk2015-05-201-0/+52
|\ \ | |/ |/|
| * camera: Add AIDL interface for CameraServiceProxy.Ruben Brunk2015-05-201-0/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | - Adds an AIDL interface to allow the proxy camera service running in system server to accept RPCs from the camera service running in mediaserver. - Request an update to the valid user set from the proxy camera service when mediaserver restarts to initialize properly + avoid DOS after a crash. Bug: 21267484 Change-Id: Ib821582794ddd1e3574b5dc6c79f7cb197b57f10
* | Merge "Change mime for HLS timed ID3 stream to application/x-id3v4" into mnc-devRobert Shih2015-05-151-1/+1
|\ \ | |/ |/|
| * Change mime for HLS timed ID3 stream to application/x-id3v4Robert Shih2015-05-141-1/+1
| | | | | | | | | | Bug: 21151892 Change-Id: I6a243b0edbbb445df0caf65f395f81926fd515f0
* | camera2: Fix work-profile eviction handling.Ruben Brunk2015-05-141-1/+1
| | | | | | | | | | Bug: 20124384 Change-Id: I6fb82dbfd5f98746ed4befed81a583e3709bfee8
* | Merge "stagefright: prevent more crashes in ACodec" into mnc-devLajos Molnar2015-05-141-0/+8
|\ \
| * | stagefright: prevent more crashes in ACodecLajos Molnar2015-05-131-0/+8
| | | | | | | | | | | | | | | | | | | | | Signal errors if OMX or native window reports an error Bug: 20439174 Change-Id: Iebeb16f5a29c6819d39568a184b921799a234686
* | | Merge "stagefright: rename usePersistentInputSurface to setInputSurface" ↵Chong Zhang2015-05-138-12/+10
|\ \ \ | |/ / |/| | | | | into mnc-dev
| * | stagefright: rename usePersistentInputSurface to setInputSurfaceChong Zhang2015-05-138-12/+10
| | | | | | | | | | | | | | | | | | | | | | | | and clear persistent surface pointer when MediaRecorder is reset bug: 21045118 bug: 21045402 Change-Id: Ifd0d6deeb969f2252123929541b30b518cecbf9a