summaryrefslogtreecommitdiffstats
path: root/media
Commit message (Collapse)AuthorAgeFilesLines
* Fix: Add MediaCodecList capabilitiesLajos Molnar2014-07-191-0/+2
| | | | | | | | fix getting capability index from type Bug: 12065651 Change-Id: Id2bc60410a92e17c841a5dd072257bc40ad6236f
* Merge "Add MediaCodecList capabilities" into lmp-devLajos Molnar2014-07-172-1/+313
|\
| * Add MediaCodecList capabilitiesLajos Molnar2014-07-182-1/+313
| | | | | | | | | | Bug: 12065651 Change-Id: Icfb73c0009621cd747e113d8a0cd84c966bf055d
* | Merge "Free MediaBuffer when ABuffer is discarded." into lmp-devWei Jia2014-07-181-0/+5
|\ \ | |/ |/|
| * Free MediaBuffer when ABuffer is discarded.Wei Jia2014-07-181-0/+5
| | | | | | | | | | BUG: 15699665 Change-Id: Ie7da017cf32ccc08094fe4b01a2b07d2739770d2
* | Merge "stagefright: Fix seeking in MPEG4 container" into lmp-devLajos Molnar2014-07-184-118/+91
|\ \ | |/ |/|
| * stagefright: Fix seeking in MPEG4 containerLajos Molnar2014-07-174-118/+91
| | | | | | | | | | | | | | | | - seek based on user-visible timestamp - seek to previous, next and closest exactly Bug: 12786906 Change-Id: I2d5e1fbff6469b6f081a284be2222a4cb50aa754
* | nuplayer: support widevine sourcesLajos Molnar2014-07-175-2/+185
|/ | | | | | | | | | | | | | | | | | | | - handle widevine:// scheme - add separate looper for renderer (as it can block initial buffer handling if all buffers are used) - initiate secure codecs before source is started - don't read secure buffers - share ACodec's input buffers with Widevine source on the decoder side - keep track of mediabuffers released by widevine source - keep track of dequeued input buffers (for safety) - release mediabuffer when buffer is subsequently dequeued. (This was hardcoded into OMXCodec to do this when buffer-empties message was handled, but MediaCodec does not support such functionality.) Bug: 15699665 Change-Id: I4a369443294e45c644be8b0257010e52db1d7c9b
* nuplayer: add widevine support to GenericSourceLajos Molnar2014-07-173-11/+84
| | | | | Bug: 15699665 Change-Id: Ided823bd0b1118bbabb288cf62d6389518f820a9
* stagefright: use all input buffers in ACodecLajos Molnar2014-07-181-4/+7
| | | | | Bug: 15699665 Change-Id: If37e5c70e56821375ede911e781b5d4b8d41f8ad
* stagefright: add nonblocking MediaBufferGroup.acquire_buffer methodLajos Molnar2014-07-171-1/+7
| | | | | Bug: 15699665 Change-Id: I31c1ab4413c62ff3dd4e0d5b06a398064b4aaddd
* Merge "stagefright: add nonblocking read option to MediaBuffer" into lmp-devLajos Molnar2014-07-171-0/+13
|\
| * stagefright: add nonblocking read option to MediaBufferLajos Molnar2014-07-171-0/+13
| | | | | | | | | | Bug: 15699665 Change-Id: I2aaddc4c937cf5c1e36386bafd7d396d5781bf6d
* | Merge "stagefright: add error log when create omx component failed" into lmp-devZhijun He2014-07-172-1/+3
|\ \ | |/ |/|
| * stagefright: add error log when create omx component failedZhijun He2014-07-172-1/+3
| | | | | | | | | | Bug: 16343447 Change-Id: I6854b9b837a141a77ab318953dc002ec5ad5d31d
* | Move AudioRecord frame count calculations to serverGlenn Kasten2014-07-172-45/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Buffer frame count and notification frame count are now calculated by server instead of by client. The server has more information and can do a better job. Also fix a few bugs: - If a fast track was re-created, even with same pipe depth, it would fail. Now it can correctly re-create a fast track provided the pipe depth is same. - Notification frame count for fast tracks was calculated by client as 1/2 of the total frame count, which is a large value due to the pipe. Now the notification frame count is set by server to the HAL frame count. This should reduce latency for fast tracks. - EVENT_OVERRUN were happening frequently when there was sample rate conversion, because the client didn't know about the sample rate conversion, and under-estimated the necessary buffer size. Now since server calculates the buffer sizes, EVENT_OVERRUN is unlikely. - RecordThread::createRecordTrack_l was checking for mono and stereo for fast tracks. This is not necessary, and now we can handle a multi-channel fast track. Bug: 7498763 Change-Id: I0c581618e8db33084d5ff9ed50a592990c9749e8
* | Add audio_input_flags_t to IAudioPolicyService::getInputGlenn Kasten2014-07-173-7/+12
| | | | | | | | Change-Id: I9f37be05f8dc7b85a8827a94e76ca0f45453e170
* | Add audio_input_flags_t to IAudioFlinger::openInputGlenn Kasten2014-07-171-2/+6
|/ | | | | | | For backward compatibility, until flags are correctly calculated, we will assume that the request is for a low latency input stream. Change-Id: I76746834e870df00833dc77cbdaa2edd2ffeec95
* Merge "M3UParser: check for NULL before setting meta data" into lmp-devLajos Molnar2014-07-161-0/+6
|\
| * M3UParser: check for NULL before setting meta dataRobert Shih2014-07-161-0/+6
| | | | | | | | | | Bug:16351654 Change-Id: I64e9510f719b220471522b4d78a9b00a98bda772
* | GenericSource: implement getTrackCount/getTrackInfoRobert Shih2014-07-162-3/+61
|/ | | | | Bug: 15153976 Change-Id: I0204c4188d485cda026497469c7cde24f7bd5c95
* Fix M3UParser relative path handling.Lajos Molnar2014-07-161-1/+3
| | | | | Bug: 16017037 Change-Id: Ibfff99387fb5b3e721144a2b3f9174092d785137
* stagefright: add MediaCodec.reset()Lajos Molnar2014-07-151-0/+43
| | | | | Bug: 12034929 Change-Id: I326f1356df89474aa088c1c87f8505b33654139d
* DO NOT MERGE LVM virtualizer: add support for virtualizer capability queryJean-Michel Trivi2014-07-152-36/+257
| | | | | Change-Id: I88106ba25f9b3f8fd7616307ab6b7fbe7afb6e91 (cherry picked from commit bfd3b9764841971be2d2f04a3fdbd41a2144beea)
* Encoder input buffers don't need HW_TEXTURE usageJesse Hall2014-07-141-2/+1
| | | | Change-Id: Ibb1be86ae99439ccbce3fc2b38d92115083ef7ff
* Resolution reinitialization changesNaveen Kumar Ponnusamy2014-07-122-107/+125
| | | | | | | | Decoder initialized to 320x240. When higher resolution comes, the decoder reinitialized to the resolution. Bug: 14571712 Change-Id: I6b6ad17dd87f0112ce7ccf4f6c17bb4c65b5d8af
* Merge "MediaCodec: change onError cb to return CodecException"Chong Zhang2014-07-111-4/+8
|\
| * MediaCodec: change onError cb to return CodecExceptionChong Zhang2014-07-111-4/+8
| | | | | | | | | | Bug: 11990118 Change-Id: I3278aecb20df88c42fa2709a66e6166eb3cbe56f
* | Use a better and more direct API to mark a socket as if it were a user's.Sreeram Ramachandran2014-07-112-4/+4
| | | | | | | | Change-Id: If525ee259b74314191d1913f7c2a3e828e05c38f
* | stagefright: Return correct play position after EOSaarti jadhav-gaikwad2014-07-111-0/+5
| | | | | | | | | | | | | | | | | | In case of offload getOutputPlayPositionUs_l returns zero on reaching EOS. Return duration as position. Bug: 15770459 Change-Id: I7aeafdc315a86ccd197d555d604e1069eead3153
* | Merge "MediaCodec async callbacks"Chong Zhang2014-07-101-91/+173
|\ \ | |/
| * MediaCodec async callbacksChong Zhang2014-07-111-91/+173
| | | | | | | | | | | | Bug: 11990118 Change-Id: I6fe4b407d9c85cddec8d958620d5d356735273cf
* | stagefright: Pass audio aac sub formats in offloadinfoaarti jadhav-gaikwad2014-07-112-7/+44
|/ | | | | | | | Pass audio aac sub formats in offloadinfo according to aac profile. Audio HAL can take decision about offload using DSP capabilities Change-Id: If269a3654b5d2b09c183212b0646ef03e06f2d8f
* stagefright: add indexed buffer and format getters to MediaCodecLajos Molnar2014-07-111-5/+60
| | | | | | | | | | These are designed to be called from the same thread as the one calling dequeue?Buffer, and use a mutex to avoid switching context. All other calls of MediaCodec are designed to be blocking and synchronous. Bug: 14297827 Change-Id: If341c6e4407ca6f10f5e0d47008dddc0e20b0a50
* Merge "Check meta before dereferencing it."Wei Jia2014-07-101-0/+3
|\
| * Check meta before dereferencing it.Wei Jia2014-07-101-0/+3
| | | | | | | | Change-Id: Ic8153b33413a34d75a3053dbfb9530a639e0ec12
* | Merge "DNG: Update TiffWriter to handle thumbnails and SubIfds."Ruben Brunk2014-07-1017-149/+938
|\ \ | |/ |/|
| * DNG: Update TiffWriter to handle thumbnails and SubIfds.Ruben Brunk2014-07-1017-149/+938
| | | | | | | | | | | | | | | | | | | | | | | | | | - Fix SubIfd handling. - Add StripSources, convenience functions for writing image strips. - Update Input classes to use with JNI. - Add skip method. - Add tag definitions for GPS tags. - Add name string to tag definitions. Bug: 15112503 Change-Id: I9535b21261027f6c06a041c1621de8f865a0ad32
* | resolved conflicts for merge of 373e21cc to masterElliott Hughes2014-07-091-2/+2
|\ \ | | | | | | | | | Change-Id: I91afd8f9cba04559d21e1c84e25c5c60c990165d
| * \ am be44e0e0: am 0bffd2e6: Merge "Switch frameworks/av/media/libmedia to the ↵Elliott Hughes2014-07-101-1/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | new icu." * commit 'be44e0e0ffda04725c4864d894a7cc80bd74b5ca': Switch frameworks/av/media/libmedia to the new icu.
| | * \ am 0bffd2e6: Merge "Switch frameworks/av/media/libmedia to the new icu."Elliott Hughes2014-07-101-1/+1
| | |\ \ | | | | | | | | | | | | | | | | | | | | * commit '0bffd2e60f644c8b8650c48d320c8cc22deb8ab6': Switch frameworks/av/media/libmedia to the new icu.
| | | * \ Merge "Switch frameworks/av/media/libmedia to the new icu."Elliott Hughes2014-07-091-1/+1
| | | |\ \
| | | | * | Switch frameworks/av/media/libmedia to the new icu.Elliott Hughes2014-07-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I45349756bac6d89b02dba082ba6d606f4c489dcf
| * | | | | DO NOT MERGE: Fix build for libstagefrightLajos Molnar2014-07-092-18/+6
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 15987446 Change-Id: I6a13e1f73b067b733e2592e12ee21210d4c4d476
* | | | | | Add support of audio offloading for NuPlayer.Wei Jia2014-07-0910-46/+641
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ic83973339fb46a83b48382e6097925f45d200867
* | | | | | Merge "Cleanup unused parameters or variable in EffectBundle"Jean-Michel Trivi2014-07-091-4/+3
|\ \ \ \ \ \
| * | | | | | Cleanup unused parameters or variable in EffectBundleJean-Michel Trivi2014-07-081-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | No unused parameter warning in EffectBundle. Remove unused variable declaration in Virtualizer_getParameter Change-Id: Ibe1c051bc21ac53a6c770b4aa28e31ac5d559d9b
* | | | | | | am 782be1ec: am 1c1b5e51: am c37eaa32: Merge "m4v_h263_enc: Use uint32_t for ↵Narayan Kamath2014-07-094-7/+7
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ULong" * commit '782be1ecf1022d4e2da714b5aebe51ab616e9975': m4v_h263_enc: Use uint32_t for ULong
| * | | | | | am 1c1b5e51: am c37eaa32: Merge "m4v_h263_enc: Use uint32_t for ULong"Narayan Kamath2014-07-094-7/+7
| |\ \ \ \ \ \ | | | |/ / / / | | |/| | | | | | | | | | | | | | | | | | * commit '1c1b5e51cb1acd43984ce2e82a27e61b4943186a': m4v_h263_enc: Use uint32_t for ULong
| | * | | | | am c37eaa32: Merge "m4v_h263_enc: Use uint32_t for ULong"Narayan Kamath2014-07-094-7/+7
| | |\ \ \ \ \ | | | | |/ / / | | | |/| | | | | | | | | | | | | | | | | * commit 'c37eaa320437b7d65d1c3f704d7b7c61d4ccd8f1': m4v_h263_enc: Use uint32_t for ULong