summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2012-01-04 20:07:32 +0000
committerSteve Block <steveblock@google.com>2012-01-04 20:07:32 +0000
commit85e28eec8163c776f2f3a093f4053a96ed2d6f98 (patch)
treec256e78fbcd35814c5263f22505fbcfb782cf20c
parentdbcc6073c88ced818ea3e742f36191088222ca26 (diff)
downloadomap3-85e28eec8163c776f2f3a093f4053a96ed2d6f98.tar.gz
Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/156801 Bug: 5449033 Change-Id: I4bfd860b833aacee06a60fa7648de2377aefafa6
-rw-r--r--omx/audio/src/openmax_il/aac_enc/src/OMX_AacEnc_Utils.c10
-rw-r--r--omx/audio/src/openmax_il/nbamr_enc/src/OMX_AmrEnc_Utils.c4
-rw-r--r--omx/audio/src/openmax_il/wbamr_enc/src/OMX_WbAmrEnc_Utils.c4
-rw-r--r--omx/audio/src/openmax_il/wma_dec/inc/OMX_WmaDec_Utils.h2
-rw-r--r--omx/video/src/openmax_il/video_decode/src/OMX_VideoDec_Utils.c4
-rw-r--r--omx/video/src/openmax_il/video_decode/src/OMX_VideoDecoder.c2
-rw-r--r--omx/video/src/openmax_il/video_encode/src/OMX_VideoEnc_Utils.c4
7 files changed, 15 insertions, 15 deletions
diff --git a/omx/audio/src/openmax_il/aac_enc/src/OMX_AacEnc_Utils.c b/omx/audio/src/openmax_il/aac_enc/src/OMX_AacEnc_Utils.c
index eac1201..3d7ffdd 100644
--- a/omx/audio/src/openmax_il/aac_enc/src/OMX_AacEnc_Utils.c
+++ b/omx/audio/src/openmax_il/aac_enc/src/OMX_AacEnc_Utils.c
@@ -2609,14 +2609,14 @@ pHandle = pComponentPrivate_CC->pHandle;
else if(event == EMMCodecProcessingStoped)
{
- LOGI("AAC encoder received stop ack, waiting for all outstanding buffers to be returned");
+ ALOGI("AAC encoder received stop ack, waiting for all outstanding buffers to be returned");
pthread_mutex_lock(&bufferReturned_mutex);
while (pComponentPrivate_CC->EmptythisbufferCount != pComponentPrivate_CC->EmptybufferdoneCount ||
pComponentPrivate_CC->FillthisbufferCount != pComponentPrivate_CC->FillbufferdoneCount) {
pthread_cond_wait(&bufferReturned_condition, &bufferReturned_mutex);
}
pthread_mutex_unlock(&bufferReturned_mutex);
- LOGI("AAC encoder has returned all buffers");
+ ALOGI("AAC encoder has returned all buffers");
pthread_mutex_lock(&pComponentPrivate_CC->codecStop_mutex);
if(pComponentPrivate_CC->codecStop_waitingsignal == 0){
@@ -3455,7 +3455,7 @@ OMX_ERRORTYPE AddStateTransition(AACENC_COMPONENT_PRIVATE* pComponentPrivate) {
}
/* Increment state change request reference count */
pComponentPrivate->nPendingStateChangeRequests++;
- LOGI("addstatetranstion: %ld @ %d", pComponentPrivate->nPendingStateChangeRequests, pComponentPrivate->curState);
+ ALOGI("addstatetranstion: %ld @ %d", pComponentPrivate->nPendingStateChangeRequests, pComponentPrivate->curState);
if(pthread_mutex_unlock(&pComponentPrivate->mutexStateChangeRequest)) {
return OMX_ErrorUndefined;
@@ -3471,7 +3471,7 @@ OMX_ERRORTYPE RemoveStateTransition(AACENC_COMPONENT_PRIVATE* pComponentPrivate,
return OMX_ErrorUndefined;
}
pComponentPrivate->nPendingStateChangeRequests--;
- LOGI("removestatetranstion: %ld @ %d", pComponentPrivate->nPendingStateChangeRequests, pComponentPrivate->curState);
+ ALOGI("removestatetranstion: %ld @ %d", pComponentPrivate->nPendingStateChangeRequests, pComponentPrivate->curState);
/* If there are no more pending requests, signal the thread waiting on this*/
if(!pComponentPrivate->nPendingStateChangeRequests && bEnableSignal) {
@@ -3503,7 +3503,7 @@ void SignalIfAllBuffersAreReturned(AACENC_COMPONENT_PRIVATE *pComponentPrivate)
if ((pComponentPrivate->EmptythisbufferCount == pComponentPrivate->EmptybufferdoneCount) &&
(pComponentPrivate->FillthisbufferCount == pComponentPrivate->FillbufferdoneCount)) {
pthread_cond_broadcast(&bufferReturned_condition);
- LOGI("Sending pthread signal that OMX has returned all buffers to app");
+ ALOGI("Sending pthread signal that OMX has returned all buffers to app");
}
pthread_mutex_unlock(&bufferReturned_mutex);
}
diff --git a/omx/audio/src/openmax_il/nbamr_enc/src/OMX_AmrEnc_Utils.c b/omx/audio/src/openmax_il/nbamr_enc/src/OMX_AmrEnc_Utils.c
index a8f4194..a297cfb 100644
--- a/omx/audio/src/openmax_il/nbamr_enc/src/OMX_AmrEnc_Utils.c
+++ b/omx/audio/src/openmax_il/nbamr_enc/src/OMX_AmrEnc_Utils.c
@@ -3200,7 +3200,7 @@ OMX_ERRORTYPE AddStateTransition(AMRENC_COMPONENT_PRIVATE *pComponentPrivate) {
}
/* Increment state change request reference count */
pComponentPrivate->nPendingStateChangeRequests++;
- LOGI("addstatetranstion: %ld @ %d", pComponentPrivate->nPendingStateChangeRequests, pComponentPrivate->curState);
+ ALOGI("addstatetranstion: %ld @ %d", pComponentPrivate->nPendingStateChangeRequests, pComponentPrivate->curState);
if(pthread_mutex_unlock(&pComponentPrivate->mutexStateChangeRequest)) {
return OMX_ErrorUndefined;
@@ -3217,7 +3217,7 @@ OMX_ERRORTYPE RemoveStateTransition(AMRENC_COMPONENT_PRIVATE *pComponentPrivate,
}
pComponentPrivate->nPendingStateChangeRequests--;
- LOGI("removestatetransition: %ld @ %d", pComponentPrivate->nPendingStateChangeRequests, pComponentPrivate->curState);
+ ALOGI("removestatetransition: %ld @ %d", pComponentPrivate->nPendingStateChangeRequests, pComponentPrivate->curState);
/* If there are no more pending requests, signal the thread waiting on this*/
if(!pComponentPrivate->nPendingStateChangeRequests && bEnableSignal) {
pthread_cond_signal(&(pComponentPrivate->StateChangeCondition));
diff --git a/omx/audio/src/openmax_il/wbamr_enc/src/OMX_WbAmrEnc_Utils.c b/omx/audio/src/openmax_il/wbamr_enc/src/OMX_WbAmrEnc_Utils.c
index 9848241..1cf9b26 100644
--- a/omx/audio/src/openmax_il/wbamr_enc/src/OMX_WbAmrEnc_Utils.c
+++ b/omx/audio/src/openmax_il/wbamr_enc/src/OMX_WbAmrEnc_Utils.c
@@ -3426,7 +3426,7 @@ OMX_ERRORTYPE AddStateTransition(WBAMRENC_COMPONENT_PRIVATE* pComponentPrivate)
/* Increment state change request reference count */
pComponentPrivate->nPendingStateChangeRequests++;
- LOGI("addstatetranstion: %ld @ %d", pComponentPrivate->nPendingStateChangeRequests, pComponentPrivate->curState);
+ ALOGI("addstatetranstion: %ld @ %d", pComponentPrivate->nPendingStateChangeRequests, pComponentPrivate->curState);
if(pthread_mutex_unlock(&pComponentPrivate->mutexStateChangeRequest)) {
return OMX_ErrorUndefined;
@@ -3445,7 +3445,7 @@ OMX_ERRORTYPE RemoveStateTransition(WBAMRENC_COMPONENT_PRIVATE* pComponentPrivat
pComponentPrivate->nPendingStateChangeRequests--;
- LOGI("removestatetranstion: %ld @ %d", pComponentPrivate->nPendingStateChangeRequests, pComponentPrivate->curState);
+ ALOGI("removestatetranstion: %ld @ %d", pComponentPrivate->nPendingStateChangeRequests, pComponentPrivate->curState);
/* If there are no more pending requests, signal the thread waiting on this*/
if(!pComponentPrivate->nPendingStateChangeRequests && bEnableSignal) {
pthread_cond_signal(&(pComponentPrivate->StateChangeCondition));
diff --git a/omx/audio/src/openmax_il/wma_dec/inc/OMX_WmaDec_Utils.h b/omx/audio/src/openmax_il/wma_dec/inc/OMX_WmaDec_Utils.h
index b00f2fe..c6cda39 100644
--- a/omx/audio/src/openmax_il/wma_dec/inc/OMX_WmaDec_Utils.h
+++ b/omx/audio/src/openmax_il/wma_dec/inc/OMX_WmaDec_Utils.h
@@ -386,7 +386,7 @@ typedef struct OMXBufferStatus /*BUFFERSTATUS*/
/* ======================================================================= */
#ifndef UNDER_CE
#ifdef WMADEC_DEBUG
-#define WMADEC_DPRINT LOGI
+#define WMADEC_DPRINT ALOGI
#else
#define WMADEC_DPRINT(...)
#endif
diff --git a/omx/video/src/openmax_il/video_decode/src/OMX_VideoDec_Utils.c b/omx/video/src/openmax_il/video_decode/src/OMX_VideoDec_Utils.c
index ce8fc95..07ae412 100644
--- a/omx/video/src/openmax_il/video_decode/src/OMX_VideoDec_Utils.c
+++ b/omx/video/src/openmax_il/video_decode/src/OMX_VideoDec_Utils.c
@@ -1865,7 +1865,7 @@ EXIT:
OMX_ERRORTYPE VIDDEC_EmptyBufferDone(VIDDEC_COMPONENT_PRIVATE* pComponentPrivate, OMX_BUFFERHEADERTYPE* pBufferHeader)
{
- //LOGI("VIDDEC_EmptyBufferDone: header %p buffer %p", pBufferHeader, pBufferHeader->pBuffer);
+ //ALOGI("VIDDEC_EmptyBufferDone: header %p buffer %p", pBufferHeader, pBufferHeader->pBuffer);
((VIDDEC_BUFFER_PRIVATE* )pBufferHeader->pInputPortPrivate)->eBufferOwner = VIDDEC_BUFFER_WITH_CLIENT;
// No buffer flag EOS event needs to be sent for INPUT port
@@ -1889,7 +1889,7 @@ OMX_ERRORTYPE VIDDEC_EmptyBufferDone(VIDDEC_COMPONENT_PRIVATE* pComponentPrivate
OMX_ERRORTYPE VIDDEC_FillBufferDone(VIDDEC_COMPONENT_PRIVATE* pComponentPrivate, OMX_BUFFERHEADERTYPE* pBufferHeader)
{
- //LOGI("VIDDEC_FillBufferDone: header %p buffer %p", pBufferHeader, pBufferHeader->pBuffer);
+ //ALOGI("VIDDEC_FillBufferDone: header %p buffer %p", pBufferHeader, pBufferHeader->pBuffer);
((VIDDEC_BUFFER_PRIVATE* )pBufferHeader->pOutputPortPrivate)->eBufferOwner = VIDDEC_BUFFER_WITH_CLIENT;
// OpenMAX-IL standard specifies that a component generates the OMX_EventBufferFlag event when an OUTPUT port
diff --git a/omx/video/src/openmax_il/video_decode/src/OMX_VideoDecoder.c b/omx/video/src/openmax_il/video_decode/src/OMX_VideoDecoder.c
index 05986e9..98fab8c 100644
--- a/omx/video/src/openmax_il/video_decode/src/OMX_VideoDecoder.c
+++ b/omx/video/src/openmax_il/video_decode/src/OMX_VideoDecoder.c
@@ -282,7 +282,7 @@ OMX_ERRORTYPE OMX_ComponentInit (OMX_HANDLETYPE hComponent)
#endif
#ifdef ANDROID
/* print to logcat to verify that we are running a TI OMX codec*/
- LOGI("TI Video Decoder \n");
+ ALOGI("TI Video Decoder \n");
#endif
OMX_CONF_CHECK_CMD(hComponent, OMX_TRUE, OMX_TRUE);
diff --git a/omx/video/src/openmax_il/video_encode/src/OMX_VideoEnc_Utils.c b/omx/video/src/openmax_il/video_encode/src/OMX_VideoEnc_Utils.c
index fd92f43..cf7574f 100644
--- a/omx/video/src/openmax_il/video_encode/src/OMX_VideoEnc_Utils.c
+++ b/omx/video/src/openmax_il/video_encode/src/OMX_VideoEnc_Utils.c
@@ -349,7 +349,7 @@ void OMX_VIDENC_EmptyDataPipes (VIDENC_COMPONENT_PRIVATE *pComponentPrivate)
pthread_cond_wait(&bufferReturned_condition, &bufferReturned_mutex);
}
pthread_mutex_unlock(&bufferReturned_mutex);
- LOGI("Video encoder has returned all buffers");
+ ALOGI("Video encoder has returned all buffers");
}
void OMX_VIDENC_IncrementBufferCountByOne(OMX_U32 *count)
@@ -365,7 +365,7 @@ void OMX_VIDENC_SignalIfAllBuffersAreReturned(VIDENC_COMPONENT_PRIVATE *pCompone
if ((pComponentPrivate->EmptythisbufferCount == pComponentPrivate->EmptybufferdoneCount) &&
(pComponentPrivate->FillthisbufferCount == pComponentPrivate->FillbufferdoneCount)) {
pthread_cond_broadcast(&bufferReturned_condition);
- LOGI("Sending pthread signal that video encoder has returned all buffers to app");
+ ALOGI("Sending pthread signal that video encoder has returned all buffers to app");
}
pthread_mutex_unlock(&bufferReturned_mutex);
}