當前位置: 首頁>>代碼示例>>C++>>正文


C++ DBGT_EPILOG函數代碼示例

本文整理匯總了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;
}
開發者ID:Meticulus,項目名稱:vendor_st-ericsson_u8500,代碼行數:33,代碼來源:STECamFocusHandler.cpp

示例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;
}
開發者ID:Meticulus,項目名稱:vendor_st-ericsson_u8500,代碼行數:32,代碼來源:STECamThumbnailHandler.cpp

示例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;
}
開發者ID:Meticulus,項目名稱:vendor_st-ericsson_u8500,代碼行數:35,代碼來源:STECamImageRotHandler.cpp

示例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;
}
開發者ID:J-Team,項目名稱:platform_hardware_ST-Ericsson,代碼行數:29,代碼來源:STECodecsPlugin.cpp

示例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;
}
開發者ID:Meticulus,項目名稱:vendor_st-ericsson_u8500,代碼行數:26,代碼來源:STENativeWindow.cpp

示例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("");
}
開發者ID:Meticulus,項目名稱:vendor_st-ericsson_u8500,代碼行數:25,代碼來源:STECamThumbnailHandler.cpp


注:本文中的DBGT_EPILOG函數示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。