Lines Matching defs:Renderer

33 struct NuPlayer::Renderer : public AHandler {  struct
38 Renderer(const sp<MediaPlayerBase::AudioSink> &sink, argument
101 virtual ~Renderer(); argument
106 enum {
127 struct QueueEntry {
135 static const int64_t kMinPositionUpdateDelayUs;
137 sp<MediaPlayerBase::AudioSink> mAudioSink;
138 bool mUseVirtualAudioSink;
139 sp<AMessage> mNotify;
140 Mutex mLock;
141 uint32_t mFlags;
142 List<QueueEntry> mAudioQueue;
143 List<QueueEntry> mVideoQueue;
144 uint32_t mNumFramesWritten;
145 sp<VideoFrameScheduler> mVideoScheduler;
147 bool mDrainAudioQueuePending;
148 bool mDrainVideoQueuePending;
149 int32_t mAudioQueueGeneration;
150 int32_t mVideoQueueGeneration;
151 int32_t mAudioDrainGeneration;
152 int32_t mVideoDrainGeneration;
153 int32_t mAudioEOSGeneration;
155 sp<MediaClock> mMediaClock;
156 float mPlaybackRate; // audio track rate
158 AudioPlaybackRate mPlaybackSettings;
159 AVSyncSettings mSyncSettings;
160 float mVideoFpsHint;
162 int64_t mAudioFirstAnchorTimeMediaUs;
163 int64_t mAnchorTimeMediaUs;
164 int64_t mAnchorNumFramesWritten;
165 int64_t mVideoLateByUs;
166 bool mHasAudio;
167 bool mHasVideo;
169 bool mNotifyCompleteAudio;
170 bool mNotifyCompleteVideo;
172 bool mSyncQueues;
175 bool mPaused;
176 int64_t mPauseDrainAudioAllowedUs; // time when we can drain/deliver audio in pause mode.
178 bool mVideoSampleReceived;
179 bool mVideoRenderingStarted;
180 int32_t mVideoRenderingStartGeneration;
181 int32_t mAudioRenderingStartGeneration;
182 bool mRenderingDataDelivered;
184 int64_t mNextAudioClockUpdateTimeUs;
186 int64_t mLastAudioMediaTimeUs;
188 int32_t mAudioOffloadPauseTimeoutGeneration;
189 bool mAudioTornDown;
190 audio_offload_info_t mCurrentOffloadInfo;
192 struct PcmInfo {
199 PcmInfo mCurrentPcmInfo;
200 static const PcmInfo AUDIO_PCMINFO_INITIALIZER;
202 int32_t mTotalBuffersQueued;
203 int32_t mLastAudioBufferDrained;
204 bool mUseAudioCallback;
206 sp<AWakeLock> mWakeLock;
279 DISALLOW_EVIL_CONSTRUCTORS(Renderer); argument