Lines Matching refs:Decoder
59 NuPlayer::Decoder::Decoder(
93 mComponentName("decoder") {
100 NuPlayer::Decoder::~Decoder() {
109 sp<AMessage> NuPlayer::Decoder::getStats() const {
116 status_t NuPlayer::Decoder::setVideoSurface(const sp<Surface> &surface) {
132 void NuPlayer::Decoder::onMessageReceived(const sp<AMessage> &msg) {
189 ALOGE("Decoder (%s) reported error : 0x%x",
279 void NuPlayer::Decoder::onConfigure(const sp<AMessage> &format) {
294 mComponentName.append(" decoder");
311 ALOGE("Failed to create %s%s decoder",
347 ALOGE("Failed to configure [%s] decoder (err=%d)", mComponentName.c_str(), err);
376 ALOGE("Failed to start [%s] decoder (err=%d)", mComponentName.c_str(), err);
389 void NuPlayer::Decoder::onSetParameters(const sp<AMessage> ¶ms) {
454 void NuPlayer::Decoder::onSetRenderer(const sp<Renderer> &renderer) {
458 void NuPlayer::Decoder::onResume(bool notifyComplete) {
473 void NuPlayer::Decoder::doFlush(bool notifyComplete) {
501 void NuPlayer::Decoder::onFlush() {
516 void NuPlayer::Decoder::onShutdown(bool notifyComplete) {
534 mComponentName = "decoder";
556 bool NuPlayer::Decoder::doRequestBuffers() {
582 void NuPlayer::Decoder::handleError(int32_t err)
586 // decoder after flushing and increment the generation to discard unnecessary messages.
596 status_t NuPlayer::Decoder::releaseCrypto()
614 void NuPlayer::Decoder::onReleaseCrypto(const sp<AMessage>& msg)
636 bool NuPlayer::Decoder::handleAnInputBuffer(size_t index) {
708 bool NuPlayer::Decoder::handleAnOutputBuffer(
743 // we do not expect CODECCONFIG or SYNCFRAME for decoder
791 void NuPlayer::Decoder::handleOutputFormatChange(const sp<AMessage> &format) {
823 void NuPlayer::Decoder::releaseAndResetMediaBuffers() {
845 void NuPlayer::Decoder::requestCodecNotification() {
853 bool NuPlayer::Decoder::isStaleReply(const sp<AMessage> &msg) {
859 status_t NuPlayer::Decoder::fetchInputData(sp<AMessage> &reply) {
902 // reuse existing decoder and don't flush
982 bool NuPlayer::Decoder::onInputBufferFetched(const sp<AMessage> &msg) {
1042 // we do not expect SYNCFRAME for decoder
1126 void NuPlayer::Decoder::onRenderBuffer(const sp<AMessage> &msg) {
1168 bool NuPlayer::Decoder::isDiscontinuityPending() const {
1172 void NuPlayer::Decoder::finishHandleDiscontinuity(bool flushOnTimeChange) {
1188 // Notify NuPlayer to either shutdown decoder, or rescan sources
1198 bool NuPlayer::Decoder::supportsSeamlessAudioFormatChange(
1233 bool NuPlayer::Decoder::supportsSeamlessFormatChange(const sp<AMessage> &targetFormat) const {
1264 void NuPlayer::Decoder::rememberCodecSpecificData(const sp<AMessage> &format) {
1280 void NuPlayer::Decoder::notifyResumeCompleteIfNecessary() {