Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/api2/
DDepthCompositeStream.cpp510 size_t depthWidth, depthHeight; in createInternalStreams() local
511 auto ret = getMatchingDepthSize(width, height, mSupportedDepthSizes, &depthWidth, &depthHeight); in createInternalStreams()
547 ret = device->createStream(mDepthSurface, depthWidth, depthHeight, kDepthMapPixelFormat, in createInternalStreams()
729 size_t *depthWidth /*out*/, size_t *depthHeight /*out*/) { in getMatchingDepthSize() argument
730 if ((depthWidth == nullptr) || (depthHeight == nullptr)) { in getMatchingDepthSize()
735 *depthWidth = *depthHeight = 0; in getMatchingDepthSize()
743 *depthHeight = height; in getMatchingDepthSize()
749 auto oldSize = (*depthWidth) * (*depthHeight); in getMatchingDepthSize()
752 *depthHeight = currentHeight; in getMatchingDepthSize()
757 return ((*depthWidth > 0) && (*depthHeight > 0)) ? OK : BAD_VALUE; in getMatchingDepthSize()
[all …]
DDepthCompositeStream.h91 size_t *depthWidth /*out*/, size_t *depthHeight /*out*/);