Loading cmds/screenrecord/screenrecord.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -191,7 +191,7 @@ static status_t prepareEncoder(float displayFps, sp<MediaCodec>* pCodec, format->setFloat("frame-rate", displayFps); format->setInt32("i-frame-interval", 10); sp<ALooper> looper = new ALooper; sp<android::ALooper> looper = new android::ALooper; looper->setName("screenrecord_looper"); looper->start(); ALOGV("Creating codec"); Loading cmds/stagefright/codec.cpp +3 −3 Original line number Diff line number Diff line Loading @@ -138,7 +138,7 @@ static int decode( CHECK(!stateByTrack.isEmpty()); int64_t startTimeUs = ALooper::GetNowUs(); int64_t startTimeUs = android::ALooper::GetNowUs(); int64_t startTimeRender = -1; for (size_t i = 0; i < stateByTrack.size(); ++i) { Loading Loading @@ -307,7 +307,7 @@ static int decode( } } int64_t elapsedTimeUs = ALooper::GetNowUs() - startTimeUs; int64_t elapsedTimeUs = android::ALooper::GetNowUs() - startTimeUs; for (size_t i = 0; i < stateByTrack.size(); ++i) { CodecState *state = &stateByTrack.editValueAt(i); Loading Loading @@ -400,7 +400,7 @@ int main(int argc, char **argv) { ProcessState::self()->startThreadPool(); sp<ALooper> looper = new ALooper; sp<android::ALooper> looper = new android::ALooper; looper->start(); sp<SurfaceComposerClient> composerClient; Loading cmds/stagefright/mediafilter.cpp +4 −4 Original line number Diff line number Diff line Loading @@ -310,7 +310,7 @@ void tryDrainOutputBuffer( } static int decode( const sp<ALooper> &looper, const sp<android::ALooper> &looper, const char *path, const sp<Surface> &surface, bool renderSurface, Loading Loading @@ -465,7 +465,7 @@ static int decode( filterState->mSignalledInputEOS = false; filterState->mSawOutputEOS = false; int64_t startTimeUs = ALooper::GetNowUs(); int64_t startTimeUs = android::ALooper::GetNowUs(); int64_t startTimeRender = -1; for (size_t i = 0; i < stateByTrack.size(); ++i) { Loading Loading @@ -643,7 +643,7 @@ static int decode( useTimestamp, &startTimeRender); } int64_t elapsedTimeUs = ALooper::GetNowUs() - startTimeUs; int64_t elapsedTimeUs = android::ALooper::GetNowUs() - startTimeUs; for (size_t i = 0; i < stateByTrack.size(); ++i) { CodecState *state = &stateByTrack.editValueAt(i); Loading Loading @@ -737,7 +737,7 @@ int main(int argc, char **argv) { ProcessState::self()->startThreadPool(); android::sp<ALooper> looper = new ALooper; android::sp<android::ALooper> looper = new android::ALooper; looper->start(); android::sp<SurfaceComposerClient> composerClient; Loading cmds/stagefright/stagefright.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -716,7 +716,7 @@ int main(int argc, char **argv) { gWriteMP4 = false; gDisplayHistogram = false; sp<ALooper> looper; sp<android::ALooper> looper; int res; while ((res = getopt(argc, argv, "vhaqn:lm:b:ptsrow:kN:xSTd:D:")) >= 0) { Loading Loading
cmds/screenrecord/screenrecord.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -191,7 +191,7 @@ static status_t prepareEncoder(float displayFps, sp<MediaCodec>* pCodec, format->setFloat("frame-rate", displayFps); format->setInt32("i-frame-interval", 10); sp<ALooper> looper = new ALooper; sp<android::ALooper> looper = new android::ALooper; looper->setName("screenrecord_looper"); looper->start(); ALOGV("Creating codec"); Loading
cmds/stagefright/codec.cpp +3 −3 Original line number Diff line number Diff line Loading @@ -138,7 +138,7 @@ static int decode( CHECK(!stateByTrack.isEmpty()); int64_t startTimeUs = ALooper::GetNowUs(); int64_t startTimeUs = android::ALooper::GetNowUs(); int64_t startTimeRender = -1; for (size_t i = 0; i < stateByTrack.size(); ++i) { Loading Loading @@ -307,7 +307,7 @@ static int decode( } } int64_t elapsedTimeUs = ALooper::GetNowUs() - startTimeUs; int64_t elapsedTimeUs = android::ALooper::GetNowUs() - startTimeUs; for (size_t i = 0; i < stateByTrack.size(); ++i) { CodecState *state = &stateByTrack.editValueAt(i); Loading Loading @@ -400,7 +400,7 @@ int main(int argc, char **argv) { ProcessState::self()->startThreadPool(); sp<ALooper> looper = new ALooper; sp<android::ALooper> looper = new android::ALooper; looper->start(); sp<SurfaceComposerClient> composerClient; Loading
cmds/stagefright/mediafilter.cpp +4 −4 Original line number Diff line number Diff line Loading @@ -310,7 +310,7 @@ void tryDrainOutputBuffer( } static int decode( const sp<ALooper> &looper, const sp<android::ALooper> &looper, const char *path, const sp<Surface> &surface, bool renderSurface, Loading Loading @@ -465,7 +465,7 @@ static int decode( filterState->mSignalledInputEOS = false; filterState->mSawOutputEOS = false; int64_t startTimeUs = ALooper::GetNowUs(); int64_t startTimeUs = android::ALooper::GetNowUs(); int64_t startTimeRender = -1; for (size_t i = 0; i < stateByTrack.size(); ++i) { Loading Loading @@ -643,7 +643,7 @@ static int decode( useTimestamp, &startTimeRender); } int64_t elapsedTimeUs = ALooper::GetNowUs() - startTimeUs; int64_t elapsedTimeUs = android::ALooper::GetNowUs() - startTimeUs; for (size_t i = 0; i < stateByTrack.size(); ++i) { CodecState *state = &stateByTrack.editValueAt(i); Loading Loading @@ -737,7 +737,7 @@ int main(int argc, char **argv) { ProcessState::self()->startThreadPool(); android::sp<ALooper> looper = new ALooper; android::sp<android::ALooper> looper = new android::ALooper; looper->start(); android::sp<SurfaceComposerClient> composerClient; Loading
cmds/stagefright/stagefright.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -716,7 +716,7 @@ int main(int argc, char **argv) { gWriteMP4 = false; gDisplayHistogram = false; sp<ALooper> looper; sp<android::ALooper> looper; int res; while ((res = getopt(argc, argv, "vhaqn:lm:b:ptsrow:kN:xSTd:D:")) >= 0) { Loading