/external/zopfli/src/zopfli/ |
blocksplitter.c | 155 size_t npoints = 0; local 163 if (lz77splitpoints[npoints] == i) { 164 ZOPFLI_APPEND_DATA(pos, &splitpoints, &npoints); 165 if (npoints == nlz77points) break; 170 assert(npoints == nlz77points); 173 for (i = 0; i < npoints; i++) { 177 for (i = 0; i < npoints; i++) { 193 npoints: the amount of splitpoints found so far. 200 const size_t* splitpoints, size_t npoints, 205 for (i = 0; i <= npoints; i++) [all...] |
blocksplitter.h | 48 size_t** splitpoints, size_t* npoints); 61 npoints: pointer to amount of splitpoints, for the dynamic array. The amount of 66 size_t maxblocks, size_t** splitpoints, size_t* npoints); 75 size_t** splitpoints, size_t* npoints);
|
deflate.c | 729 size_t npoints = 0; local 731 ZopfliBlockSplitSimple(in, instart, inend, 65535, &splitpoints, &npoints); 734 increases the total size. Leave npoints at 0, this represents 1 block. */ 737 options->blocksplittingmax, &splitpoints, &npoints); 740 for (i = 0; i <= npoints; i++) { 742 size_t end = i == npoints ? inend : splitpoints[i]; 743 DeflateBlock(options, btype, i == npoints && final, in, start, end, 765 size_t npoints = 0; local 795 increases the total size. Leave npoints at 0, this represents 1 block. */ 798 options->blocksplittingmax, &splitpoints, &npoints); [all...] |
/external/opencv3/modules/videostab/src/ |
global_motion.cpp | 68 int npoints = points0.cols; 70 npoints, (float*)points0.data, (float*)points1.data, mask.data); 85 static Mat normalizePoints(int npoints, Point2f *points) 88 for (int i = 0; i < npoints; ++i) 93 cx /= npoints; 94 cy /= npoints; 97 for (int i = 0; i < npoints; ++i) 103 d /= npoints; 106 for (int i = 0; i < npoints; ++i) 121 int npoints, Point2f *points0, Point2f *points1, float *rmse 361 const int npoints = points0.getMat().checkVector(2); local 385 const int npoints = points0.getMat().checkVector(2); local 492 const int npoints = points0.getMat().checkVector(2); local 534 const int npoints = points0.getMat().checkVector(2); local [all...] |
outlier_rejection.cpp | 57 int npoints = points0.getMat().checkVector(2); local 58 mask.create(1, npoints, CV_8U); 76 int npoints = points0.getMat().checkVector(2); local 81 mask.create(1, npoints, CV_8U); 93 for (int i = 0; i < npoints; ++i)
|
/external/opencv3/modules/calib3d/src/ |
fundam.cpp | 268 int npoints, 283 tempMask = Mat(npoints, 1, CV_8U); 300 rhoEnsureCapacity(p, npoints, beta); 317 (unsigned) npoints, 332 for(int k=0;k<npoints;k++){ 351 int npoints = -1; 357 npoints = p.checkVector(2, -1, false); 358 if( npoints < 0 ) 360 npoints = p.checkVector(3, -1, false); 361 if( npoints < 0 [all...] |
solvepnp.cpp | 60 int npoints = std::max(opoints.checkVector(3, CV_32F), opoints.checkVector(3, CV_64F)); local 61 CV_Assert( npoints >= 0 && npoints == std::max(ipoints.checkVector(2, CV_32F), ipoints.checkVector(2, CV_64F)) ); 103 CV_Assert( npoints == 4); 229 int npoints = std::max(opoints.checkVector(3, CV_32F), opoints.checkVector(3, CV_64F)); local 230 CV_Assert( npoints >= 0 && npoints == std::max(ipoints.checkVector(2, CV_32F), ipoints.checkVector(2, CV_64F)) ); 249 if( npoints == 4 ) 277 int npoints1 = compressElems(&opoints_inliers[0], mask, 1, npoints); 278 compressElems(&ipoints_inliers[0], mask, 1, npoints); [all...] |
calibration.cpp | [all...] |
/external/opencv3/modules/cudafeatures2d/src/cuda/ |
orb.cu | 72 __global__ void HarrisResponses(const PtrStepb img, const short2* loc_, float* response, const int npoints, const int blockSize, const float harris_k) 80 if (ptidx < npoints) 126 void HarrisResponses_gpu(PtrStepSzb img, const short2* loc, float* response, const int npoints, int blockSize, float harris_k, cudaStream_t stream) 131 grid.x = divUp(npoints, block.y); 133 HarrisResponses<<<grid, block, 0, stream>>>(img, loc, response, npoints, blockSize, harris_k); 151 __global__ void IC_Angle(const PtrStepb image, const short2* loc_, float* angle, const int npoints, const int half_k) 163 if (ptidx < npoints) 208 void IC_Angle_gpu(PtrStepSzb image, const short2* loc, float* angle, int npoints, int half_k, cudaStream_t stream) 213 grid.x = divUp(npoints, block.y); 215 IC_Angle<<<grid, block, 0, stream>>>(image, loc, angle, npoints, half_k) [all...] |
/external/fonttools/Lib/fontTools/ttLib/tables/ |
_m_a_x_p.py | 87 nPoints, nContours = g.getMaxpValues() 88 maxPoints = max(maxPoints, nPoints) 91 nPoints, nContours, componentDepth = g.getCompositeMaxpValues(glyfTable) 92 maxCompositePoints = max(maxCompositePoints, nPoints)
|
/external/opencv3/modules/calib3d/test/ |
test_cameracalibration_badarg.cpp | 71 CvMat* npoints; member in struct:CV_CameraCalibrationBadArgTest::C_Caller 81 cvCalibrateCamera2(objPts, imgPts, npoints, imageSize, 102 CvMat objPts, imgPts, npoints, cameraMatrix, distCoeffs, rvecs, tvecs; local 109 caller.npoints = &npoints; 145 npoints = npoints_cpp; 163 bad_caller.npoints = 0; 164 errors += run_test_case( CV_StsBadArg, "Zero passed in npoints", bad_caller ); 188 bad_caller.npoints = &bad_npts_c1; 189 errors += run_test_case( CV_StsUnsupportedFormat, "Bad npoints format", bad_caller ) [all...] |
/external/opencv3/modules/cudafeatures2d/src/ |
fast.cpp | 187 const int npoints = h_keypoints.cols; 189 keypoints.resize(npoints); 194 for (int i = 0; i < npoints; ++i)
|
orb.cpp | 60 void HarrisResponses_gpu(PtrStepSzb img, const short2* loc, float* response, const int npoints, int blockSize, float harris_k, cudaStream_t stream); 64 void IC_Angle_gpu(PtrStepSzb image, const short2* loc, float* angle, int npoints, int half_k, cudaStream_t stream); 66 void computeOrbDescriptor_gpu(PtrStepb img, const short2* loc, const float* angle, const int npoints, 69 void mergeLocation_gpu(const short2* loc, float* x, float* y, int npoints, float scale, cudaStream_t stream); 466 static void makeRandomPattern(int patchSize, Point* pattern, int npoints) 472 for (int i = 0; i < npoints; i++) 539 const int npoints = 512; 540 Point pattern_buf[npoints]; 545 makeRandomPattern(patchSize_, pattern_buf, npoints); 551 h_pattern.create(2, npoints, CV_32SC1) [all...] |
/external/opencv3/modules/imgproc/src/ |
approx.cpp | 678 int npoints = curve.checkVector(2), depth = curve.depth(); local 679 CV_Assert( npoints >= 0 && (depth == CV_32S || depth == CV_32F)); 681 if( npoints == 0 ) 687 AutoBuffer<Point> _buf(npoints); 688 AutoBuffer<Range> _stack(npoints); 693 nout = approxPolyDP_(curve.ptr<Point>(), npoints, buf, closed, epsilon, &_stack); 695 nout = approxPolyDP_(curve.ptr<Point2f>(), npoints, (Point2f*)buf, closed, epsilon, &_stack); 781 int npoints = src_seq->total, nout = 0; local 782 _buf.allocate(npoints*2); 783 cv::Point *src = _buf, *dst = src + npoints; [all...] |
shapedescr.cpp | 341 int npoints = contour.checkVector(2); local 343 CV_Assert(npoints >= 0 && (depth == CV_32F || depth == CV_32S)); 345 if( npoints == 0 ) 352 Point2f prev = is_float ? ptsf[npoints-1] : Point2f((float)ptsi[npoints-1].x, (float)ptsi[npoints-1].y); 354 for( int i = 0; i < npoints; i++ ) 485 int npoints = points.checkVector(2); local 487 CV_Assert(npoints >= 0 && (depth == CV_32F || depth == CV_32S)); 492 if( npoints == 0 [all...] |
convhull.cpp | 268 int i, j = 0, npoints = points.checkVector(2, CV_32S); local 269 CV_Assert( npoints >= 0 ); 271 if( npoints <= 3 ) 290 CV_Assert( 0 <= hcurr && hcurr < npoints ); 295 CV_Assert( 0 <= hnext && hnext < npoints ); 310 j &= j >= npoints ? 0 : -1;
|
/external/pdfium/core/src/fxge/ge/ |
fx_ge_path.cpp | 122 void CFX_PathData::SetPointCount(int nPoints) { 123 m_PointCount = nPoints; 124 if (m_AllocCount < nPoints) { 126 m_pPoints = FX_Alloc(FX_PATHPOINT, nPoints); 127 m_AllocCount = nPoints; 130 void CFX_PathData::AllocPointCount(int nPoints) { 131 if (m_AllocCount < nPoints) { 132 FX_PATHPOINT* pNewBuf = FX_Alloc(FX_PATHPOINT, nPoints); 138 m_AllocCount = nPoints; 146 void CFX_PathData::TrimPoints(int nPoints) { [all...] |
/external/opencv/cv/src/ |
cvcalibration.cpp | [all...] |
/external/proguard/src/proguard/gui/splash/ |
OverrideGraphics2D.java | 344 public void drawPolygon(int[] xPoints, int[] yPoints, int nPoints) 346 graphics.drawPolygon(xPoints, yPoints, nPoints); 354 public void drawPolyline(int[] xPoints, int[] yPoints, int nPoints) 356 graphics.drawPolyline(xPoints, yPoints, nPoints); 424 public void fillPolygon(int[] xPoints, int[] yPoints, int nPoints) 426 graphics.fillPolygon(xPoints, yPoints, nPoints);
|
/external/pdfium/third_party/lcms2-2.6/src/ |
cmsgmt.c | 93 cmsUInt32Number nPoints, 111 SampledPoints = (cmsFloat32Number*) _cmsCalloc(ContextID, nPoints, sizeof(cmsFloat32Number)); 114 for (i=0; i < nPoints; i++) { 119 cmyk[3] = (cmsFloat32Number) ((i * 100.0) / (nPoints-1)); 125 out = cmsBuildTabulatedToneCurveFloat(ContextID, nPoints, SampledPoints); 140 cmsUInt32Number nPoints, 160 in = ComputeKToLstar(ContextID, nPoints, nProfiles - 1, Intents, hProfiles, BPC, AdaptationStates, dwFlags); 163 out = ComputeKToLstar(ContextID, nPoints, 1, 176 KTone = cmsJoinToneCurve(ContextID, in, out, nPoints);
|
/external/opencv3/modules/video/test/ocl/ |
test_optflowpyrlk.cpp | 78 static const int npoints = 1000; local 90 cv::goodFeaturesToTrack(frame0, pts, npoints, 0.01, 0.0);
|
/external/pdfium/core/src/fxge/win32/ |
fx_win32_gdipext.cpp | [all...] |
/frameworks/base/media/java/android/media/ |
ResampleInputStream.java | 148 byte[] out, int outOffset, int npoints);
|
/external/opencv3/modules/core/misc/java/test/ |
CoreTest.java | 854 int nPoints = Math.min(gray0.cols(), gray0.rows()); 856 Point point2 = new Point(nPoints, nPoints); 861 assertTrue(nPoints == Core.countNonZero(gray0)); 865 int nPoints = Math.min(gray0.cols(), gray0.rows()); 867 Point point2 = new Point(nPoints, nPoints); 871 assertTrue(nPoints == Core.countNonZero(gray0)); 875 int nPoints = Math.min(gray0.cols(), gray0.rows()); 877 Point point2 = new Point(nPoints, nPoints) [all...] |
/external/opencv3/modules/video/src/ |
lkpyramid.cpp | 1109 int level=0, i, npoints; local [all...] |