Home
last modified time | relevance | path

Searched refs:mUsage (Results 1 – 18 of 18) sorted by relevance

/hardware/libhardware/modules/camera/3_0/
DStream.cpp43 mUsage(0), in Stream()
60 if (usage != mUsage) { in setUsage()
61 mUsage = usage; in setUsage()
232 dprintf(fd, "Gralloc Usage Mask: %#" PRIx32 "\n", mUsage); in dump()
DStream.h69 uint32_t mUsage; variable
/hardware/interfaces/graphics/composer/2.2/utils/vts/
DReadbackVts.cpp203 mUsage = static_cast<uint64_t>(BufferUsage::CPU_READ_OFTEN | BufferUsage::GPU_TEXTURE); in ReadbackBuffer()
207 mBuffer = sp<GraphicBuffer>::make(mWidth, mHeight, (int32_t)mFormat, mLayerCount, mUsage); in setReadbackBuffer()
219 status_t status = mBuffer->lockAsync(mUsage, &bufData, fenceHandle); in checkReadbackBuffer()
253 mUsage = static_cast<uint64_t>(BufferUsage::CPU_READ_OFTEN | BufferUsage::CPU_WRITE_OFTEN |
289 status_t status = mBuffer->lock(mUsage, &bufData); in fillBuffer()
297 mBuffer = sp<GraphicBuffer>::make(mWidth, mHeight, (int32_t)mFormat, mLayerCount, mUsage); in setBuffer()
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/
DHidReport.cpp28 mUsage(local.getUsage(0)), in HidReport()
196 return mUsage | (mUsagePage << 16); in getFullUsage()
221 mUsage = fullUsage & 0xFFFF; in setCollapsed()
DHidReport.h81 unsigned int mUsage; variable
/hardware/interfaces/graphics/composer/aidl/vts/
DReadbackVts.cpp224 mUsage = static_cast<uint64_t>(static_cast<uint64_t>(common::BufferUsage::CPU_READ_OFTEN) | in ReadbackBuffer()
235 mWidth, mHeight, static_cast<::android::PixelFormat>(mPixelFormat), mLayerCount, mUsage, in allocateBuffer()
258 auto status = mGraphicBuffer->lockAsync(mUsage, mAccessRegion, &bufData, dup(bufferFence.get()), in checkReadbackBuffer()
304 mUsage = (static_cast<uint64_t>(common::BufferUsage::CPU_READ_OFTEN) |
351 auto status = mGraphicBuffer->lock(mUsage, &bufData, &bytesPerPixel, &bytesPerStride); in fillBuffer()
372 mWidth, mHeight, static_cast<::android::PixelFormat>(mPixelFormat), mLayerCount, mUsage, in allocateBuffer()
DReadbackVts.h160 uint32_t mUsage; variable
214 uint32_t mUsage; variable
/hardware/interfaces/automotive/evs/1.0/default/
DEvsCamera.cpp63 mUsage = GRALLOC_USAGE_HW_TEXTURE | GRALLOC_USAGE_HW_CAMERA_WRITE | in EvsCamera()
314 status_t result = alloc.allocate(mWidth, mHeight, mFormat, 1, mUsage, in increaseAvailableFrames_Locked()
428 buff.usage = mUsage; in generateFrames()
DEvsCamera.h77 uint32_t mUsage = 0; // Values from from Gralloc.h variable
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCameraMem.h257 int getUsage(){return mUsage;}; in getUsage()
269 int mUsage, mFormat; variable
316 int mWidth, mHeight, mFormat, mStride, mScanline, mUsage; variable
DQCameraMem.cpp1302 mUsage = private_handle_t::PRIV_FLAGS_ITU_R_601_FR; in QCameraVideoMemory()
1422 MetaBufferUtil::setIntAt(nh, 0, VIDEO_META_USAGE, mUsage); in allocateMore()
1491 MetaBufferUtil::setIntAt(nh, j, VIDEO_META_USAGE, mUsage); in allocateMeta()
1790 mUsage |= usage; in setVideoInfo()
1890 mWidth = mHeight = mStride = mScanline = mUsage = 0; in QCameraGrallocMemory()
1943 mUsage = usage; in setWindowInfo()
2267 gralloc_usage |= mUsage; in allocate()
/hardware/interfaces/automotive/evs/aidl/impl/default/src/
DEvsMockCamera.cpp225 .usage = static_cast<BufferUsage>(mUsage), in generateFrames()
310 const auto result = alloc.allocate(mWidth, mHeight, mFormat, 1, mUsage, handle, &pixelsPerLine, in allocateOneFrame()
373 c->mUsage = GRALLOC_USAGE_HW_TEXTURE | GRALLOC_USAGE_HW_CAMERA_WRITE | in Create()
DEvsVideoEmulatedCamera.cpp124 mUsage = GRALLOC_USAGE_HW_TEXTURE | GRALLOC_USAGE_HW_CAMERA_WRITE | in initializeMediaCodec()
216 .usage = static_cast<BufferUsage>(mUsage), in onCodecOutputAvailable()
335 const auto result = alloc.allocate(mWidth, mHeight, mFormat, 1, mUsage, handle, &pixelsPerLine, in allocateOneFrame()
/hardware/interfaces/graphics/composer/2.2/utils/vts/include/composer-vts/2.2/
DReadbackVts.h132 uint64_t mUsage; variable
185 uint64_t mUsage; variable
/hardware/interfaces/automotive/evs/1.1/default/
DEvsCamera.cpp474 status_t result = alloc.allocate(mWidth, mHeight, mFormat, 1, mUsage, &memHandle, &mStride, in increaseAvailableFrames_Locked()
587 pDesc->usage = mUsage; in generateFrames()
745 evsCamera->mUsage = GRALLOC_USAGE_HW_TEXTURE | GRALLOC_USAGE_HW_CAMERA_WRITE | in Create()
DEvsCamera.h104 uint64_t mUsage = 0; // Values from from Gralloc.h variable
/hardware/interfaces/automotive/evs/aidl/impl/default/include/
DEvsMockCamera.h107 uint64_t mUsage = variable
DEvsVideoEmulatedCamera.h149 uint64_t mUsage = 0; variable