Lines Matching defs:Decoder
59 NuPlayer2::Decoder::Decoder(
93 mComponentName("decoder") {
97 NuPlayer2::Decoder::~Decoder() {
106 sp<AMessage> NuPlayer2::Decoder::getStats() const {
113 status_t NuPlayer2::Decoder::setVideoSurface(const sp<ANativeWindowWrapper> &nww) {
130 void NuPlayer2::Decoder::onMessageReceived(const sp<AMessage> &msg) {
187 ALOGE("Decoder (%s) reported error : 0x%x",
287 void NuPlayer2::Decoder::onConfigure(const sp<AMessage> &format) {
303 mComponentName.append(" decoder");
322 ALOGE("Failed to create %s%s decoder",
359 ALOGE("Failed to configure [%s] decoder (err=%d)", mComponentName.c_str(), err);
396 ALOGE("Failed to start [%s] decoder (err=%d)", mComponentName.c_str(), err);
409 void NuPlayer2::Decoder::onSetParameters(const sp<AMessage> ¶ms) {
474 void NuPlayer2::Decoder
478 void NuPlayer2::Decoder::onResume(bool notifyComplete) {
493 void NuPlayer2::Decoder::doFlush(bool notifyComplete) {
521 void NuPlayer2::Decoder::onFlush() {
536 void NuPlayer2::Decoder::onShutdown(bool notifyComplete) {
555 mComponentName = "decoder";
577 bool NuPlayer2::Decoder::doRequestBuffers() {
603 void NuPlayer2::Decoder::handleError(int32_t err)
607 // decoder after flushing and increment the generation to discard unnecessary messages.
617 status_t NuPlayer2::Decoder::releaseCrypto()
635 void NuPlayer2::Decoder::onReleaseCrypto(const sp<AMessage>& msg)
657 bool NuPlayer2::Decoder::handleAnInputBuffer(size_t index) {
732 bool NuPlayer2::Decoder::handleAnOutputBuffer(
771 // we do not expect CODECCONFIG or SYNCFRAME for decoder
818 void NuPlayer2::Decoder::handleOutputFormatChange(const sp<AMessage> &format) {
850 void NuPlayer2::Decoder::releaseAndResetMediaBuffers() {
872 bool NuPlayer2::Decoder::isStaleReply(const sp<AMessage> &msg) {
878 status_t NuPlayer2::Decoder::fetchInputData(sp<AMessage> &reply) {
921 // reuse existing decoder and don't flush
1001 bool NuPlayer2::Decoder::onInputBufferFetched(const sp<AMessage> &msg) {
1061 // we do not expect SYNCFRAME for decoder
1136 void NuPlayer2::Decoder::onRenderBuffer(const sp<AMessage> &msg) {
1174 bool NuPlayer2::Decoder::isDiscontinuityPending() const {
1178 void NuPlayer2::Decoder::finishHandleDiscontinuity(bool flushOnTimeChange) {
1194 // Notify NuPlayer2 to either shutdown decoder, or rescan sources
1204 bool NuPlayer2::Decoder::supportsSeamlessAudioFormatChange(
1241 bool NuPlayer2::Decoder::supportsSeamlessFormatChange(const sp<AMessage> &targetFormat) const {
1272 void NuPlayer2::Decoder::rememberCodecSpecificData(const sp<AMessage> &format) {
1288 void NuPlayer2::Decoder::notifyResumeCompleteIfNecessary() {