Loading media/libstagefright/codecs/aacdec/SoftAAC2.cpp +3 −0 Original line number Diff line number Diff line Loading @@ -604,6 +604,9 @@ void SoftAAC2::onReset() { // To make the codec behave the same before and after a reset, we need to invalidate the // streaminfo struct. This does that: mStreamInfo->sampleRate = 0; mSignalledError = false; mOutputPortSettingsChange = NONE; } void SoftAAC2::onPortEnableCompleted(OMX_U32 portIndex, bool enabled) { Loading media/libstagefright/codecs/amrnb/dec/SoftAMR.cpp +5 −0 Original line number Diff line number Diff line Loading @@ -457,6 +457,11 @@ void SoftAMR::onPortEnableCompleted(OMX_U32 portIndex, bool enabled) { } } void SoftAMR::onReset() { mSignalledError = false; mOutputPortSettingsChange = NONE; } } // namespace android android::SoftOMXComponent *createSoftOMXComponent( Loading media/libstagefright/codecs/amrnb/dec/SoftAMR.h +1 −0 Original line number Diff line number Diff line Loading @@ -40,6 +40,7 @@ protected: virtual void onQueueFilled(OMX_U32 portIndex); virtual void onPortFlushCompleted(OMX_U32 portIndex); virtual void onPortEnableCompleted(OMX_U32 portIndex, bool enabled); virtual void onReset(); private: enum { Loading media/libstagefright/codecs/m4v_h263/dec/SoftMPEG4.cpp +5 −0 Original line number Diff line number Diff line Loading @@ -571,6 +571,11 @@ void SoftMPEG4::onPortEnableCompleted(OMX_U32 portIndex, bool enabled) { } } void SoftMPEG4::onReset() { mSignalledError = false; mOutputPortSettingsChange = NONE; } void SoftMPEG4::updatePortDefinitions() { OMX_PARAM_PORTDEFINITIONTYPE *def = &editPortInfo(0)->mDef; def->format.video.nFrameWidth = mWidth; Loading media/libstagefright/codecs/m4v_h263/dec/SoftMPEG4.h +1 −0 Original line number Diff line number Diff line Loading @@ -44,6 +44,7 @@ protected: virtual void onQueueFilled(OMX_U32 portIndex); virtual void onPortFlushCompleted(OMX_U32 portIndex); virtual void onPortEnableCompleted(OMX_U32 portIndex, bool enabled); virtual void onReset(); private: enum { Loading Loading
media/libstagefright/codecs/aacdec/SoftAAC2.cpp +3 −0 Original line number Diff line number Diff line Loading @@ -604,6 +604,9 @@ void SoftAAC2::onReset() { // To make the codec behave the same before and after a reset, we need to invalidate the // streaminfo struct. This does that: mStreamInfo->sampleRate = 0; mSignalledError = false; mOutputPortSettingsChange = NONE; } void SoftAAC2::onPortEnableCompleted(OMX_U32 portIndex, bool enabled) { Loading
media/libstagefright/codecs/amrnb/dec/SoftAMR.cpp +5 −0 Original line number Diff line number Diff line Loading @@ -457,6 +457,11 @@ void SoftAMR::onPortEnableCompleted(OMX_U32 portIndex, bool enabled) { } } void SoftAMR::onReset() { mSignalledError = false; mOutputPortSettingsChange = NONE; } } // namespace android android::SoftOMXComponent *createSoftOMXComponent( Loading
media/libstagefright/codecs/amrnb/dec/SoftAMR.h +1 −0 Original line number Diff line number Diff line Loading @@ -40,6 +40,7 @@ protected: virtual void onQueueFilled(OMX_U32 portIndex); virtual void onPortFlushCompleted(OMX_U32 portIndex); virtual void onPortEnableCompleted(OMX_U32 portIndex, bool enabled); virtual void onReset(); private: enum { Loading
media/libstagefright/codecs/m4v_h263/dec/SoftMPEG4.cpp +5 −0 Original line number Diff line number Diff line Loading @@ -571,6 +571,11 @@ void SoftMPEG4::onPortEnableCompleted(OMX_U32 portIndex, bool enabled) { } } void SoftMPEG4::onReset() { mSignalledError = false; mOutputPortSettingsChange = NONE; } void SoftMPEG4::updatePortDefinitions() { OMX_PARAM_PORTDEFINITIONTYPE *def = &editPortInfo(0)->mDef; def->format.video.nFrameWidth = mWidth; Loading
media/libstagefright/codecs/m4v_h263/dec/SoftMPEG4.h +1 −0 Original line number Diff line number Diff line Loading @@ -44,6 +44,7 @@ protected: virtual void onQueueFilled(OMX_U32 portIndex); virtual void onPortFlushCompleted(OMX_U32 portIndex); virtual void onPortEnableCompleted(OMX_U32 portIndex, bool enabled); virtual void onReset(); private: enum { Loading