Home
last modified time | relevance | path

Searched refs:NuPlayer2 (Results 1 – 22 of 22) sorted by relevance

/frameworks/av/media/libmediaplayer2/nuplayer2/
DNuPlayer2DecoderBase.cpp32 NuPlayer2::DecoderBase::DecoderBase(const sp<AMessage> &notify) in DecoderBase()
47 NuPlayer2::DecoderBase::~DecoderBase() { in ~DecoderBase()
67 void NuPlayer2::DecoderBase::configure(const sp<AMessage> &format) { in configure()
73 void NuPlayer2::DecoderBase::init() { in init()
77 void NuPlayer2::DecoderBase::stopLooper() { in stopLooper()
82 void NuPlayer2::DecoderBase::setParameters(const sp<AMessage> &params) { in setParameters()
88 void NuPlayer2::DecoderBase::setRenderer(const sp<Renderer> &renderer) { in setRenderer()
94 void NuPlayer2::DecoderBase::pause() { in pause()
101 void NuPlayer2::DecoderBase::signalFlush() { in signalFlush()
105 void NuPlayer2::DecoderBase::signalResume(bool notifyComplete) { in signalResume()
[all …]
DNuPlayer2Renderer.cpp78 const NuPlayer2::Renderer::PcmInfo NuPlayer2::Renderer::AUDIO_PCMINFO_INITIALIZER = {
87 const int64_t NuPlayer2::Renderer::kMinPositionUpdateDelayUs = 100000ll;
89 NuPlayer2::Renderer::Renderer( in Renderer()
140 NuPlayer2::Renderer::~Renderer() { in ~Renderer()
159 void NuPlayer2::Renderer::queueBuffer( in queueBuffer()
171 void NuPlayer2::Renderer::queueEOS(bool audio, status_t finalResult) { in queueEOS()
181 status_t NuPlayer2::Renderer::setPlaybackSettings(const AudioPlaybackRate &rate) { in setPlaybackSettings()
192 status_t NuPlayer2::Renderer::onConfigPlayback(const AudioPlaybackRate &rate /* sanitized */) { in onConfigPlayback()
216 status_t NuPlayer2::Renderer::getPlaybackSettings(AudioPlaybackRate *rate /* nonnull */) { in getPlaybackSettings()
229 status_t NuPlayer2::Renderer::onGetPlaybackSettings(AudioPlaybackRate *rate /* nonnull */) { in onGetPlaybackSettings()
[all …]
DNuPlayer2DecoderPassThrough.cpp42 NuPlayer2::DecoderPassThrough::DecoderPassThrough( in DecoderPassThrough()
58 NuPlayer2::DecoderPassThrough::~DecoderPassThrough() { in ~DecoderPassThrough()
61 void NuPlayer2::DecoderPassThrough::onConfigure(const sp<AMessage> &format) { in onConfigure()
84 void NuPlayer2::DecoderPassThrough::onSetParameters(const sp<AMessage> &/*params*/) { in onSetParameters()
88 void NuPlayer2::DecoderPassThrough::onSetRenderer( in onSetRenderer()
95 bool NuPlayer2::DecoderPassThrough::isStaleReply(const sp<AMessage> &msg) { in isStaleReply()
101 bool NuPlayer2::DecoderPassThrough::isDoneFetching() const { in isDoneFetching()
111 bool NuPlayer2::DecoderPassThrough::doRequestBuffers() { in doRequestBuffers()
128 status_t NuPlayer2::DecoderPassThrough::dequeueAccessUnit(sp<ABuffer> *accessUnit) { in dequeueAccessUnit()
155 sp<ABuffer> NuPlayer2::DecoderPassThrough::aggregateBuffer( in aggregateBuffer()
[all …]
DNuPlayer2.cpp102 struct NuPlayer2::Action : public RefBase {
105 virtual void execute(NuPlayer2 *player) = 0;
111 struct NuPlayer2::SeekAction : public Action {
117 virtual void execute(NuPlayer2 *player) { in execute()
128 struct NuPlayer2::ResumeDecoderAction : public Action {
133 virtual void execute(NuPlayer2 *player) { in execute()
143 struct NuPlayer2::SetSurfaceAction : public Action {
148 virtual void execute(NuPlayer2 *player) { in execute()
158 struct NuPlayer2::FlushDecoderAction : public Action {
164 virtual void execute(NuPlayer2 *player) { in execute()
[all …]
DHTTPLiveSource2.cpp41 NuPlayer2::HTTPLiveSource2::HTTPLiveSource2( in HTTPLiveSource2()
72 NuPlayer2::HTTPLiveSource2::~HTTPLiveSource2() { in ~HTTPLiveSource2()
85 status_t NuPlayer2::HTTPLiveSource2::getBufferingSettings( in getBufferingSettings()
92 status_t NuPlayer2::HTTPLiveSource2::setBufferingSettings(const BufferingSettings& buffering) { in setBufferingSettings()
102 void NuPlayer2::HTTPLiveSource2::prepareAsync() { in prepareAsync()
126 void NuPlayer2::HTTPLiveSource2::start() { in start()
129 sp<MetaData> NuPlayer2::HTTPLiveSource2::getFormatMeta(bool audio) { in getFormatMeta()
141 sp<AMessage> NuPlayer2::HTTPLiveSource2::getFormat(bool audio) { in getFormat()
164 status_t NuPlayer2::HTTPLiveSource2::feedMoreTSData() { in feedMoreTSData()
168 status_t NuPlayer2::HTTPLiveSource2::dequeueAccessUnit( in dequeueAccessUnit()
[all …]
DRTSPSource2.cpp41 NuPlayer2::RTSPSource2::RTSPSource2( in RTSPSource2()
79 NuPlayer2::RTSPSource2::~RTSPSource2() { in ~RTSPSource2()
86 status_t NuPlayer2::RTSPSource2::getBufferingSettings( in getBufferingSettings()
93 status_t NuPlayer2::RTSPSource2::setBufferingSettings(const BufferingSettings& buffering) { in setBufferingSettings()
99 void NuPlayer2::RTSPSource2::prepareAsync() { in prepareAsync()
138 void NuPlayer2::RTSPSource2::start() { in start()
141 void NuPlayer2::RTSPSource2::stop() { in stop()
151 status_t NuPlayer2::RTSPSource2::feedMoreTSData() { in feedMoreTSData()
156 sp<MetaData> NuPlayer2::RTSPSource2::getFormatMeta(bool audio) { in getFormatMeta()
166 bool NuPlayer2::RTSPSource2::haveSufficientDataOnAllTracks() { in haveSufficientDataOnAllTracks()
[all …]
DGenericSource2.cpp56 NuPlayer2::GenericSource2::GenericSource2( in GenericSource2()
89 void NuPlayer2::GenericSource2::resetDataSource() { in resetDataSource()
112 status_t NuPlayer2::GenericSource2::setDataSource( in setDataSource()
133 status_t NuPlayer2::GenericSource2::setDataSource( in setDataSource()
149 status_t NuPlayer2::GenericSource2::setDataSource(const sp<DataSource>& source) { in setDataSource()
158 sp<MetaData> NuPlayer2::GenericSource2::getFileFormatMeta() const { in getFileFormatMeta()
163 status_t NuPlayer2::GenericSource2::initFromDataSource() { in initFromDataSource()
293 status_t NuPlayer2::GenericSource2::getBufferingSettings( in getBufferingSettings()
304 status_t NuPlayer2::GenericSource2::setBufferingSettings(const BufferingSettings& buffering) { in setBufferingSettings()
312 int64_t NuPlayer2::GenericSource2::getLastReadPosition() { in getLastReadPosition()
[all …]
DNuPlayer2CCDecoder.cpp121 NuPlayer2::CCDecoder::CCDecoder(const sp<AMessage> &notify) in CCDecoder()
134 size_t NuPlayer2::CCDecoder::getTrackCount() const { in getTrackCount()
138 sp<AMessage> NuPlayer2::CCDecoder::getTrackInfo(size_t index) const { in getTrackInfo()
175 status_t NuPlayer2::CCDecoder::selectTrack(size_t index, bool select) { in selectTrack()
202 bool NuPlayer2::CCDecoder::isSelected() const { in isSelected()
206 bool NuPlayer2::CCDecoder::isTrackValid(size_t index) const { in isTrackValid()
211 bool NuPlayer2::CCDecoder::extractFromSEI(const sp<ABuffer> &accessUnit) { in extractFromSEI()
233 bool NuPlayer2::CCDecoder::parseSEINalUnit(int64_t timeUs, const uint8_t *data, size_t size) { in parseSEINalUnit()
303 bool NuPlayer2::CCDecoder::extractFromMPEGUserData(const sp<ABuffer> &accessUnit) { in extractFromMPEGUserData()
326 bool NuPlayer2::CCDecoder::parseMPEGUserDataUnit(int64_t timeUs, const uint8_t *data, size_t size) { in parseMPEGUserDataUnit()
[all …]
DNuPlayer2CCDecoder.h25 struct NuPlayer2::CCDecoder : public RefBase {
59 int compare(const NuPlayer2::CCDecoder::CCTrack& rhs) const;
60 inline bool operator<(const NuPlayer2::CCDecoder::CCTrack& rhs) const;
61 inline bool operator==(const NuPlayer2::CCDecoder::CCTrack& rhs) const;
62 inline bool operator!=(const NuPlayer2::CCDecoder::CCTrack& rhs) const;
DNuPlayer2Decoder.cpp59 NuPlayer2::Decoder::Decoder( in Decoder()
97 NuPlayer2::Decoder::~Decoder() { in ~Decoder()
106 sp<AMessage> NuPlayer2::Decoder::getStats() const { in getStats()
113 status_t NuPlayer2::Decoder::setVideoSurface(const sp<ANativeWindowWrapper> &nww) { in setVideoSurface()
130 void NuPlayer2::Decoder::onMessageReceived(const sp<AMessage> &msg) { in onMessageReceived()
287 void NuPlayer2::Decoder::onConfigure(const sp<AMessage> &format) { in onConfigure()
409 void NuPlayer2::Decoder::onSetParameters(const sp<AMessage> &params) { in onSetParameters()
474 void NuPlayer2::Decoder::onSetRenderer(const sp<Renderer> &renderer) { in onSetRenderer()
478 void NuPlayer2::Decoder::onResume(bool notifyComplete) { in onResume()
493 void NuPlayer2::Decoder::doFlush(bool notifyComplete) { in doFlush()
[all …]
DNuPlayer2.h40 struct NuPlayer2 : public AHandler { struct
41 explicit NuPlayer2(pid_t pid, uid_t uid, const sp<MediaClock> &mediaClock);
96 virtual ~NuPlayer2();
341 DISALLOW_EVIL_CONSTRUCTORS(NuPlayer2);
DHTTPLiveSource2.h30 struct NuPlayer2::HTTPLiveSource2 : public NuPlayer2::Source {
DRTSPSource2.h33 struct NuPlayer2::RTSPSource2 : public NuPlayer2::Source {
DNuPlayer2Driver.h26 struct NuPlayer2;
136 const sp<NuPlayer2> mPlayer;
DAndroid.bp7 "NuPlayer2.cpp",
DGenericSource2.h46 struct NuPlayer2::GenericSource2 : public NuPlayer2::Source,
DNuPlayer2DecoderPassThrough.h27 struct NuPlayer2::DecoderPassThrough : public DecoderBase {
DNuPlayer2DecoderBase.h33 struct NuPlayer2::DecoderBase : public AHandler {
DNuPlayer2Driver.cpp123 mPlayer(new NuPlayer2(pid, uid, mMediaClock)), in NuPlayer2Driver()
722 mPlayerFlags & NuPlayer2::Source::FLAG_CAN_PAUSE); in getMetadata()
726 mPlayerFlags & NuPlayer2::Source::FLAG_CAN_SEEK_BACKWARD); in getMetadata()
730 mPlayerFlags & NuPlayer2::Source::FLAG_CAN_SEEK_FORWARD); in getMetadata()
734 mPlayerFlags & NuPlayer2::Source::FLAG_CAN_SEEK); in getMetadata()
DNuPlayer2Source.h34 struct NuPlayer2::Source : public AHandler {
DNuPlayer2Decoder.h31 struct NuPlayer2::Decoder : public DecoderBase {
DNuPlayer2Renderer.h33 struct NuPlayer2::Renderer : public AHandler {