Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/156016
Bug: 5449033
Change-Id: I17166d9fb435c85c5fd9d5fba1a39d2661c61e10
diff --git a/libvideoeditor/lvpp/NativeWindowRenderer.cpp b/libvideoeditor/lvpp/NativeWindowRenderer.cpp
index 854062e..ad028a6 100755
--- a/libvideoeditor/lvpp/NativeWindowRenderer.cpp
+++ b/libvideoeditor/lvpp/NativeWindowRenderer.cpp
@@ -146,7 +146,7 @@
// other threads wait until the request is finished by GL thread.
int NativeWindowRenderer::threadStart(void* self) {
- LOGD("create thread");
+ ALOGD("create thread");
((NativeWindowRenderer*)self)->glThread();
return 0;
}
@@ -181,7 +181,7 @@
mThreadCmd = CMD_IDLE;
mCond.broadcast();
}
- LOGD("quit");
+ ALOGD("quit");
}
void NativeWindowRenderer::initializeEGL() {
@@ -540,7 +540,7 @@
}
RenderInput* NativeWindowRenderer::createRenderInput() {
- LOGD("new render input %d", mNextTextureId);
+ ALOGD("new render input %d", mNextTextureId);
RenderInput* input = new RenderInput(this, mNextTextureId);
startRequest(CMD_RESERVE_TEXTURE);
@@ -553,7 +553,7 @@
}
void NativeWindowRenderer::destroyRenderInput(RenderInput* input) {
- LOGD("destroy render input %d", input->mTextureId);
+ ALOGD("destroy render input %d", input->mTextureId);
GLuint textureId = input->mTextureId;
delete input;
diff --git a/libvideoeditor/lvpp/PreviewPlayerBase.cpp b/libvideoeditor/lvpp/PreviewPlayerBase.cpp
index 62d7c1a..c234d8f 100644
--- a/libvideoeditor/lvpp/PreviewPlayerBase.cpp
+++ b/libvideoeditor/lvpp/PreviewPlayerBase.cpp
@@ -846,9 +846,9 @@
cropRight = vWidth - 1;
cropBottom = vHeight - 1;
- LOGD("got dimensions only %d x %d", vWidth, vHeight);
+ ALOGD("got dimensions only %d x %d", vWidth, vHeight);
} else {
- LOGD("got crop rect %d, %d, %d, %d",
+ ALOGD("got crop rect %d, %d, %d, %d",
cropLeft, cropTop, cropRight, cropBottom);
}
diff --git a/libvideoeditor/lvpp/VideoEditorPreviewController.cpp b/libvideoeditor/lvpp/VideoEditorPreviewController.cpp
index 5350cb6..d96ab31 100755
--- a/libvideoeditor/lvpp/VideoEditorPreviewController.cpp
+++ b/libvideoeditor/lvpp/VideoEditorPreviewController.cpp
@@ -519,7 +519,7 @@
// as threadProcess first increments the clip index
// and then processes clip in thread loop
mCurrentClipNumber = i-1;
- LOGD("startPreview:mCurrentClipNumber = %d fromMS=%d",i,fromMS);
+ ALOGD("startPreview:mCurrentClipNumber = %d fromMS=%d",i,fromMS);
// Save original value
mFirstPreviewClipBeginTime = mClipList[i]->uiBeginCutTime;
@@ -1024,13 +1024,13 @@
if(pController->mPlayerState == VePlayerIdle) {
(pController->mCurrentClipNumber)++;
- LOGD("threadProc: playing file index %d total clips %d",
+ ALOGD("threadProc: playing file index %d total clips %d",
pController->mCurrentClipNumber, pController->mNumberClipsToPreview);
if((M4OSA_UInt32)pController->mCurrentClipNumber >=
pController->mNumberClipsToPreview) {
- LOGD("All clips previewed");
+ ALOGD("All clips previewed");
pController->mCurrentPlayedDuration = 0;
pController->mCurrentClipDuration = 0;
@@ -1040,7 +1040,7 @@
pController->mCurrentClipNumber =
pController->mStartingClipIndex;
- LOGD("Preview looping TRUE, restarting from clip index %d",
+ ALOGD("Preview looping TRUE, restarting from clip index %d",
pController->mCurrentClipNumber);
// Reset the story board timestamp inside the player
@@ -1159,7 +1159,7 @@
break;
case MEDIA_PLAYBACK_COMPLETE:
{
- LOGD("notify:MEDIA_PLAYBACK_COMPLETE, mCurrentClipNumber = %d",
+ ALOGD("notify:MEDIA_PLAYBACK_COMPLETE, mCurrentClipNumber = %d",
pController->mCurrentClipNumber);
pController->mPlayerState = VePlayerIdle;