Lines Matching defs:decoder

559                     // If the video decoder is not set (perhaps audio only in this case)
574 // After a flush without shutdown, decoder is paused.
630 // Don't try to re-open audio sink if there's an existing decoder.
692 ALOGV("got message from old %s decoder, generation(%d:%d)",
732 ALOGV("got %s decoder EOS", audio ? "audio" : "video");
734 ALOGV("got %s decoder EOS w/ error %d",
741 ALOGV("decoder %s flush completed", audio ? "audio" : "video");
779 // or from decoding corrupted bitstreams, or from other decoder
782 // decoder start or after a format change.
784 // We try to gracefully shut down the affected decoder if possible,
791 ALOGE("received error(%#x) from %s decoder, flushing(%d), now shutting down",
810 // Widevine source reads must stop before releasing the video decoder.
823 ALOGV("Unhandled decoder notification %d '%c%c%c%c'.",
950 // After a flush without shutdown, decoder is paused.
1018 // TRICKY: We rely on mRenderer being null, so that decoder does not start requesting
1110 // Audio decoder is no longer needed if it's in shut/shutting down status.
1115 // We wait for both the decoder flush and the renderer flush to complete
1135 ALOGV("initiating %s decoder shutdown", audio ? "audio" : "video");
1137 // Widevine source reads must stop before releasing the video decoder.
1147 // decoder flush completes only occur in a flushing state.
1148 LOG_ALWAYS_FATAL_IF(isDecoder, "decoder flush in invalid state %d", *state);
1206 status_t NuPlayer::instantiateDecoder(bool audio, sp<DecoderBase> *decoder) {
1207 if (*decoder != NULL) {
1241 *decoder = new DecoderPassThrough(notify, mSource, mRenderer);
1243 *decoder = new Decoder(notify, mSource, mRenderer);
1250 *decoder = new Decoder(
1264 (*decoder)->init();
1265 (*decoder)->configure(format);
1270 CHECK_EQ((*decoder)->getInputBuffers(&inputBufs), (status_t)OK);
1376 const sp<DecoderBase> &decoder = getDecoder(audio);
1377 if (decoder == NULL) {
1378 ALOGI("flushDecoder %s without decoder present",
1387 decoder->signalFlush();
1488 sp<DecoderBase> decoder = getDecoder(false /* audio */);
1489 if (decoder != NULL) {
1490 decoder->getStats(numFramesTotal, numFramesDropped);