Home | History | Annotate | Download | only in nuplayer

Lines Matching refs:Renderer

79 const NuPlayer::Renderer::PcmInfo NuPlayer::Renderer::AUDIO_PCMINFO_INITIALIZER = {
88 const int64_t NuPlayer::Renderer::kMinPositionUpdateDelayUs = 100000ll;
90 NuPlayer::Renderer::Renderer(
138 NuPlayer::Renderer::~Renderer() {
146 void NuPlayer::Renderer::queueBuffer(
158 void NuPlayer::Renderer::queueEOS(bool audio, status_t finalResult) {
168 status_t NuPlayer::Renderer::setPlaybackSettings(const AudioPlaybackRate &rate) {
179 status_t NuPlayer::Renderer::onConfigPlayback(const AudioPlaybackRate &rate /* sanitized */) {
203 status_t NuPlayer::Renderer::getPlaybackSettings(AudioPlaybackRate *rate /* nonnull */) {
216 status_t NuPlayer::Renderer::onGetPlaybackSettings(AudioPlaybackRate *rate /* nonnull */) {
236 status_t NuPlayer::Renderer::setSyncSettings(const AVSyncSettings &sync, float videoFpsHint) {
247 status_t NuPlayer::Renderer::onConfigSync(const AVSyncSettings &sync, float videoFpsHint __unused) {
255 status_t NuPlayer::Renderer::getSyncSettings(AVSyncSettings *sync, float *videoFps) {
268 status_t NuPlayer::Renderer::onGetSyncSettings(
275 void NuPlayer::Renderer::flush(bool audio, bool notifyComplete) {
299 void NuPlayer::Renderer::signalTimeDiscontinuity() {
302 void NuPlayer::Renderer::signalDisableOffloadAudio() {
306 void NuPlayer::Renderer::signalEnableOffloadAudio() {
310 void NuPlayer::Renderer::pause() {
314 void NuPlayer::Renderer::resume() {
318 void NuPlayer::Renderer::setVideoFrameRate(float fps) {
325 status_t NuPlayer::Renderer::getCurrentPosition(int64_t *mediaUs) {
354 void NuPlayer::Renderer::clearAudioFirstAnchorTime_l() {
359 void NuPlayer::Renderer::setAudioFirstAnchorTimeIfNeeded_l(int64_t mediaUs) {
366 void NuPlayer::Renderer::clearAnchorTime_l() {
372 void NuPlayer::Renderer::setVideoLateByUs(int64_t lateUs) {
377 int64_t NuPlayer::Renderer::getVideoLateByUs() {
382 status_t NuPlayer::Renderer::openAudioSink(
408 void NuPlayer::Renderer::closeAudioSink() {
415 void NuPlayer::Renderer::onMessageReceived(const sp<AMessage> &msg) {
683 void NuPlayer::Renderer::postDrainAudioQueue_l(int64_t delayUs) {
706 void NuPlayer::Renderer::prepareForMediaRenderingStart_l() {
712 void NuPlayer::Renderer::notifyIfMediaRenderingStarted_l() {
729 size_t NuPlayer::Renderer::AudioSinkCallback(
735 NuPlayer::Renderer *me = (NuPlayer::Renderer *)cookie;
762 size_t NuPlayer::Renderer::fillAudioBuffer(void *buffer, size_t size) {
845 void NuPlayer::Renderer::drainAudioQueueUntilLastEOS() {
872 bool NuPlayer::Renderer::onDrainAudioQueue() {
889 // When getPosition fails, renderer will not reschedule the draining
1029 int64_t NuPlayer::Renderer::getDurationUsIfPlayedAtSampleRate(uint32_t numFrames) {
1041 int64_t NuPlayer::Renderer::getPendingAudioPlayoutDurationUs(int64_t nowUs) {
1055 int64_t NuPlayer::Renderer::getRealTimeUs(int64_t mediaTimeUs, int64_t nowUs) {
1065 void NuPlayer::Renderer::onNewAudioMediaTime(int64_t mediaTimeUs) {
1111 void NuPlayer::Renderer::postDrainVideoQueue() {
1212 void NuPlayer::Renderer::onDrainVideoQueue() {
1270 // when renderer is in paused state, because resume can happen any time after seek.
1300 void NuPlayer::Renderer::notifyVideoRenderingStart() {
1306 void NuPlayer::Renderer::notifyEOS(bool audio, status_t finalResult, int64_t delayUs) {
1321 void NuPlayer::Renderer::notifyAudioTearDown(AudioTearDownReason reason) {
1327 void NuPlayer::Renderer::onQueueBuffer(const sp<AMessage> &msg) {
1407 void NuPlayer::Renderer::syncQueuesDone_l() {
1425 void NuPlayer::Renderer::onQueueEOS(const sp<AMessage> &msg) {
1457 void NuPlayer::Renderer::onFlush(const sp<AMessage> &msg) {
1514 // Race condition: if renderer is paused and audio sink is stopped,
1547 void NuPlayer::Renderer::flushQueue(List<QueueEntry> *queue) {
1560 void NuPlayer::Renderer::notifyFlushComplete(bool audio) {
1567 bool NuPlayer::Renderer::dropBufferIfStale(
1584 void NuPlayer::Renderer::onAudioSinkChanged() {
1600 void NuPlayer::Renderer::onDisableOffloadAudio() {
1609 void NuPlayer::Renderer::onEnableOffloadAudio() {
1618 void NuPlayer::Renderer::onPause() {
1643 void NuPlayer::Renderer::onResume() {
1682 void NuPlayer::Renderer::onSetVideoFrameRate(float fps) {
1689 int32_t NuPlayer::Renderer::getQueueGeneration(bool audio) {
1694 int32_t NuPlayer::Renderer::getDrainGeneration(bool audio) {
1699 bool NuPlayer::Renderer::getSyncQueues() {
1704 void NuPlayer::Renderer::onAudioTearDown(AudioTearDownReason reason) {
1724 void NuPlayer::Renderer::startAudioOffloadPauseTimeout() {
1733 void NuPlayer::Renderer::cancelAudioOffloadPauseTimeout() {
1746 status_t NuPlayer::Renderer::onOpenAudioSink(
1825 &NuPlayer::Renderer::AudioSinkCallback,
1911 mUseAudioCallback ? &NuPlayer::Renderer::AudioSinkCallback : NULL,
1935 void NuPlayer::Renderer::onCloseAudioSink() {