• Home
  • Raw
  • Download

Lines Matching defs:NuPlayer

36 struct NuPlayer : public AHandler {  struct
135 enum {
168 wp<NuPlayerDriver> mDriver; argument
169 bool mUIDValid;
170 uid_t mUID;
171 pid_t mPID;
172 const sp<MediaClock> mMediaClock;
173 Mutex mSourceLock; // guard |mSource|.
174 sp<Source> mSource;
175 uint32_t mSourceFlags;
176 sp<Surface> mSurface;
177 sp<MediaPlayerBase::AudioSink> mAudioSink;
178 sp<DecoderBase> mVideoDecoder;
179 bool mOffloadAudio;
180 sp<DecoderBase> mAudioDecoder;
181 Mutex mDecoderLock; // guard |mAudioDecoder| and |mVideoDecoder|.
182 sp<CCDecoder> mCCDecoder;
183 sp<Renderer> mRenderer;
184 sp<ALooper> mRendererLooper;
185 int32_t mAudioDecoderGeneration;
186 int32_t mVideoDecoderGeneration;
187 int32_t mRendererGeneration;
189 Mutex mPlayingTimeLock;
190 int64_t mLastStartedPlayingTimeNs;
194 int64_t mLastStartedRebufferingTimeNs;
198 int64_t mPreviousSeekTimeUs;
200 List<sp<Action> > mDeferredActions;
202 bool mAudioEOS;
203 bool mVideoEOS;
205 bool mScanSourcesPending;
206 int32_t mScanSourcesGeneration;
208 int32_t mPollDurationGeneration;
209 int32_t mTimedTextGeneration;
211 enum FlushStatus {
220 enum FlushCommand {
227 bool mFlushComplete[2][2];
229 FlushStatus mFlushingAudio;
230 FlushStatus mFlushingVideo;
233 bool mResumePending;
235 int32_t mVideoScalingMode;
237 AudioPlaybackRate mPlaybackSettings;
238 AVSyncSettings mSyncSettings;
239 float mVideoFpsHint;
240 bool mStarted;
241 bool mPrepared;
242 bool mResetting;
243 bool mSourceStarted;
244 bool mAudioDecoderError;
245 bool mVideoDecoderError;
248 bool mPaused;
253 bool mPausedByClient;
256 bool mPausedForBuffering;
259 sp<ICrypto> mCrypto;
260 bool mIsDrmProtected;
262 typedef enum {
271 } DATA_SOURCE_TYPE;
273 std::atomic<DATA_SOURCE_TYPE> mDataSourceType;
275 inline const sp<DecoderBase> &getDecoder(bool audio) { in getDecoder()
279 inline void clearFlushComplete() { in clearFlushComplete()