Lines Matching defs:NuPlayer
37 struct NuPlayer : public AHandler { struct
131 enum {
164 wp<NuPlayerDriver> mDriver; argument
165 bool mUIDValid;
166 uid_t mUID;
167 pid_t mPID;
168 const sp<MediaClock> mMediaClock;
169 Mutex mSourceLock; // guard |mSource|.
170 sp<Source> mSource;
171 uint32_t mSourceFlags;
172 sp<Surface> mSurface;
173 sp<MediaPlayerBase::AudioSink> mAudioSink;
174 sp<DecoderBase> mVideoDecoder;
175 bool mOffloadAudio;
176 sp<DecoderBase> mAudioDecoder;
177 Mutex mDecoderLock; // guard |mAudioDecoder| and |mVideoDecoder|.
178 sp<CCDecoder> mCCDecoder;
179 sp<Renderer> mRenderer;
180 sp<ALooper> mRendererLooper;
181 int32_t mAudioDecoderGeneration;
182 int32_t mVideoDecoderGeneration;
183 int32_t mRendererGeneration;
185 Mutex mPlayingTimeLock;
186 int64_t mLastStartedPlayingTimeNs;
190 int64_t mLastStartedRebufferingTimeNs;
194 int64_t mPreviousSeekTimeUs;
196 List<sp<Action> > mDeferredActions;
198 bool mAudioEOS;
199 bool mVideoEOS;
201 bool mScanSourcesPending;
202 int32_t mScanSourcesGeneration;
204 int32_t mPollDurationGeneration;
205 int32_t mTimedTextGeneration;
207 enum FlushStatus {
216 enum FlushCommand {
223 bool mFlushComplete[2][2];
225 FlushStatus mFlushingAudio;
226 FlushStatus mFlushingVideo;
229 bool mResumePending;
231 int32_t mVideoScalingMode;
233 AudioPlaybackRate mPlaybackSettings;
234 AVSyncSettings mSyncSettings;
235 float mVideoFpsHint;
236 bool mStarted;
237 bool mPrepared;
238 bool mResetting;
239 bool mSourceStarted;
240 bool mAudioDecoderError;
241 bool mVideoDecoderError;
244 bool mPaused;
249 bool mPausedByClient;
252 bool mPausedForBuffering;
255 sp<ICrypto> mCrypto;
256 bool mIsDrmProtected;
258 typedef enum {
266 } DATA_SOURCE_TYPE;
268 std::atomic<DATA_SOURCE_TYPE> mDataSourceType;
270 inline const sp<DecoderBase> &getDecoder(bool audio) { in getDecoder()
274 inline void clearFlushComplete() { in clearFlushComplete()