/dports/misc/vxl/vxl-3.3.2/core/vpgl/algo/tests/ |
H A D | test_equi_rectification.cxx | 46 std::vector<vnl_vector_fixed<double, 3>> pts0; in test_equi_rectification() local 47 pts0.emplace_back(517.08519082044199, 405.49679591436848, 1.0); in test_equi_rectification() 48 pts0.emplace_back(368.62656130374893, 533.20968068909804, 1.0); in test_equi_rectification() 49 pts0.emplace_back(392.29848889951120, 423.99376519663429, 1.0); in test_equi_rectification() 50 pts0.emplace_back(415.10361646971978, 515.81585132594773, 1.0); in test_equi_rectification() 51 pts0.emplace_back(307.54159114243384, 576.47594817744562, 1.0); in test_equi_rectification() 52 pts0.emplace_back(354.56356426606294, 455.17288861683886, 1.0); in test_equi_rectification() 53 pts0.emplace_back(461.26439037279738, 470.63791935664727, 1.0); in test_equi_rectification() 54 pts0.emplace_back(468.61976984314731, 472.78601453482474, 1.0); in test_equi_rectification() 55 pts0.emplace_back(291.13628062306191, 534.29929831742788, 1.0); in test_equi_rectification() [all …]
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bbas/bwm/exe/ |
H A D | bwm_3d_site_transform.cxx | 26 static bool compute_similarity(vnl_matrix<double> const& pts0, in compute_similarity() argument 32 vpgl_ortho_procrustes op(pts0, pts1); in compute_similarity() 117 vnl_matrix<double> pts0, pts1; in main() local 126 pts0.set_size(3,n); in main() 131 pts0[0][i] = match_pts[0].x(); pts1[0][i] = match_pts[1].x(); in main() 132 pts0[1][i] = match_pts[0].y(); pts1[1][i] = match_pts[1].y(); in main() 133 pts0[2][i] = match_pts[0].z(); pts1[2][i] = match_pts[1].z(); in main() 135 if (!compute_similarity(pts0, pts1, R, t, scale)) { in main() 175 pts0.set_size(3,n_cams); in main() 178 pts0[0][i] = cam_centers_bundler[i].x(); pts1[0][i] = cam_centers_gps[i].x(); in main() [all …]
|
H A D | bwm_3d_site_transform_points.cxx | 129 static bool compute_similarity(vnl_matrix<double> const& pts0, in compute_similarity() argument 135 vpgl_ortho_procrustes op(pts0, pts1); in compute_similarity() 182 vnl_matrix<double> pts0(3,n), pts1(3,n); in main() local 186 pts0[0][i] = match_pts[0].x(); pts1[0][i] = match_pts[1].x(); in main() 187 pts0[1][i] = match_pts[0].y(); pts1[1][i] = match_pts[1].y(); in main() 188 pts0[2][i] = match_pts[0].z(); pts1[2][i] = match_pts[1].z(); in main() 193 if (!compute_similarity(pts1, pts0, R, t, scale)) { in main()
|
/dports/multimedia/avidemux/avidemux_2.7.6/avidemux_core/ADM_coreDemuxerMpeg/src/ |
H A D | dmxPSPacket.cpp | 237 uint64_t pts1,pts2,pts0; in getPacketInfo() local 239 pts0=_file->read8i(); in getPacketInfo() 246 *opts+=(((pts0&6)>>1)<<30); in getPacketInfo() 254 uint64_t pts1,pts2,dts,pts0; in getPacketInfo() local 256 pts0=_file->read8i(); in getPacketInfo() 368 uint64_t pts1,pts2,pts0; in getPacketInfo() local 370 pts0=(c>>1) &7; in getPacketInfo() 373 *opts=pts2+(pts1<<15)+(pts0<<30); in getPacketInfo() 378 uint64_t pts1,pts2,pts0; in getPacketInfo() local 381 pts0=(c>>1) &7; in getPacketInfo() [all …]
|
/dports/multimedia/avidemux-qt5/avidemux_2.7.6/avidemux_core/ADM_coreDemuxerMpeg/src/ |
H A D | dmxPSPacket.cpp | 237 uint64_t pts1,pts2,pts0; in getPacketInfo() local 239 pts0=_file->read8i(); in getPacketInfo() 246 *opts+=(((pts0&6)>>1)<<30); in getPacketInfo() 254 uint64_t pts1,pts2,dts,pts0; in getPacketInfo() local 256 pts0=_file->read8i(); in getPacketInfo() 368 uint64_t pts1,pts2,pts0; in getPacketInfo() local 370 pts0=(c>>1) &7; in getPacketInfo() 373 *opts=pts2+(pts1<<15)+(pts0<<30); in getPacketInfo() 378 uint64_t pts1,pts2,pts0; in getPacketInfo() local 381 pts0=(c>>1) &7; in getPacketInfo() [all …]
|
/dports/multimedia/avidemux-plugins/avidemux_2.7.6/avidemux_core/ADM_coreDemuxerMpeg/src/ |
H A D | dmxPSPacket.cpp | 237 uint64_t pts1,pts2,pts0; in getPacketInfo() local 239 pts0=_file->read8i(); in getPacketInfo() 246 *opts+=(((pts0&6)>>1)<<30); in getPacketInfo() 254 uint64_t pts1,pts2,dts,pts0; in getPacketInfo() local 256 pts0=_file->read8i(); in getPacketInfo() 368 uint64_t pts1,pts2,pts0; in getPacketInfo() local 370 pts0=(c>>1) &7; in getPacketInfo() 373 *opts=pts2+(pts1<<15)+(pts0<<30); in getPacketInfo() 378 uint64_t pts1,pts2,pts0; in getPacketInfo() local 381 pts0=(c>>1) &7; in getPacketInfo() [all …]
|
/dports/multimedia/avidemux-cli/avidemux_2.7.6/avidemux_core/ADM_coreDemuxerMpeg/src/ |
H A D | dmxPSPacket.cpp | 237 uint64_t pts1,pts2,pts0; in getPacketInfo() local 239 pts0=_file->read8i(); in getPacketInfo() 246 *opts+=(((pts0&6)>>1)<<30); in getPacketInfo() 254 uint64_t pts1,pts2,dts,pts0; in getPacketInfo() local 256 pts0=_file->read8i(); in getPacketInfo() 368 uint64_t pts1,pts2,pts0; in getPacketInfo() local 370 pts0=(c>>1) &7; in getPacketInfo() 373 *opts=pts2+(pts1<<15)+(pts0<<30); in getPacketInfo() 378 uint64_t pts1,pts2,pts0; in getPacketInfo() local 381 pts0=(c>>1) &7; in getPacketInfo() [all …]
|
/dports/misc/vxl/vxl-3.3.2/contrib/mul/msm/tests/ |
H A D | test_points.cxx | 39 std::vector<vgl_point_2d<double> > pts0; in test_points() local 40 points.get_points(pts0); in test_points() 41 TEST("Number of points",pts0.size(),points.size()); in test_points() 44 points1.set_points(pts0); in test_points()
|
/dports/graphics/geos/geos-3.9.1/src/noding/snapround/ |
H A D | MCIndexSnapRounder.cpp | 65 CoordinateSequence& pts0 = *(e->getCoordinates()); in computeVertexSnaps() local 66 for(size_t i = 0, n = pts0.size() - 1; i < n; ++i) { in computeVertexSnaps() 67 HotPixel hotPixel(pts0.getAt(i), scaleFactor); in computeVertexSnaps() 71 e->addIntersection(pts0.getAt(i), i); in computeVertexSnaps()
|
/dports/graphics/opencv/opencv-4.5.3/modules/calib3d/test/ |
H A D | test_affine2d_estimator.cpp | 174 Mat pts0(Size(1, 5), CV_32FC2, (void*)pts0_); in TEST() local 177 Mat pts0_copy = pts0.clone(); in TEST() 182 cv::Mat A = cv::estimateAffine2D(pts0, pts1, inliers); in TEST() 184 for(int i = 0; i < pts0.rows; ++i) in TEST() 186 EXPECT_EQ(pts0_copy.at<Vec2f>(i), pts0.at<Vec2f>(i)) << "pts0: i=" << i; in TEST()
|
H A D | test_affine_partial2d_estimator.cpp | 183 Mat pts0(Size(1, 5), CV_32FC2, (void*)pts0_); in TEST() local 186 Mat pts0_copy = pts0.clone(); in TEST() 191 cv::Mat A = cv::estimateAffinePartial2D(pts0, pts1, inliers); in TEST() 193 for(int i = 0; i < pts0.rows; ++i) in TEST() 195 EXPECT_EQ(pts0_copy.at<Vec2f>(i), pts0.at<Vec2f>(i)) << "pts0: i=" << i; in TEST()
|
/dports/multimedia/avidemux-cli/avidemux_2.7.6/avidemux_plugins/ADM_demuxers/MpegTS/ |
H A D | dmxTSPacket.cpp | 514 uint64_t pts1,pts2,pts0; in decodePesHeader() local 516 pts0=start[0]; in decodePesHeader() 521 pes->pts+=(((pts0&6)>>1)<<30); in decodePesHeader() 529 uint64_t pts1,pts2,pts0; in decodePesHeader() local 531 pts0=start[0]; in decodePesHeader() 538 pts0=start[5]; in decodePesHeader() 1105 uint64_t pts1,pts2,pts0; in updateStats() local 1107 pts0=start[0]; in updateStats() 1121 uint64_t pts1,pts2,pts0; in updateStats() local 1123 pts0=start[0]; in updateStats() [all …]
|
/dports/multimedia/avidemux-qt5/avidemux_2.7.6/avidemux_plugins/ADM_demuxers/MpegTS/ |
H A D | dmxTSPacket.cpp | 514 uint64_t pts1,pts2,pts0; in decodePesHeader() local 516 pts0=start[0]; in decodePesHeader() 521 pes->pts+=(((pts0&6)>>1)<<30); in decodePesHeader() 529 uint64_t pts1,pts2,pts0; in decodePesHeader() local 531 pts0=start[0]; in decodePesHeader() 538 pts0=start[5]; in decodePesHeader() 1105 uint64_t pts1,pts2,pts0; in updateStats() local 1107 pts0=start[0]; in updateStats() 1121 uint64_t pts1,pts2,pts0; in updateStats() local 1123 pts0=start[0]; in updateStats() [all …]
|
/dports/multimedia/avidemux-plugins/avidemux_2.7.6/avidemux_plugins/ADM_demuxers/MpegTS/ |
H A D | dmxTSPacket.cpp | 514 uint64_t pts1,pts2,pts0; in decodePesHeader() local 516 pts0=start[0]; in decodePesHeader() 521 pes->pts+=(((pts0&6)>>1)<<30); in decodePesHeader() 529 uint64_t pts1,pts2,pts0; in decodePesHeader() local 531 pts0=start[0]; in decodePesHeader() 538 pts0=start[5]; in decodePesHeader() 1105 uint64_t pts1,pts2,pts0; in updateStats() local 1107 pts0=start[0]; in updateStats() 1121 uint64_t pts1,pts2,pts0; in updateStats() local 1123 pts0=start[0]; in updateStats() [all …]
|
/dports/multimedia/avidemux/avidemux_2.7.6/avidemux_plugins/ADM_demuxers/MpegTS/ |
H A D | dmxTSPacket.cpp | 514 uint64_t pts1,pts2,pts0; in decodePesHeader() local 516 pts0=start[0]; in decodePesHeader() 521 pes->pts+=(((pts0&6)>>1)<<30); in decodePesHeader() 529 uint64_t pts1,pts2,pts0; in decodePesHeader() local 531 pts0=start[0]; in decodePesHeader() 538 pts0=start[5]; in decodePesHeader() 1105 uint64_t pts1,pts2,pts0; in updateStats() local 1107 pts0=start[0]; in updateStats() 1121 uint64_t pts1,pts2,pts0; in updateStats() local 1123 pts0=start[0]; in updateStats() [all …]
|
/dports/math/jts/jts-jts-1.18.1/modules/core/src/main/java/org/locationtech/jts/noding/snapround/ |
H A D | MCIndexSnapRounder.java | 147 Coordinate[] pts0 = e.getCoordinates(); in computeVertexSnaps() local 148 for (int i = 0; i < pts0.length ; i++) { in computeVertexSnaps() 149 HotPixel hotPixel = new HotPixel(pts0[i], scaleFactor); in computeVertexSnaps() 153 e.addIntersection(pts0[i], i); in computeVertexSnaps()
|
/dports/graphics/inkscape/inkscape-1.1_2021-05-24_c4e8f9ed74/src/live_effects/ |
H A D | lpe-pts2ellipse.cpp | 210 for (auto &i : pts0) { in gen_perspective_frame_paths() 216 Geom::Path rect(pts0[0]); in gen_perspective_frame_paths() 219 rect.appendNew<Geom::LineSegment>(pts0[i]); in gen_perspective_frame_paths() 665 eqnMat[8 * (i + 0) + 0] = pts0[i][X]; in genPerspectiveEllipse() 666 eqnMat[8 * (i + 0) + 1] = pts0[i][Y]; in genPerspectiveEllipse() 668 eqnMat[8 * (i + 0) + 6] = -pts[i][X] * pts0[i][X]; in genPerspectiveEllipse() 669 eqnMat[8 * (i + 0) + 7] = -pts[i][X] * pts0[i][Y]; in genPerspectiveEllipse() 670 eqnMat[8 * (i + 4) + 3] = pts0[i][X]; in genPerspectiveEllipse() 671 eqnMat[8 * (i + 4) + 4] = pts0[i][Y]; in genPerspectiveEllipse() 673 eqnMat[8 * (i + 4) + 6] = -pts[i][Y] * pts0[i][X]; in genPerspectiveEllipse() [all …]
|
/dports/graphics/geos/geos-3.9.1/src/noding/ |
H A D | SimpleNoder.cpp | 36 const CoordinateSequence* pts0 = e0->getCoordinates(); in computeIntersects() local 38 for(size_t i0 = 0, n0 = pts0->getSize() - 1; i0 < n0; i0++) { in computeIntersects()
|
/dports/multimedia/QtAV/QtAV-1.13.0/src/ |
H A D | FrameReader.cpp | 131 qint64 pts0 = -1; in seekInternal() local 140 if (pts0 < 0LL) in seekInternal() 141 pts0 = (qint64)(pkt.pts*1000.0); in seekInternal() 159 const bool enlarge_range = pts0 >= 0LL && key_pts - pts0 > 0LL; in seekInternal()
|
H A D | VideoFrameExtractor.cpp | 222 qint64 pts0 = -1; in extractInPrecision() local 237 if (pts0 < 0LL) in extractInPrecision() 238 pts0 = (qint64)(pkt.pts*1000.0); in extractInPrecision() 256 const bool enlarge_range = pts0 >= 0LL && key_pts - pts0 > 0LL; in extractInPrecision()
|
/dports/math/py-triangle/triangle-20200424/doc/plot/ |
H A D | ex6.py | 15 pts0, seg0 = circle(30, 1.4) variable 17 pts = np.vstack([pts0, pts1])
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bpro/core/vpgl_pro/processes/ |
H A D | bpgl_transform_perspective_cameras_process.cxx | 215 vnl_matrix<double> pts0, pts1; in vpgl_transform_space_process() local 218 pts0.set_size(3,n); in vpgl_transform_space_process() 221 pts0[0][i] = pts0_xs->data_array[i]; pts1[0][i] = pts1_xs->data_array[i]; in vpgl_transform_space_process() 222 pts0[1][i] = pts0_ys->data_array[i]; pts1[1][i] = pts1_ys->data_array[i]; in vpgl_transform_space_process() 223 pts0[2][i] = pts0_zs->data_array[i]; pts1[2][i] = pts1_zs->data_array[i]; in vpgl_transform_space_process() 230 vpgl_ortho_procrustes op(pts0, pts1); in vpgl_transform_space_process()
|
/dports/math/jts/jts-jts-1.18.1/modules/core/src/test/java/org/locationtech/jts/geom/ |
H A D | BidirectionalComparatorTest.java | 64 Coordinate[] pts0 = g0.getCoordinates(); in compareBiDir() local 67 return comp.compare(pts0, pts1); in compareBiDir()
|
/dports/math/jts/jts-jts-1.18.1/modules/core/src/main/java/org/locationtech/jts/noding/ |
H A D | SimpleNoder.java | 56 Coordinate[] pts0 = e0.getCoordinates(); in computeIntersects() local 58 for (int i0 = 0; i0 < pts0.length - 1; i0++) { in computeIntersects()
|
H A D | SimpleSegmentSetMutualIntersector.java | 71 Coordinate[] pts0 = ss0.getCoordinates(); in intersect() local 73 for (int i0 = 0; i0 < pts0.length - 1; i0++) { in intersect()
|