Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/api2/
DDepthCompositeStream.cpp496 size_t depthWidth, depthHeight; in createInternalStreams() local
497 auto ret = getMatchingDepthSize(width, height, mSupportedDepthSizes, &depthWidth, &depthHeight); in createInternalStreams()
533 ret = device->createStream(mDepthSurface, depthWidth, depthHeight, kDepthMapPixelFormat, in createInternalStreams()
723 size_t *depthWidth /*out*/, size_t *depthHeight /*out*/) { in getMatchingDepthSize() argument
724 if ((depthWidth == nullptr) || (depthHeight == nullptr)) { in getMatchingDepthSize()
729 *depthWidth = *depthHeight = 0; in getMatchingDepthSize()
736 *depthWidth = width; in getMatchingDepthSize()
743 auto oldSize = (*depthWidth) * (*depthHeight); in getMatchingDepthSize()
745 *depthWidth = currentWidth; in getMatchingDepthSize()
751 return ((*depthWidth > 0) && (*depthHeight > 0)) ? OK : BAD_VALUE; in getMatchingDepthSize()
[all …]
DDepthCompositeStream.h93 size_t *depthWidth /*out*/, size_t *depthHeight /*out*/);