Searched refs:bytesPerStride (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/libs/nativewindow/ |
D | AHardwareBuffer.cpp | 136 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/ |
D | Gralloc4.cpp | 222 int32_t bytesPerStride = planeLayouts.front().strideInBytes; in lock() local 224 if (bytesPerStride != planeLayout.strideInBytes) { in lock() 225 bytesPerStride = -1; in lock() 228 if (bytesPerStride >= 0) { in lock() 229 *outBytesPerStride = bytesPerStride; in lock()
|