Home
last modified time | relevance | path

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

/frameworks/native/libs/nativewindow/
DAHardwareBuffer.cpp229 int32_t bytesPerStride; in AHardwareBuffer_lockAndGetInfo() local
230 …buffer->lockAsync(usage, usage, bounds, outVirtualAddress, fence, &bytesPerPixel, &bytesPerStride); in AHardwareBuffer_lockAndGetInfo()
234 if (bytesPerPixel == -1 || bytesPerStride == -1) { in AHardwareBuffer_lockAndGetInfo()
240 if (outBytesPerStride) *outBytesPerStride = bytesPerStride; in AHardwareBuffer_lockAndGetInfo()
247 int32_t bytesPerStride; in AHardwareBuffer_lock() local
273 …buffer->lockAsync(usage, usage, bounds, outVirtualAddress, fence, &bytesPerPixel, &bytesPerStride); in AHardwareBuffer_lock()
323 int32_t bytesPerStride; in AHardwareBuffer_lockPlanes() local
325 &bytesPerPixel, &bytesPerStride); in AHardwareBuffer_lockPlanes()
328 outPlanes->planes[0].rowStride = bytesPerStride; in AHardwareBuffer_lockPlanes()
/frameworks/native/libs/ui/
DGraphicBuffer.cpp61 int32_t bytesPerStride = planeLayouts.front().strideInBytes; in resolveLegacyByteLayoutFromPlaneLayout() local
63 if (bytesPerStride != planeLayout.strideInBytes) { in resolveLegacyByteLayoutFromPlaneLayout()
64 bytesPerStride = -1; in resolveLegacyByteLayoutFromPlaneLayout()
67 if (bytesPerStride >= 0) { in resolveLegacyByteLayoutFromPlaneLayout()
68 *outBytesPerStride = bytesPerStride; in resolveLegacyByteLayoutFromPlaneLayout()
406 *outBytesPerStride = legacyBps != -1 ? legacyBps : value.bytesPerStride; in lockAsync()
DGraphicBufferMapper.cpp148 &result.bytesPerPixel, &result.bytesPerStride); in lock()
/frameworks/native/libs/ui/include_vndk/ui/
DGraphicBufferMapper.h88 int32_t bytesPerStride = -1; member
/frameworks/native/libs/ui/include/ui/
DGraphicBufferMapper.h88 int32_t bytesPerStride = -1; member