Searched refs:CostType (Results 1 – 2 of 2) sorted by relevance
60 typedef short CostType; typedef123 int minD, int maxD, CostType* cost, in calcPixelCostBT()248 cost[x*D + d] = (CostType)(cost[x*D+d] + (std::min(c0, c1) >> diff_scale)); in calcPixelCostBT()281 cost[x*D + d] = (CostType)(cost[x*D + d] + (CostType)std::abs(u - v)); in calcPixelCostBT()333 const CostType MAX_COST = SHRT_MAX; in computeDisparitySGBM()380 size_t totalBufSize = (LrSize + minLrSize)*NLR*sizeof(CostType) + // minLr[] and Lr[] in computeDisparitySGBM()381 costBufSize*(hsumBufNRows + 1)*sizeof(CostType) + // hsumBuf, pixdiff in computeDisparitySGBM()382 CSBufSize*2*sizeof(CostType) + // C, S in computeDisparitySGBM()384 width*(sizeof(CostType) + sizeof(DispType)) + 1024; // disp2cost + disp2 in computeDisparitySGBM()391 CostType* Cbuf = (CostType*)alignPtr(buffer.ptr(), ALIGN); in computeDisparitySGBM()[all …]
231 enum CostType { COST_COLOR, COST_COLOR_GRAD }; enum in cv::detail::GraphCutSeamFinderBase