Lines Matching refs:depthHeight
520 size_t *depthWidth, size_t *depthHeight) { in checkAndGetMatchingDepthSize() argument
521 if (depthWidth == nullptr || depthHeight == nullptr) { in checkAndGetMatchingDepthSize()
547 size_t depthWidth = 0, depthHeight = 0; in checkAndGetMatchingDepthSize() local
549 depthSizesMaximumResolution, &depthWidth, &depthHeight); in checkAndGetMatchingDepthSize()
556 chosenDepthHeight != depthHeight) { in checkAndGetMatchingDepthSize()
563 chosenDepthHeight = depthHeight; in checkAndGetMatchingDepthSize()
567 *depthHeight = chosenDepthHeight; in checkAndGetMatchingDepthSize()
583 size_t depthWidth, depthHeight; in createInternalStreams() local
587 &depthHeight); in createInternalStreams()
623 ret = device->createStream(mDepthSurface, depthWidth, depthHeight, kDepthMapPixelFormat, in createInternalStreams()
812 size_t *depthWidth /*out*/, size_t *depthHeight /*out*/) { in getMatchingDepthSize() argument
813 if ((depthWidth == nullptr) || (depthHeight == nullptr)) { in getMatchingDepthSize()
818 *depthWidth = *depthHeight = 0; in getMatchingDepthSize()
826 *depthHeight = height; in getMatchingDepthSize()
832 auto oldSize = (*depthWidth) * (*depthHeight); in getMatchingDepthSize()
835 *depthHeight = currentHeight; in getMatchingDepthSize()
840 return ((*depthWidth > 0) && (*depthHeight > 0)) ? OK : BAD_VALUE; in getMatchingDepthSize()