您当前的位置:首页 > IT编程 > C++
| C语言 | Java | VB | VC | python | Android | TensorFlow | C++ | oracle | 学术与代码 | cnn卷积神经网络 | gnn | 图像修复 | Keras | 数据集 | Neo4j | 自然语言处理 | 深度学习 | 医学CAD | 医学影像 | 超参数 | pointnet | pytorch | 异常检测 | Transformers | 情感分类 | 知识图谱 |

自学教程:C++ CB_LOGV函数代码示例

51自学网 2021-06-01 19:57:16
  C++
这篇教程C++ CB_LOGV函数代码示例写得很实用,希望能帮到您。

本文整理汇总了C++中CB_LOGV函数的典型用法代码示例。如果您正苦于以下问题:C++ CB_LOGV函数的具体用法?C++ CB_LOGV怎么用?C++ CB_LOGV使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。

在下文中一共展示了CB_LOGV函数的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。

示例1: CB_LOGV

void ConsumerBase::onFrameReplaced(const BufferItem &item) {    CB_LOGV("onFrameReplaced");    sp<FrameAvailableListener> listener;    {        Mutex::Autolock lock(mMutex);        listener = mFrameAvailableListener.promote();    }    if (listener != NULL) {        CB_LOGV("actually calling onFrameReplaced");        listener->onFrameReplaced(item);    }}
开发者ID:Hazy-legacy-zf2,项目名称:platform_frameworks_native,代码行数:14,


示例2: CB_LOGV

void ConsumerBase::onFrameAvailable() {    CB_LOGV("onFrameAvailable");    sp<FrameAvailableListener> listener;    { // scope for the lock        Mutex::Autolock lock(mMutex);        listener = mFrameAvailableListener.promote();    }    if (listener != NULL) {        CB_LOGV("actually calling onFrameAvailable");        listener->onFrameAvailable();    }}
开发者ID:AospPlus,项目名称:android_frameworks_native,代码行数:14,


示例3: CB_LOGV

status_t GonkConsumerBase::addReleaseFenceLocked(int slot,        const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence) {    CB_LOGV("addReleaseFenceLocked: slot=%d", slot);    // If consumer no longer tracks this graphicBuffer, we can safely    // drop this fence, as it will never be received by the producer.    if (!stillTracking(slot, graphicBuffer)) {        return OK;    }    if (!mSlots[slot].mFence.get()) {        mSlots[slot].mFence = fence;    } else {        sp<Fence> mergedFence = Fence::merge(                                    String8::format("%.28s:%d", mName.string(), slot),                                    mSlots[slot].mFence, fence);        if (!mergedFence.get()) {            CB_LOGE("failed to merge release fences");            // synchronization is broken, the best we can do is hope fences            // signal in order so the new fence will act like a union            mSlots[slot].mFence = fence;            return BAD_VALUE;        }        mSlots[slot].mFence = mergedFence;    }    return OK;}
开发者ID:plancalculus,项目名称:xulrunner,代码行数:28,


示例4: lock

void ConsumerBase::onBuffersReleased() {    Mutex::Autolock lock(mMutex);    CB_LOGV("onBuffersReleased");    if (mAbandoned) {        // Nothing to do if we're already abandoned.        return;    }    uint32_t mask = 0;    mBufferQueue->getReleasedBuffers(&mask);    for (int i = 0; i < BufferQueue::NUM_BUFFER_SLOTS; i++) {        if (mask & (1 << i)) {            freeBufferLocked(i);        }    }}
开发者ID:AospPlus,项目名称:android_frameworks_native,代码行数:18,


示例5: lock

void ConsumerBase::onBuffersReleased() {    Mutex::Autolock lock(mMutex);    CB_LOGV("onBuffersReleased");    if (mAbandoned) {        // Nothing to do if we're already abandoned.        return;    }#ifndef MTK_DEFAULT_AOSP    // force conversion here for last buffer    forceAuxConversionLocked();#endif    uint32_t mask = 0;    mConsumer->getReleasedBuffers(&mask);    for (int i = 0; i < BufferQueue::NUM_BUFFER_SLOTS; i++) {        if (mask & (1 << i)) {            freeBufferLocked(i);        }    }}
开发者ID:WayWingsDev,项目名称:Source_MT6582,代码行数:23,


示例6: CB_LOGV

ConsumerBase::~ConsumerBase() {	CB_LOGV("~ConsumerBase");    abandon();}
开发者ID:Teamlce,项目名称:android_frameworks_native,代码行数:4,



注:本文中的CB_LOGV函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


C++ CBitcoinAddress函数代码示例
C++ CBS_len函数代码示例
万事OK自学网:51自学网_软件自学网_CAD自学网自学excel、自学PS、自学CAD、自学C语言、自学css3实例,是一个通过网络自主学习工作技能的自学平台,网友喜欢的软件自学网站。