History log of /frameworks/av/media/libmediaplayerservice/nuplayer/NuPlayerDecoderPassThrough.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
fe3471f63bfcd829ecd33c8633f6f3b2ef57ad7c 05-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "NuPlayer : send the correct streaming info while opening audio sink" into oc-dev
c387f2b719a1a26c8306f77d79cc9a6f26b36813 06-Aug-2015 Dhananjay Kumar <dhakumar@codeaurora.org> NuPlayer : send the correct streaming info while opening audio sink

-For any offload playback NuPlayerRenderer always open the audio sink
with isStreaming info as true.
-Pass the streaming info to the NuPlayerRenderer while opening audio
sink
Test: cts tests
Bug:36051644
Author: Preetam Singh Ranawat <apranawat@codeaurora.org>
Change-Id: I249e6769ef4587917a13b0225d049a3923544d16
(cherry picked from commit b2444b392d0d5de4118d37a24f4351f9de5c215d)
/frameworks/av/media/libmediaplayerservice/nuplayer/NuPlayerDecoderPassThrough.cpp
1cbe62c82a8bfdb18a5bb79de57252dbd378445c 31-Mar-2017 Wei Jia <wjia@google.com> NuPlayer: handle source error correctly.

Test: source error is sent to app.
Bug: 35025627
Change-Id: I668bab0de20cf24def028a6a467efceaed54af2b
(cherry picked from commit 231fd353518502e3a05021473ae60e7addd9a46c)
/frameworks/av/media/libmediaplayerservice/nuplayer/NuPlayerDecoderPassThrough.cpp
29b7dcf6d3cdb97103467dc8106151c6260c239a 24-Oct-2016 Jeff Tinker <jtinker@google.com> Removing widevine classic

bug:30505334
Change-Id: I40ac8020b5442857936037a15847b0271359e624
/frameworks/av/media/libmediaplayerservice/nuplayer/NuPlayerDecoderPassThrough.cpp
c8f7c350bec6534b4c5a9cc66fbb049a159311c3 11-Oct-2016 Wonsik Kim <wonsik@google.com> nuplayer: fix setting/finding buffer mismatch

Bug: 31922534
Test: Played the problematic files with Play Music app
Change-Id: Ife1d24835d69f298ab5099b271f7657881652b85
/frameworks/av/media/libmediaplayerservice/nuplayer/NuPlayerDecoderPassThrough.cpp
7e34bf5af26f8752d4786d3098740cdf51e2438f 22-Aug-2016 Wonsik Kim <wonsik@google.com> MediaCodec refactoring part 1-a: buffers become separate class

MediaCodecBuffer is meant to replace ABuffer and MediaBuffer in
communication between framework components. As the first step, replace
use of ABuffer in MediaCodec with MediaCodecBuffer, and adjust related
classes accordingly.

MediaCodec.getBuffer() and related APIs now returns MediaCodecBuffers;
thus change MediaCodec clients to use MediaCodecBuffer accordingly.

Test: manually tested for key use cases (Camera, YouTube and Play Movies)
Change-Id: Iba7ce131645e75ce5ddbf497fb793ab38b7f245b
/frameworks/av/media/libmediaplayerservice/nuplayer/NuPlayerDecoderPassThrough.cpp
14532f2383c3849d0db59a607ed0bd802f57155c 29-Dec-2015 Wei Jia <wjia@google.com> MediaPlayer: overhaul buffering monitor scheme.

GenericSource: buffering monitor runs on a separate looper since readBuffer()
call can be blocked for long time.
When paused, dequeueAccess() returns -EWOULDBLOCK.
For audio offload, take into account cached data in downstream components.
NuPlayerDecoderPassThrough: flush out aggregate buffer when source doesn't have
data available.

Bug: 24295007
Change-Id: I535a438d96ee902c9b4baa7c84ed7e5063a23964
(cherry picked from commit 32ce83cf93e4eb14c9937e4b850e044f9f7fdf2c)
/frameworks/av/media/libmediaplayerservice/nuplayer/NuPlayerDecoderPassThrough.cpp
3bc667014875aba35102941b3997d242c303aa0d 19-Nov-2015 Wei Jia <wjia@google.com> NuPlayerDecoder: add synchronous call pause() to ensure decoder will not request or send out data.

Bug: 25372978
Change-Id: Id66ab9b9961d5a3b9fb783ae73c27ed1c8054db8
/frameworks/av/media/libmediaplayerservice/nuplayer/NuPlayerDecoderPassThrough.cpp
e1e5d7a3d3d4d6d644e6c731f977422e004140d5 20-May-2015 Praveen Chavan <pchavan@codeaurora.org> NuPlayer: Enhance dumpsys statistics

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
/frameworks/av/media/libmediaplayerservice/nuplayer/NuPlayerDecoderPassThrough.cpp
8db8813d39e3c8b5fbd580dfc3062830744afd63 22-Apr-2015 Ronghua Wu <ronghuawu@google.com> DO NOT MERGE libmediaplayerservice: set priority and operating rate for the codec used by nuplayer.

Bug: 20481562
Change-Id: I9806414962352fbcda726f8274f1cd348c961de0
(cherry picked from commit f19f5d716b39a5d9dc1abdcd5a16a7aaf1b1ab8b)
/frameworks/av/media/libmediaplayerservice/nuplayer/NuPlayerDecoderPassThrough.cpp
3b032b3865fd93173aadca0591eeea32853206f9 18-Apr-2015 Chong Zhang <chz@google.com> NuPlayer: queue a deferred scan sources when flushing during scan

also refactor code to move scheduleRequestBuffers to decoder base.

bug: 20267388
Change-Id: I48f16adc6b4d4008f8fcda8b3b01c595ad199f8b
/frameworks/av/media/libmediaplayerservice/nuplayer/NuPlayerDecoderPassThrough.cpp
8b63533e6aaff121378878998925c57dbe9a9e16 31-Mar-2015 Haynes Mathew George <hgeorge@codeaurora.org> nuplayer: Has video hint for offload

Send a hint indicating whether the clip being played has a video stream
from NuPlayer to NuPlayerDecoderPassThrough. This hint is used to open the audio
sink with the correct offload config. Currently, NuPlayerDecoderPassthrough
always calls openAudioSink with hasVideo set to false causing an unnecessary
recreation of AudioTrack.

Change-Id: I7bc6c73818b65f9237a6e606721b7d48e1d807b9
CRs-Fixed: 811510
/frameworks/av/media/libmediaplayerservice/nuplayer/NuPlayerDecoderPassThrough.cpp
66704af4d82c2b6303609b29402641f861fdcb19 04-Mar-2015 Chong Zhang <chz@google.com> NuPlayer: play out pending frames on discontinuity

bug: 19567254

Change-Id: Iff689e1eea54283095068d68bcdff4c2674af554
/frameworks/av/media/libmediaplayerservice/nuplayer/NuPlayerDecoderPassThrough.cpp
1d15ab58bf8239069ef343de6cb21aabf3ef7d78 05-Mar-2015 Lajos Molnar <lajos@google.com> media: switch to new AMessage handling

Bug: 19607784
Change-Id: I94cddcb81f671422ad4982a23dc4acfe57a9f1aa
/frameworks/av/media/libmediaplayerservice/nuplayer/NuPlayerDecoderPassThrough.cpp
202bce11a7f66f27e6dbb6d154ddc123aa62513d 03-Dec-2014 Andy Hung <hunga@google.com> Fix NuPlayer assertion on failure to create AudioTrack

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
/frameworks/av/media/libmediaplayerservice/nuplayer/NuPlayerDecoderPassThrough.cpp
f1828910d48bbd22e1392e6ab0ce31298d1f115c 02-Dec-2014 Ronghua Wu <ronghuawu@google.com> nuplayer: clear pending audio access unit on flush.

Also add flag to avoid reading on flush.

Bug: 18540219
Change-Id: I2fc351c32c87db9a8c8c2aad12ee2bd56a0370ab
/frameworks/av/media/libmediaplayerservice/nuplayer/NuPlayerDecoderPassThrough.cpp
f8d717772f6d185cb07720cd5091df9b7d612e0b 27-Nov-2014 Chong Zhang <chz@google.com> notify seek complete upon first video output frame

Bug: 18541814
Change-Id: Ie4e0976885f26eb253460eab371cb181ea85f2db
/frameworks/av/media/libmediaplayerservice/nuplayer/NuPlayerDecoderPassThrough.cpp
7137ec7e005a5a6e3c0edb91cfacf16a31f4bf6a 13-Nov-2014 Chong Zhang <chz@google.com> tunnel NuPlayer source and decoder input

Bug: 18342383

Change-Id: Ieff1cd3bad2b39d46f127ddd5d5139b919992461
/frameworks/av/media/libmediaplayerservice/nuplayer/NuPlayerDecoderPassThrough.cpp
c6cfd70f24a11b946859485ce398a189c301a4e2 12-Nov-2014 Wei Jia <wjia@google.com> NuPlayer: tunnel decoder with renderer for data buffer passing.

Bug: 18342383

Change-Id: I182928007814c146c01a86196c4fda1d46e74ea4
/frameworks/av/media/libmediaplayerservice/nuplayer/NuPlayerDecoderPassThrough.cpp
c5cc2e21602182c7ab4df1d7eba40f18037c1818 10-Sep-2014 Phil Burk <philburk@google.com> mediaplayer: optimize buffer queue management

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>
/frameworks/av/media/libmediaplayerservice/nuplayer/NuPlayerDecoderPassThrough.cpp
178e506350ef41609daaf307f598ef0bc4f82c71 10-Sep-2014 Lajos Molnar <lajos@google.com> mediaplayer: limit number of outstanding buffer requests

Bug: 14679336
Change-Id: I94a20ada30a9a25065329a85fc884d32d154d029
/frameworks/av/media/libmediaplayerservice/nuplayer/NuPlayerDecoderPassThrough.cpp
de01afbbc55ac9c5c23ec66154603f34217aed2c 13-Aug-2014 Chong Zhang <chz@google.com> cache up to 200K bytes (instead of 10 buffers) in DecoderPassThrough

Bug: 16892521
Change-Id: I0e2da4134a37e632f9f2c29d1d27d8fded7a7863
/frameworks/av/media/libmediaplayerservice/nuplayer/NuPlayerDecoderPassThrough.cpp
bc2fb720bbd0acd122bacc67e844e982d068f6f9 09-Jul-2014 Wei Jia <wjia@google.com> Add support of audio offloading for NuPlayer.

Change-Id: Ic83973339fb46a83b48382e6097925f45d200867
/frameworks/av/media/libmediaplayerservice/nuplayer/NuPlayerDecoderPassThrough.cpp