CostType          123 modules/calib3d/src/stereosgbm.cpp                             int minD, int maxD, CostType* cost,
CostType          248 modules/calib3d/src/stereosgbm.cpp                     cost[x*D + d] = (CostType)(cost[x*D+d] + (std::min(c0, c1) >> diff_scale));
CostType          281 modules/calib3d/src/stereosgbm.cpp                     cost[x*D + d] = (CostType)(cost[x*D + d] + (CostType)std::abs(u - v));
CostType          333 modules/calib3d/src/stereosgbm.cpp     const CostType MAX_COST = SHRT_MAX;
CostType          380 modules/calib3d/src/stereosgbm.cpp     size_t totalBufSize = (LrSize + minLrSize)*NLR*sizeof(CostType) + // minLr[] and Lr[]
CostType          381 modules/calib3d/src/stereosgbm.cpp     costBufSize*(hsumBufNRows + 1)*sizeof(CostType) + // hsumBuf, pixdiff
CostType          382 modules/calib3d/src/stereosgbm.cpp     CSBufSize*2*sizeof(CostType) + // C, S
CostType          384 modules/calib3d/src/stereosgbm.cpp     width*(sizeof(CostType) + sizeof(DispType)) + 1024; // disp2cost + disp2
CostType          391 modules/calib3d/src/stereosgbm.cpp     CostType* Cbuf = (CostType*)alignPtr(buffer.ptr(), ALIGN);
CostType          392 modules/calib3d/src/stereosgbm.cpp     CostType* Sbuf = Cbuf + CSBufSize;
CostType          393 modules/calib3d/src/stereosgbm.cpp     CostType* hsumBuf = Sbuf + CSBufSize;
CostType          394 modules/calib3d/src/stereosgbm.cpp     CostType* pixDiff = hsumBuf + costBufSize*hsumBufNRows;
CostType          396 modules/calib3d/src/stereosgbm.cpp     CostType* disp2cost = pixDiff + costBufSize + (LrSize + minLrSize)*NLR;
CostType          402 modules/calib3d/src/stereosgbm.cpp         Cbuf[k] = (CostType)P2;
CostType          419 modules/calib3d/src/stereosgbm.cpp         CostType *Lr[NLR]={0}, *minLr[NLR]={0};
CostType          429 modules/calib3d/src/stereosgbm.cpp             memset( Lr[k] - LrBorder*NRD2 - 8, 0, LrSize*sizeof(CostType) );
CostType          431 modules/calib3d/src/stereosgbm.cpp             memset( minLr[k] - LrBorder*NR2, 0, minLrSize*sizeof(CostType) );
CostType          438 modules/calib3d/src/stereosgbm.cpp             CostType* C = Cbuf + (!fullDP ? 0 : y*costBufSize);
CostType          439 modules/calib3d/src/stereosgbm.cpp             CostType* S = Sbuf + (!fullDP ? 0 : y*costBufSize);
CostType          447 modules/calib3d/src/stereosgbm.cpp                     CostType* hsumAdd = hsumBuf + (std::min(k, height-1) % hsumBufNRows)*costBufSize;
CostType          453 modules/calib3d/src/stereosgbm.cpp                         memset(hsumAdd, 0, D*sizeof(CostType));
CostType          458 modules/calib3d/src/stereosgbm.cpp                                 hsumAdd[d] = (CostType)(hsumAdd[d] + pixDiff[x + d]*scale);
CostType          463 modules/calib3d/src/stereosgbm.cpp                             const CostType* hsumSub = hsumBuf + (std::max(y - SH2 - 1, 0) % hsumBufNRows)*costBufSize;
CostType          464 modules/calib3d/src/stereosgbm.cpp                             const CostType* Cprev = !fullDP || y == 0 ? C : C - costBufSize;
CostType          468 modules/calib3d/src/stereosgbm.cpp                                 const CostType* pixAdd = pixDiff + std::min(x + SW2*D, (width1-1)*D);
CostType          469 modules/calib3d/src/stereosgbm.cpp                                 const CostType* pixSub = pixDiff + std::max(x - (SW2+1)*D, 0);
CostType          493 modules/calib3d/src/stereosgbm.cpp                                         int hv = hsumAdd[x + d] = (CostType)(hsumAdd[x - D + d] + pixAdd[d] - pixSub[d]);
CostType          494 modules/calib3d/src/stereosgbm.cpp                                         C[x + d] = (CostType)(Cprev[x + d] + hv - hsumSub[x + d]);
CostType          503 modules/calib3d/src/stereosgbm.cpp                                 const CostType* pixAdd = pixDiff + std::min(x + SW2*D, (width1-1)*D);
CostType          504 modules/calib3d/src/stereosgbm.cpp                                 const CostType* pixSub = pixDiff + std::max(x - (SW2+1)*D, 0);
CostType          507 modules/calib3d/src/stereosgbm.cpp                                     hsumAdd[x + d] = (CostType)(hsumAdd[x - D + d] + pixAdd[d] - pixSub[d]);
CostType          516 modules/calib3d/src/stereosgbm.cpp                             C[x] = (CostType)(C[x] + hsumAdd[x]*scale);
CostType          526 modules/calib3d/src/stereosgbm.cpp             memset( Lr[0] - NRD2*LrBorder - 8, 0, NRD2*LrBorder*sizeof(CostType) );
CostType          527 modules/calib3d/src/stereosgbm.cpp             memset( Lr[0] + width1*NRD2 - 8, 0, NRD2*LrBorder*sizeof(CostType) );
CostType          528 modules/calib3d/src/stereosgbm.cpp             memset( minLr[0] - NR2*LrBorder, 0, NR2*LrBorder*sizeof(CostType) );
CostType          529 modules/calib3d/src/stereosgbm.cpp             memset( minLr[0] + width1*NR2, 0, NR2*LrBorder*sizeof(CostType) );
CostType          556 modules/calib3d/src/stereosgbm.cpp                 CostType* Lr_p0 = Lr[0] + xd - dx*NRD2;
CostType          557 modules/calib3d/src/stereosgbm.cpp                 CostType* Lr_p1 = Lr[1] + xd - NRD2 + D2;
CostType          558 modules/calib3d/src/stereosgbm.cpp                 CostType* Lr_p2 = Lr[1] + xd + D2*2;
CostType          559 modules/calib3d/src/stereosgbm.cpp                 CostType* Lr_p3 = Lr[1] + xd + NRD2 + D2*3;
CostType          564 modules/calib3d/src/stereosgbm.cpp                 CostType* Lr_p = Lr[0] + xd;
CostType          565 modules/calib3d/src/stereosgbm.cpp                 const CostType* Cp = C + x*D;
CostType          566 modules/calib3d/src/stereosgbm.cpp                 CostType* Sp = S + x*D;
CostType          650 modules/calib3d/src/stereosgbm.cpp                         Lr_p[d] = (CostType)L0;
CostType          653 modules/calib3d/src/stereosgbm.cpp                         Lr_p[d + D2] = (CostType)L1;
CostType          656 modules/calib3d/src/stereosgbm.cpp                         Lr_p[d + D2*2] = (CostType)L2;
CostType          659 modules/calib3d/src/stereosgbm.cpp                         Lr_p[d + D2*3] = (CostType)L3;
CostType          662 modules/calib3d/src/stereosgbm.cpp                         Sp[d] = saturate_cast<CostType>(Sp[d] + L0 + L1 + L2 + L3);
CostType          664 modules/calib3d/src/stereosgbm.cpp                     minLr[0][xm] = (CostType)minL0;
CostType          665 modules/calib3d/src/stereosgbm.cpp                     minLr[0][xm+1] = (CostType)minL1;
CostType          666 modules/calib3d/src/stereosgbm.cpp                     minLr[0][xm+2] = (CostType)minL2;
CostType          667 modules/calib3d/src/stereosgbm.cpp                     minLr[0][xm+3] = (CostType)minL3;
CostType          681 modules/calib3d/src/stereosgbm.cpp                     CostType* Sp = S + x*D;
CostType          690 modules/calib3d/src/stereosgbm.cpp                         CostType* Lr_p0 = Lr[0] + xd + NRD2;
CostType          692 modules/calib3d/src/stereosgbm.cpp                         CostType* Lr_p = Lr[0] + xd;
CostType          694 modules/calib3d/src/stereosgbm.cpp                         const CostType* Cp = C + x*D;
CostType          738 modules/calib3d/src/stereosgbm.cpp                             minLr[0][xm] = (CostType)_mm_cvtsi128_si32(_minL0);
CostType          739 modules/calib3d/src/stereosgbm.cpp                             minS = (CostType)_mm_cvtsi128_si32(qS);
CostType          754 modules/calib3d/src/stereosgbm.cpp                                 Lr_p[d] = (CostType)L0;
CostType          757 modules/calib3d/src/stereosgbm.cpp                                 int Sval = Sp[d] = saturate_cast<CostType>(Sp[d] + L0);
CostType          764 modules/calib3d/src/stereosgbm.cpp                             minLr[0][xm] = (CostType)minL0;
CostType          791 modules/calib3d/src/stereosgbm.cpp                         disp2cost[_x2] = (CostType)minS;