Lines Matching refs:depthWidth
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()
555 if (chosenDepthWidth != 0 && chosenDepthWidth != depthWidth && in checkAndGetMatchingDepthSize()
562 chosenDepthWidth = depthWidth; in checkAndGetMatchingDepthSize()
566 *depthWidth = chosenDepthWidth; in checkAndGetMatchingDepthSize()
583 size_t depthWidth, depthHeight; in createInternalStreams() local
586 mSupportedDepthSizesMaximumResolution, sensorPixelModesUsed, &depthWidth, 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()
825 *depthWidth = width; in getMatchingDepthSize()
832 auto oldSize = (*depthWidth) * (*depthHeight); in getMatchingDepthSize()
834 *depthWidth = currentWidth; in getMatchingDepthSize()
840 return ((*depthWidth > 0) && (*depthHeight > 0)) ? OK : BAD_VALUE; in getMatchingDepthSize()