Home
last modified time | relevance | path

Searched refs:bytesPerStride (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/libs/nativewindow/
DAHardwareBuffer.cpp136 int32_t bytesPerStride; in AHardwareBuffer_lockAndGetInfo() local
137 …buffer->lockAsync(usage, usage, bounds, outVirtualAddress, fence, &bytesPerPixel, &bytesPerStride); in AHardwareBuffer_lockAndGetInfo()
141 if (bytesPerPixel == -1 || bytesPerStride == -1) { in AHardwareBuffer_lockAndGetInfo()
147 if (outBytesPerStride) *outBytesPerStride = bytesPerStride; in AHardwareBuffer_lockAndGetInfo()
154 int32_t bytesPerStride; in AHardwareBuffer_lock() local
180 …buffer->lockAsync(usage, usage, bounds, outVirtualAddress, fence, &bytesPerPixel, &bytesPerStride); in AHardwareBuffer_lock()
/frameworks/native/libs/ui/
DGralloc4.cpp281 int32_t bytesPerStride = planeLayouts.front().strideInBytes; in lock() local
283 if (bytesPerStride != planeLayout.strideInBytes) { in lock()
284 bytesPerStride = -1; in lock()
287 if (bytesPerStride >= 0) { in lock()
288 *outBytesPerStride = bytesPerStride; in lock()