summaryrefslogtreecommitdiffstats
path: root/libvideoeditor/lvpp
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2011-12-20 16:24:14 +0000
committerSteve Block <steveblock@google.com>2012-01-03 22:31:06 +0000
commit4ca06b0a9af472cfd13f52841fc9d2e5a6558674 (patch)
tree59b24b82e4faee8a6575c6eecaaed4e76c885d39 /libvideoeditor/lvpp
parent2736f1cb9aed4165819d21f2f3d35782dd811d26 (diff)
downloadframeworks_av-4ca06b0a9af472cfd13f52841fc9d2e5a6558674.zip
frameworks_av-4ca06b0a9af472cfd13f52841fc9d2e5a6558674.tar.gz
frameworks_av-4ca06b0a9af472cfd13f52841fc9d2e5a6558674.tar.bz2
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
Diffstat (limited to 'libvideoeditor/lvpp')
-rwxr-xr-xlibvideoeditor/lvpp/NativeWindowRenderer.cpp8
-rw-r--r--libvideoeditor/lvpp/PreviewPlayerBase.cpp4
-rwxr-xr-xlibvideoeditor/lvpp/VideoEditorPreviewController.cpp10
3 files changed, 11 insertions, 11 deletions
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 @@ NativeWindowRenderer::NativeWindowRenderer(sp<ANativeWindow> nativeWindow,
// 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 @@ void NativeWindowRenderer::glThread() {
mThreadCmd = CMD_IDLE;
mCond.broadcast();
}
- LOGD("quit");
+ ALOGD("quit");
}
void NativeWindowRenderer::initializeEGL() {
@@ -540,7 +540,7 @@ void NativeWindowRenderer::sendRequest() {
}
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 @@ RenderInput* NativeWindowRenderer::createRenderInput() {
}
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 @@ void PreviewPlayerBase::notifyVideoSize_l() {
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 @@ M4OSA_ERR VideoEditorPreviewController::startPreview(
// 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 @@ M4OSA_ERR VideoEditorPreviewController::threadProc(M4OSA_Void* param) {
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 @@ M4OSA_ERR VideoEditorPreviewController::threadProc(M4OSA_Void* param) {
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 @@ void VideoEditorPreviewController::notify(
break;
case MEDIA_PLAYBACK_COMPLETE:
{
- LOGD("notify:MEDIA_PLAYBACK_COMPLETE, mCurrentClipNumber = %d",
+ ALOGD("notify:MEDIA_PLAYBACK_COMPLETE, mCurrentClipNumber = %d",
pController->mCurrentClipNumber);
pController->mPlayerState = VePlayerIdle;