Loading cmds/screenrecord/FrameOutput.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -206,7 +206,7 @@ void FrameOutput::reduceRgbaToRgb(uint8_t* buf, unsigned int pixelCount) { } // Callback; executes on arbitrary thread. void FrameOutput::onFrameAvailable() { void FrameOutput::onFrameAvailable(const BufferItem& /* item */) { Mutex::Autolock _l(mMutex); mFrameAvailable = true; mEventCond.signal(); Loading cmds/screenrecord/FrameOutput.h +1 −1 Original line number Diff line number Diff line Loading @@ -62,7 +62,7 @@ private: } // (overrides GLConsumer::FrameAvailableListener method) virtual void onFrameAvailable(); virtual void onFrameAvailable(const BufferItem& item); // Reduces RGBA to RGB, in place. static void reduceRgbaToRgb(uint8_t* buf, unsigned int pixelCount); Loading cmds/screenrecord/Overlay.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -274,7 +274,7 @@ void Overlay::getTimeString_l(nsecs_t monotonicNsec, char* buf, size_t bufLen) { } // Callback; executes on arbitrary thread. void Overlay::onFrameAvailable() { void Overlay::onFrameAvailable(const BufferItem& /* item */) { ALOGV("Overlay::onFrameAvailable"); Mutex::Autolock _l(mMutex); mFrameAvailable = true; Loading cmds/screenrecord/Overlay.h +1 −1 Original line number Diff line number Diff line Loading @@ -78,7 +78,7 @@ private: const Program& texRender, TextRenderer& textRenderer); // (overrides GLConsumer::FrameAvailableListener method) virtual void onFrameAvailable(); virtual void onFrameAvailable(const BufferItem& item); // (overrides Thread method) virtual bool threadLoop(); Loading include/camera/ProCamera.h +1 −1 Original line number Diff line number Diff line Loading @@ -265,7 +265,7 @@ private: } protected: virtual void onFrameAvailable() { virtual void onFrameAvailable(const BufferItem& /* item */) { sp<ProCamera> c = mCamera.promote(); if (c.get() != NULL) { c->onFrameAvailable(mStreamId); Loading Loading
cmds/screenrecord/FrameOutput.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -206,7 +206,7 @@ void FrameOutput::reduceRgbaToRgb(uint8_t* buf, unsigned int pixelCount) { } // Callback; executes on arbitrary thread. void FrameOutput::onFrameAvailable() { void FrameOutput::onFrameAvailable(const BufferItem& /* item */) { Mutex::Autolock _l(mMutex); mFrameAvailable = true; mEventCond.signal(); Loading
cmds/screenrecord/FrameOutput.h +1 −1 Original line number Diff line number Diff line Loading @@ -62,7 +62,7 @@ private: } // (overrides GLConsumer::FrameAvailableListener method) virtual void onFrameAvailable(); virtual void onFrameAvailable(const BufferItem& item); // Reduces RGBA to RGB, in place. static void reduceRgbaToRgb(uint8_t* buf, unsigned int pixelCount); Loading
cmds/screenrecord/Overlay.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -274,7 +274,7 @@ void Overlay::getTimeString_l(nsecs_t monotonicNsec, char* buf, size_t bufLen) { } // Callback; executes on arbitrary thread. void Overlay::onFrameAvailable() { void Overlay::onFrameAvailable(const BufferItem& /* item */) { ALOGV("Overlay::onFrameAvailable"); Mutex::Autolock _l(mMutex); mFrameAvailable = true; Loading
cmds/screenrecord/Overlay.h +1 −1 Original line number Diff line number Diff line Loading @@ -78,7 +78,7 @@ private: const Program& texRender, TextRenderer& textRenderer); // (overrides GLConsumer::FrameAvailableListener method) virtual void onFrameAvailable(); virtual void onFrameAvailable(const BufferItem& item); // (overrides Thread method) virtual bool threadLoop(); Loading
include/camera/ProCamera.h +1 −1 Original line number Diff line number Diff line Loading @@ -265,7 +265,7 @@ private: } protected: virtual void onFrameAvailable() { virtual void onFrameAvailable(const BufferItem& /* item */) { sp<ProCamera> c = mCamera.promote(); if (c.get() != NULL) { c->onFrameAvailable(mStreamId); Loading