summaryrefslogtreecommitdiffstats
path: root/media/libmediaplayerservice/nuplayer/NuPlayerDecoderPassThrough.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix: "NuPlayerDecoder: add synchronous call pause() to ensure decoder will ↵Luca Stefani2015-12-211-1/+0
| | | | | | | | not request or send out data." * Missing from backport Change-Id: I562d28a4770aec2f9c547c482e79cca49be9dbb9
* nuplayer: Improve offload format conversionsSteve Kondik2015-12-151-1/+3
| | | | | | | * Annotate source buffers with the audio format * Add support for 32-bit signed PCM offload (zero copy) Change-Id: Id758830784740c0a038452d383c8ec8e3e4593bb
* stagefright: Resurrect PCM offloadSteve Kondik2015-12-131-0/+1
| | | | | | | | | | | | | * Forward-port the open-source code from L which was moved to closed-source in M. This is being done out of necessity- the architecture chosen by Qualcomm is not optimal and doesn't work well with a singular codebase which attempts to service a large number of devices. * This patch brings in the code to support PCM offload (AudioFlinger bypass). This allows for playback of high resolution clips without decimation stages, and enables reduced power consumption for audio pipelines which take advantage of the Hexagon DSP (effects). Change-Id: I0ef15fc3df538ab723f3c12ce0ed71d0e607c99e
* audio: add support for vorbis offloadingWeiyin Jiang2015-10-061-4/+5
| | | | | | add support for vorbis offload playback Change-Id: Ic51a9d3e0fad1114908f59bfbc6ce62c6fd9fdea
* AVCustomizations: Enable 16 and 24 bit PCM offload.Preetam Singh Ranawat2015-10-061-1/+1
| | | | | | | | | | | | -create extended decoder and renderer -add change to pass bit width and format info to renderer. -add change for PCM conversions -add changes for time calucation Conflicts: media/libmediaplayerservice/nuplayer/NuPlayer.cpp Change-Id: I3363140fad441a7746884076c40b46e777f2e06e
* NuPlayer: Enhance dumpsys statisticsPraveen Chavan2015-06-101-4/+0
| | | | | | | | Account for dropped output-frames (rather than input-frames) in percentage dropped frames. Print mime and component name for each active track Change-Id: I3491d336c696d8ed0fd1503b80afe1df47c787c8
* DO NOT MERGE libmediaplayerservice: set priority and operating rate for the ↵Ronghua Wu2015-04-271-0/+1
| | | | | | | | codec used by nuplayer. Bug: 20481562 Change-Id: I9806414962352fbcda726f8274f1cd348c961de0 (cherry picked from commit f19f5d716b39a5d9dc1abdcd5a16a7aaf1b1ab8b)
* NuPlayer: queue a deferred scan sources when flushing during scanChong Zhang2015-04-171-1/+1
| | | | | | | also refactor code to move scheduleRequestBuffers to decoder base. bug: 20267388 Change-Id: I48f16adc6b4d4008f8fcda8b3b01c595ad199f8b
* NuPlayer: play out pending frames on discontinuityChong Zhang2015-03-101-1/+2
| | | | | | bug: 19567254 Change-Id: Iff689e1eea54283095068d68bcdff4c2674af554
* Fix NuPlayer assertion on failure to create AudioTrackAndy Hung2014-12-031-2/+0
| | | | | | | | | | Under heavy media load or monkey/stress testing, more than 32 AudioTracks may be created or memory resources may be scarce. Remove the assertion on failure to create AudioTrack and signal MEDIA_ERROR. Bug: 17319843 Change-Id: I5d4e200b5f50d800046851a33e035cdc6ff10075
* nuplayer: clear pending audio access unit on flush.Ronghua Wu2014-12-011-1/+2
| | | | | | | Also add flag to avoid reading on flush. Bug: 18540219 Change-Id: I2fc351c32c87db9a8c8c2aad12ee2bd56a0370ab
* notify seek complete upon first video output frameChong Zhang2014-12-011-1/+1
| | | | | Bug: 18541814 Change-Id: Ie4e0976885f26eb253460eab371cb181ea85f2db
* tunnel NuPlayer source and decoder inputChong Zhang2014-11-201-30/+32
| | | | | | Bug: 18342383 Change-Id: Ieff1cd3bad2b39d46f127ddd5d5139b919992461
* NuPlayer: tunnel decoder with renderer for data buffer passing.Wei Jia2014-11-141-5/+8
| | | | | | Bug: 18342383 Change-Id: I182928007814c146c01a86196c4fda1d46e74ea4
* mediaplayer: optimize buffer queue managementPhil Burk2014-09-121-4/+11
| | | | | | | | | | Various changes for power consumption including: Restrict the number of messages in flight. Buffer more frames in the GenericSource so reads occur in a burst. Bug: 15094301 Change-Id: I783481fd91f3fdd445b95e88ab82178f649f1a38 Signed-off-by: Phil Burk <philburk@google.com>
* cache up to 200K bytes (instead of 10 buffers) in DecoderPassThroughChong Zhang2014-08-131-1/+2
| | | | | Bug: 16892521 Change-Id: I0e2da4134a37e632f9f2c29d1d27d8fded7a7863
* Add support of audio offloading for NuPlayer.Wei Jia2014-07-091-0/+77
Change-Id: Ic83973339fb46a83b48382e6097925f45d200867