summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
...
| | | | | * Fix crash on malformed id3Marco Nelissen2015-08-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 22954006 Change-Id: I488cb1e2c69fc7043b6040481b30fa866000515d
| | | | * | am 7acac10a: Merge "DO NOT MERGE: Add AUtils::isInRange, and use it to ↵Robert Shih2015-05-111-0/+45
| | | | |\ \ | | | | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | detect malformed MPEG4 nal sizes" into klp-dev * commit '7acac10aae34da5ae4d628c5a270e7e3e94f7598': DO NOT MERGE: Add AUtils::isInRange, and use it to detect malformed MPEG4 nal sizes
| | | | | * DO NOT MERGE: Add AUtils::isInRange, and use it to detect malformed MPEG4 ↵Lajos Molnar2015-04-251-0/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nal sizes Bug: 19641538 Change-Id: I5aae3f100846c125decc61eec7cd6563e3f33777
* | | | | | add GRALLOC_USAGE_HW_COMPOSER flag to video usage bitsChong Zhang2015-07-281-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug: 22657091 Change-Id: I6a11bc15bba34035ef31c2f4d41196ece60d4ad9
* | | | | | Merge "libmediaplayerservice: propagate caller pid to MediaCodec." into mnc-devRonghua Wu2015-07-221-5/+9
|\ \ \ \ \ \
| * | | | | | libmediaplayerservice: propagate caller pid to MediaCodec.Ronghua Wu2015-07-211-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 22630317 Change-Id: I0337d74f4ef04bf96f2de83f33d98d0d7da47c12
* | | | | | | stagefright: remove workaround for BQ not reporting dropped framesLajos Molnar2015-07-201-5/+3
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 22234976 Related-bug: 22552826 Change-Id: Ic29b8d8533a4df8c15bcf3a9dab924aa24428304
* | | | | | Merge "fix soft renderer rotation" into mnc-devChong Zhang2015-07-181-0/+1
|\ \ \ \ \ \
| * | | | | | fix soft renderer rotationChong Zhang2015-07-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug: 13222807 Change-Id: I6f6f417422d3a18117b594670bb23e3019d449bb
* | | | | | | Merge "mediaresourcemanager: add pid to removeResource method" into mnc-devRonghua Wu2015-07-182-3/+3
|\ \ \ \ \ \ \
| * | | | | | | mediaresourcemanager: add pid to removeResource methodRonghua Wu2015-07-172-3/+3
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 22496209 Change-Id: I73311573e8d1ac15fec668a9ef6e6af7a07a1d30
* | | | | | | Merge "MediaRecorder: enable audio for slow motion recording" into mnc-devChong Zhang2015-07-171-1/+4
|\ \ \ \ \ \ \
| * | | | | | | MediaRecorder: enable audio for slow motion recordingChong Zhang2015-07-171-1/+4
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:22460747 Change-Id: I23f773ecf7b86928a8eacd25a481636e645affbe
* | | | | | | Merge "Camera: Add hidden experimental tearDown method." into mnc-devEino-Ville Talvala2015-07-171-0/+6
|\ \ \ \ \ \ \
| * | | | | | | Camera: Add hidden experimental tearDown method.Eino-Ville Talvala2015-07-161-0/+6
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 18949148 Change-Id: Ie86ec7d1ec3db54e1154563b2339a208a935f849
* | | | | | | stagefright: flush pending video frames for MediaSyncLajos Molnar2015-07-161-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 22234976 Change-Id: Ib63c2286610181968658fb38f5526a489635cf3e
* | | | | | | stagefright: MediaSync: use VideoFrameSchedulerLajos Molnar2015-07-162-5/+111
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move VideoFrameScheduler to libstagefright as part of this change. Bug: 22234976 Change-Id: Ib23fb52399cb700a1dcf789e8486b94a3edf9d95
* | | | | | MediaCodec: consider usage bits when changing surface.Lajos Molnar2015-07-131-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new surface cannot add usage bits not already present (as already existing buffers may become unusable for the surface). Bug: 22414343 Change-Id: Id8169c79cd0994be134a16782dd04687e46ca1dd
* | | | | | stagefright: allow controlling experiments from propertyLajos Molnar2015-07-101-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 20894667 Change-Id: Icb2209e12ed6a1820b8f33626ca02aabcff03321
* | | | | | Merge "camera2: Fix native binder interface and add tests." into mnc-devRuben Brunk2015-07-071-0/+2
|\ \ \ \ \ \
| * | | | | | camera2: Fix native binder interface and add tests.Ruben Brunk2015-07-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add CameraBinderTests for limited coverage of native camera2 binder interfaces for the camera service. - Fix several bugs in the native binder interfaces. Bug: 18468810 Change-Id: Iab2d81a5cacd20daf7454aeeed033cc13d88452c
* | | | | | | Merge "stagefright: ask for flex-YUV camera buffers for software encoders" ↵Lajos Molnar2015-06-292-1/+6
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | into mnc-dev
| * | | | | | | stagefright: ask for flex-YUV camera buffers for software encodersLajos Molnar2015-06-262-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 13222807 Change-Id: I854b73a63cf9239311729598241725d84e8513aa
* | | | | | | | 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