Loading cmds/stagefright/sf2.cpp +0 −1 Original line number Diff line number Diff line Loading @@ -230,7 +230,6 @@ protected: mCodec->signalResume(); (new AMessage(kWhatSeek, this))->post(5000000ll); } else if (what == CodecBase::kWhatOutputFormatChanged) { } else if (what == CodecBase::kWhatShutdownCompleted) { mDecodeLooper->unregisterHandler(mCodec->id()); Loading include/media/MediaCodecBuffer.h +2 −0 Original line number Diff line number Diff line Loading @@ -58,6 +58,8 @@ public: sp<AMessage> meta(); sp<AMessage> format(); virtual sp<MediaCodecBuffer> clone(const sp<AMessage> &format); private: MediaCodecBuffer() = delete; Loading include/media/stagefright/ACodec.h +1 −4 Original line number Diff line number Diff line Loading @@ -188,7 +188,6 @@ private: sp<RefBase> mCodecRef; // and a reference to the IMemory sp<GraphicBuffer> mGraphicBuffer; sp<NativeHandle> mNativeHandle; int mFenceFd; FrameRenderTracker::Info *mRenderInfo; Loading @@ -200,8 +199,6 @@ private: // Log error, if the current fence is not a read/write fence. void checkReadFence(const char *dbg); void checkWriteFence(const char *dbg); sp<MediaCodecBuffer> alloc(const sp<AMessage> &format); }; static const char *_asString(BufferInfo::Status s); Loading include/media/stagefright/CodecBase.h +0 −1 Original line number Diff line number Diff line Loading @@ -45,7 +45,6 @@ struct CodecBase : public AHandler, /* static */ ColorUtils { kWhatEOS = 'eos ', kWhatShutdownCompleted = 'scom', kWhatFlushCompleted = 'fcom', kWhatOutputFormatChanged = 'outC', kWhatError = 'erro', kWhatComponentAllocated = 'cAll', kWhatComponentConfigured = 'cCon', Loading include/media/stagefright/MediaCodec.h +2 −2 Original line number Diff line number Diff line Loading @@ -246,7 +246,7 @@ private: kFlagIsSecure = 64, kFlagSawMediaServerDie = 128, kFlagIsEncoder = 256, kFlagGatherCodecSpecificData = 512, // 512 skipped kFlagIsAsync = 1024, kFlagIsComponentAllocated = 2048, kFlagPushBlankBuffersOnShutdown = 4096, Loading @@ -258,7 +258,6 @@ private: sp<MediaCodecBuffer> mSecureData; sp<IMemory> mSharedEncryptedBuffer; sp<AMessage> mNotify; sp<AMessage> mFormat; bool mOwnedByClient; }; Loading Loading @@ -329,6 +328,7 @@ private: List<size_t> mAvailPortBuffers[2]; Vector<BufferInfo> mPortBuffers[2]; Vector<sp<MediaCodecBuffer>> mPortBufferArrays[2]; int32_t mDequeueInputTimeoutGeneration; sp<AReplyToken> mDequeueInputReplyID; Loading Loading
cmds/stagefright/sf2.cpp +0 −1 Original line number Diff line number Diff line Loading @@ -230,7 +230,6 @@ protected: mCodec->signalResume(); (new AMessage(kWhatSeek, this))->post(5000000ll); } else if (what == CodecBase::kWhatOutputFormatChanged) { } else if (what == CodecBase::kWhatShutdownCompleted) { mDecodeLooper->unregisterHandler(mCodec->id()); Loading
include/media/MediaCodecBuffer.h +2 −0 Original line number Diff line number Diff line Loading @@ -58,6 +58,8 @@ public: sp<AMessage> meta(); sp<AMessage> format(); virtual sp<MediaCodecBuffer> clone(const sp<AMessage> &format); private: MediaCodecBuffer() = delete; Loading
include/media/stagefright/ACodec.h +1 −4 Original line number Diff line number Diff line Loading @@ -188,7 +188,6 @@ private: sp<RefBase> mCodecRef; // and a reference to the IMemory sp<GraphicBuffer> mGraphicBuffer; sp<NativeHandle> mNativeHandle; int mFenceFd; FrameRenderTracker::Info *mRenderInfo; Loading @@ -200,8 +199,6 @@ private: // Log error, if the current fence is not a read/write fence. void checkReadFence(const char *dbg); void checkWriteFence(const char *dbg); sp<MediaCodecBuffer> alloc(const sp<AMessage> &format); }; static const char *_asString(BufferInfo::Status s); Loading
include/media/stagefright/CodecBase.h +0 −1 Original line number Diff line number Diff line Loading @@ -45,7 +45,6 @@ struct CodecBase : public AHandler, /* static */ ColorUtils { kWhatEOS = 'eos ', kWhatShutdownCompleted = 'scom', kWhatFlushCompleted = 'fcom', kWhatOutputFormatChanged = 'outC', kWhatError = 'erro', kWhatComponentAllocated = 'cAll', kWhatComponentConfigured = 'cCon', Loading
include/media/stagefright/MediaCodec.h +2 −2 Original line number Diff line number Diff line Loading @@ -246,7 +246,7 @@ private: kFlagIsSecure = 64, kFlagSawMediaServerDie = 128, kFlagIsEncoder = 256, kFlagGatherCodecSpecificData = 512, // 512 skipped kFlagIsAsync = 1024, kFlagIsComponentAllocated = 2048, kFlagPushBlankBuffersOnShutdown = 4096, Loading @@ -258,7 +258,6 @@ private: sp<MediaCodecBuffer> mSecureData; sp<IMemory> mSharedEncryptedBuffer; sp<AMessage> mNotify; sp<AMessage> mFormat; bool mOwnedByClient; }; Loading Loading @@ -329,6 +328,7 @@ private: List<size_t> mAvailPortBuffers[2]; Vector<BufferInfo> mPortBuffers[2]; Vector<sp<MediaCodecBuffer>> mPortBufferArrays[2]; int32_t mDequeueInputTimeoutGeneration; sp<AReplyToken> mDequeueInputReplyID; Loading