本文整理汇总了C++中DBGT_EPILOG函数的典型用法代码示例。如果您正苦于以下问题:C++ DBGT_EPILOG函数的具体用法?C++ DBGT_EPILOG怎么用?C++ DBGT_EPILOG使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了DBGT_EPILOG函数的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: DBGT_PROLOG
OMX_ERRORTYPE FixedFocusHandler::setUpFocus(const char* const aFocus)
{
DBGT_PROLOG("Focus: %s", aFocus);
DBGT_ASSERT(NULL != aFocus, "Focus is NULL");
OMX_ERRORTYPE err = OMX_ErrorNone;
//Setting Focus Control
OmxUtils::StructContainer<OMX_IMAGE_CONFIG_FOCUSCONTROLTYPE> focusControl;
focusControl.ptr()->nPortIndex = OMX_ALL;
err = OMX_GetConfig(mSTECamera->mCam, (OMX_INDEXTYPE)(OMX_IndexConfigFocusControl), focusControl.ptr());
if(OMX_ErrorNone != err) {
DBGT_CRITICAL("OMX_GetConfig failed err = %d", err);
DBGT_EPILOG("");
return err;
}
focusControl.ptr()->eFocusControl = OMX_IMAGE_FocusControlOff;
focusControl.ptr()->nFocusStepIndex = 0;
focusControl.ptr()->nFocusSteps = 100;
DBGT_PTRACE("Setting Control %u", focusControl.ptr()->eFocusControl);
err = OMX_SetConfig(mSTECamera->mCam, (OMX_INDEXTYPE)(OMX_IndexConfigFocusControl), focusControl.ptr());
if(OMX_ErrorNone != err) {
DBGT_CRITICAL("OMX_SetConfig failed err = %d", err);
DBGT_EPILOG("");
return err;
}
DBGT_EPILOG("");
return err;
}
示例2: DBGT_PROLOG
OMX_ERRORTYPE EnableDataFlow::freeHandles()
{
DBGT_PROLOG("");
OMX_ERRORTYPE err = OMX_ErrorNone;
DBGT_ASSERT(NULL != mArmIvProc, "mArmIvProc is NULL");
DBGT_ASSERT(NULL != mSwJpegEnc, "mSwJpegEnc is NULL");
DBGT_PTRACE("Sending ArmIv to unloaded State");
err = mOmxUtils.interface()->GetpOMX_FreeHandle()(mArmIvProc);
if(OMX_ErrorNone != err) {
DBGT_CRITICAL("GetpOMX_FreeHandle ArmIVProc failed err = %d", err);
DBGT_EPILOG("");
return err;
}
mArmIvProc = NULL ;
DBGT_PTRACE("Sending SwJpegEnc to unloaded State");
err = mOmxUtils.interface()->GetpOMX_FreeHandle()(mSwJpegEnc);
if(OMX_ErrorNone != err) {
DBGT_CRITICAL("GetpOMX_FreeHandle SwJpegenc failed err = %d", err);
DBGT_EPILOG("");
return err;
}
mSwJpegEnc = NULL ;
DBGT_EPILOG("");
return err;
}
示例3: DBGT_PROLOG
OMX_ERRORTYPE DeviceRotation::doConfiguration()
{
DBGT_PROLOG("");
OMX_ERRORTYPE err = OMX_ErrorNone;
if(mSTECamera->mPictureInfo.swapParams()) {
err = mSTECamera->getThumbnailHandler()->configure(mSTECamera->mThumbnailInfo,
mSTECamera->mPreviewInfo);
if(OMX_ErrorNone != err) {
DBGT_CRITICAL("configure() failed err = %d", err);
DBGT_EPILOG("");
return err;
}
err = mSTECamera->ReconfigureStill(mSTECamera->mPictureInfo, false);
if(OMX_ErrorNone != err) {
DBGT_CRITICAL("ReconfigureStill() failed err = %d", err);
DBGT_EPILOG("");
return err;
}
}
err = setupRotationProcessing();
if(OMX_ErrorNone != err) {
DBGT_CRITICAL("setupRotationProcessing() err = %d", err);
DBGT_EPILOG("");
return err;
}
mSTECamera->mPictureInfo.resetSwapParams();
mSTECamera->mThumbnailInfo.resetSwapParams();
DBGT_EPILOG("");
return err;
}
示例4: DBGT_PROLOG
OMX_ERRORTYPE STEOMXCodecsPlugin::enumerateComponents(
OMX_STRING name,
size_t size,
OMX_U32 index) {
DBGT_PROLOG("index=%lu", index);
OMX_ERRORTYPE err = (mInterface->GetpOMX_ComponentNameEnum())(name, size, index);
if (err == OMX_ErrorNoMore) {
goto nomore;
}
if (err != OMX_ErrorNone) {
/*DBGT_ERROR("GetpOMX_ComponentNameEnum failed, err=%s",
OMX_TYPE_TO_STR(OMX_ERRORTYPE, err));*/
goto error;
}
DBGT_EPILOG("index=%lu: name=%s", index, name);
return OMX_ErrorNone;
nomore:
DBGT_EPILOG("no more");
return OMX_ErrorNoMore;
error:
/*DBGT_EPILOG("err=%s", OMX_TYPE_TO_STR(OMX_ERRORTYPE, err));*/
return err;
}
示例5: DBGT_PROLOG
int STENativeWindow::dequeueBuffer(buffer_handle_t **ppBuffer, int *pStride)
{
DBGT_PROLOG("");
if (!mInitialized) {
DBGT_CRITICAL("mInitialized = %d", mInitialized);
DBGT_EPILOG("");
return -1;
}
int stride;
status_t error = mPreviewWindow->dequeue_buffer(
mPreviewWindow,
ppBuffer,
&stride);
if (OK != error) {
DBGT_CRITICAL("error = %d", error);
DBGT_EPILOG("");
return -1;
}
if (pStride) {
*pStride = stride;
}
DBGT_EPILOG("");
return 0;
}
示例6: mExifMixer
EnableDataFlow::EnableDataFlow (OMX_HANDLETYPE &aExifMixer,
OmxBuffInfo &aArmIvOmxBuffInfo,
OMX_OSI_CONFIG_SHARED_CHUNK_METADATA &aChunkData_ArmIvProc,
OmxUtils &aOmxUtils,
const OMX_COLOR_FORMATTYPE &aPreviewOmxColorFormat,
PerfManager &aPerfManager,
sem_t &aStateExifSem) :
mExifMixer(aExifMixer),
mArmIvOmxBuffInfo(aArmIvOmxBuffInfo),
mChunkData_ArmIvProc(aChunkData_ArmIvProc),
mOmxUtils(aOmxUtils),
mPreviewOmxColorFormat(aPreviewOmxColorFormat),
mPerfManager(aPerfManager),
mStateExifSem(aStateExifSem)
{
DBGT_PROLOG("");
mArmIvProc = NULL;
mSwJpegEnc = NULL;
mArmIvInBuffer = NULL;
mPortsEnabled = true;
DBGT_EPILOG("");
}