Home
last modified time | relevance | path

Searched refs:aspectRatio (Results 1 – 22 of 22) sorted by relevance

/external/opencv3/samples/cpp/
Dcalibration.cpp139 float squareSize, float aspectRatio, in runCalibration() argument
147 cameraMatrix.at<double>(0,0) = aspectRatio; in runCalibration()
172 float squareSize, float aspectRatio, int flags, in saveCameraParams() argument
198 fs << "aspectRatio" << aspectRatio; in saveCameraParams()
270 float aspectRatio, int flags, Mat& cameraMatrix, in runAndSave() argument
278 aspectRatio, flags, cameraMatrix, distCoeffs, in runAndSave()
286 boardSize, squareSize, aspectRatio, in runAndSave()
300 float squareSize = 1.f, aspectRatio = 1.f; in main() local
364 if( sscanf( argv[++i], "%f", &aspectRatio ) != 1 || aspectRatio <= 0 ) in main()
455 boardSize, pattern, squareSize, aspectRatio, in main()
[all …]
D3calibration.cpp49 float squareSize, float aspectRatio, in run3Calibration() argument
86 cameraMatrix.at<double>(0,0) = aspectRatio; in run3Calibration()
180 float squareSize = 1.f, aspectRatio = 1.f; in main() local
214 if( sscanf( argv[++i], "%f", &aspectRatio ) != 1 || aspectRatio <= 0 ) in main()
251 cameraMatrix[k].at<double>(0,0) = aspectRatio; in main()
295 boardSize, squareSize, aspectRatio, flags|CALIB_FIX_K4|CALIB_FIX_K5, in main()
/external/skia/src/core/
DSkRTree.cpp10 SkRTree::SkRTree(SkScalar aspectRatio) : fCount(0), fAspectRatio(aspectRatio) {} in SkRTree() argument
63 int SkRTree::CountNodes(int branches, SkScalar aspectRatio) { in CountNodes() argument
77 int numStrips = SkScalarCeilToInt(SkScalarSqrt(SkIntToScalar(numBranches) / aspectRatio)); in CountNodes()
100 return nodes + CountNodes(nodes, aspectRatio); in CountNodes()
DSkBBHFactory.cpp14 SkScalar aspectRatio = bounds.width() / bounds.height(); in operator ()() local
15 return new SkRTree(aspectRatio); in operator ()()
DSkRTree.h41 explicit SkRTree(SkScalar aspectRatio = 1);
85 static int CountNodes(int branches, SkScalar aspectRatio);
/external/pdfium/xfa/src/fxbarcode/pdf417/
DBC_PDF417Writer.cpp64 int32_t aspectRatio = 4; in Encode() local
68 lineThickness, aspectRatio * lineThickness)); in Encode()
92 scale * lineThickness, scale * aspectRatio * lineThickness)); in Encode()
/external/libgdx/backends/gdx-backends-gwt/src/com/google/gwt/webgl/client/
DWebGLUtil.java23 …public static float[] createPerspectiveMatrix (int fieldOfViewVertical, float aspectRatio, float m… in createPerspectiveMatrix() argument
26 return new float[] {(float)(Math.tan(fieldOfViewInRad) / aspectRatio), 0, 0, 0, 0, in createPerspectiveMatrix()
/external/opencv3/samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/
DQuadRenderer.cpp220 float aspectRatio = m_windowBounds.Width / m_windowBounds.Height; in CreateWindowSizeDependentResources() local
223 if (aspectRatio < 1.0f) in CreateWindowSizeDependentResources()
225 fovAngleY /= aspectRatio; in CreateWindowSizeDependentResources()
233 aspectRatio, in CreateWindowSizeDependentResources()
/external/opencv3/samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/
DCubeRenderer.cpp278 float aspectRatio = m_windowBounds.Width / m_windowBounds.Height; in CreateWindowSizeDependentResources() local
280 if (aspectRatio < 1.0f) in CreateWindowSizeDependentResources()
282 fovAngleY /= aspectRatio; in CreateWindowSizeDependentResources()
290 aspectRatio, in CreateWindowSizeDependentResources()
/external/opencv3/samples/cpp/tutorial_code/calib3d/camera_calibration/
Dcamera_calibration.cpp43 << "Calibrate_FixAspectRatio" << aspectRatio in write()
65 node["Calibrate_FixAspectRatio"] >> aspectRatio; in read()
132 if(aspectRatio) flag |= CALIB_FIX_ASPECT_RATIO; in validate()
181 float aspectRatio; // The aspect ratio member in Settings
463 cameraMatrix.at<double>(0,0) = s.aspectRatio; in runCalibration()
511 fs << "fix_aspect_ratio" << s.aspectRatio; in saveCameraParams()
/external/opencv3/modules/calib3d/test/
Dtest_cameracalibration.cpp830 Point2d& principalPoint, double& aspectRatio ) = 0;
856 double fovx, fovy, focalLength, aspectRatio, in run() local
862 fovx, fovy, focalLength, principalPoint, aspectRatio ); in run()
905 if( fabs(aspectRatio - goodAspectRatio) > FLT_EPSILON ) in run()
907 …ts->printf( cvtest::TS::LOG, "bad aspectRatio (real=%f, good = %f\n", aspectRatio, goodAspectRatio… in run()
933 Point2d& principalPoint, double& aspectRatio );
939 Point2d& principalPoint, double& aspectRatio ) in calibMatrixValues() argument
944 &fovx, &fovy, &focalLength, &pp, &aspectRatio ); in calibMatrixValues()
959 Point2d& principalPoint, double& aspectRatio );
965 … Point2d& principalPoint, double& aspectRatio ) in calibMatrixValues() argument
[all …]
Dtest_cameracalibration_badarg.cpp483 double aspectRatio; member
488 dpdr, dpdt, dpdf, dpdc, dpdk, aspectRatio ); in operator ()()
522 caller.aspectRatio = 1.0; in run()
/external/opencv/cv/src/
Dcvcalibration.cpp775 double aspectRatio ) in cvProjectPoints2() argument
793 bool fixedAspectRatio = aspectRatio > FLT_EPSILON; in cvProjectPoints2()
861 fx = fy*aspectRatio; in cvProjectPoints2()
1000 dpdf_p[0] = 0; dpdf_p[1] = xd*aspectRatio; in cvProjectPoints2()
1341 double aspectRatio ) in cvInitIntrinsicParams2D() argument
1422 if( aspectRatio != 0 ) in cvInitIntrinsicParams2D()
1424 double tf = (a[0] + a[4])/(aspectRatio + 1.); in cvInitIntrinsicParams2D()
1425 a[0] = aspectRatio*tf; in cvInitIntrinsicParams2D()
1462 double aspectRatio = 0.; in cvCalibrateCamera2() local
1564 aspectRatio = A[0]/A[4]; in cvCalibrateCamera2()
[all …]
/external/opencv3/modules/calib3d/src/
Dcalibration.cpp536 double aspectRatio ) in cvProjectPoints2() argument
550 bool fixedAspectRatio = aspectRatio > FLT_EPSILON; in cvProjectPoints2()
638 fx = fy*aspectRatio; in cvProjectPoints2()
789 dpdf_p[0] = 0; dpdf_p[1] = xd*aspectRatio; in cvProjectPoints2()
1141 double aspectRatio ) in cvInitIntrinsicParams2D() argument
1216 if( aspectRatio != 0 ) in cvInitIntrinsicParams2D()
1218 double tf = (a[0] + a[4])/(aspectRatio + 1.); in cvInitIntrinsicParams2D()
1219 a[0] = aspectRatio*tf; in cvInitIntrinsicParams2D()
1242 double aspectRatio = 0.; in cvCalibrateCamera2() local
1355 aspectRatio = A[0]/A[4]; in cvCalibrateCamera2()
[all …]
/external/opencv3/modules/calib3d/include/opencv2/
Dcalib3d.hpp475 double aspectRatio = 0 );
591 Size imageSize, double aspectRatio = 1.0 );
826 CV_OUT double& aspectRatio );
/external/opencv3/modules/java/src/
Dcalib3d+Calib3d.java374 …t cameraMatrix, MatOfDouble distCoeffs, MatOfPoint2f imagePoints, Mat jacobian, double aspectRatio) in projectPoints() argument
379 …x.nativeObj, distCoeffs_mat.nativeObj, imagePoints_mat.nativeObj, jacobian.nativeObj, aspectRatio); in projectPoints()
455 …ist<MatOfPoint3f> objectPoints, List<MatOfPoint2f> imagePoints, Size imageSize, double aspectRatio) in initCameraMatrix2D() argument
461 …tPoints_mat.nativeObj, imagePoints_mat.nativeObj, imageSize.width, imageSize.height, aspectRatio)); in initCameraMatrix2D()
594 …ht, double[] fovx, double[] fovy, double[] focalLength, Point principalPoint, double[] aspectRatio) in calibrationMatrixValues() argument
606 if(aspectRatio!=null) aspectRatio[0] = (double)aspectRatio_out[0]; in calibrationMatrixValues()
1189 …Coeffs_mat_nativeObj, long imagePoints_mat_nativeObj, long jacobian_nativeObj, double aspectRatio); in projectPoints_2() argument
1201 …ng imagePoints_mat_nativeObj, double imageSize_width, double imageSize_height, double aspectRatio); in initCameraMatrix2D_0() argument
Dcalib3d.cpp1917 …effs_mat_nativeObj, jlong imagePoints_mat_nativeObj, jlong jacobian_nativeObj, jdouble aspectRatio) in Java_org_opencv_calib3d_Calib3d_projectPoints_12() argument
1934 …( objectPoints, rvec, tvec, cameraMatrix, distCoeffs, imagePoints, jacobian, (double)aspectRatio ); in Java_org_opencv_calib3d_Calib3d_projectPoints_12()
2123 … imagePoints_mat_nativeObj, jdouble imageSize_width, jdouble imageSize_height, jdouble aspectRatio) in Java_org_opencv_calib3d_Calib3d_initCameraMatrix2D_10() argument
2135 …Mat _retval_ = cv::initCameraMatrix2D( objectPoints, imagePoints, imageSize, (double)aspectRatio ); in Java_org_opencv_calib3d_Calib3d_initCameraMatrix2D_10()
2432 double aspectRatio; in Java_org_opencv_calib3d_Calib3d_calibrationMatrixValues_10() local
2433 …uble)apertureWidth, (double)apertureHeight, fovx, fovy, focalLength, principalPoint, aspectRatio ); in Java_org_opencv_calib3d_Calib3d_calibrationMatrixValues_10()
2434 …alPoint_out, 0, 2, tmp_principalPoint); jdouble tmp_aspectRatio[1] = {aspectRatio}; env->SetDoubl… in Java_org_opencv_calib3d_Calib3d_calibrationMatrixValues_10()
/external/dng_sdk/source/
Ddng_negative.cpp4729 real64 aspectRatio = AspectRatio (); in ConvertToProxy() local
4733 if (aspectRatio >= 1.0) in ConvertToProxy()
4735 newSize.v = Max_int32 (1, Round_int32 (proxySize / aspectRatio)); in ConvertToProxy()
4739 newSize.h = Max_int32 (1, Round_int32 (proxySize * aspectRatio)); in ConvertToProxy()
4749 if (aspectRatio >= 1.0) in ConvertToProxy()
4752 newSize.h = (uint32) sqrt (proxyCount * aspectRatio); in ConvertToProxy()
4754 newSize.v = Max_int32 (1, Round_int32 (newSize.h / aspectRatio)); in ConvertToProxy()
4761 newSize.v = (uint32) sqrt (proxyCount / aspectRatio); in ConvertToProxy()
4763 newSize.h = Max_int32 (1, Round_int32 (newSize.v * aspectRatio)); in ConvertToProxy()
/external/doclava/res/assets/templates/assets/
Djquery-resizable.min.js40aspectRatio),aspectRatio:j.aspectRatio,originalElement:this.element,_proportionallyResizeElements:… property
/external/opencv3/modules/cudacodec/src/
Dvideo_writer.cpp213 int aspectRatio[] = { frameSize_.width, frameSize_.height, ASPECT_RATIO_DAR }; in initEncoder() local
214 err = NVSetParamValue(encoder_, NVVE_ASPECT_RATIO, &aspectRatio); in initEncoder()
/external/libgdx/gdx/src/com/badlogic/gdx/math/
DMatrix4.java478 public Matrix4 setToProjection (float near, float far, float fovy, float aspectRatio) { in setToProjection() argument
483 val[M00] = l_fd / aspectRatio; in setToProjection()
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/math/
DMatrix4.java556 public Matrix4 setToProjection (float near, float far, float fovy, float aspectRatio) { in setToProjection() argument
561 val[M00] = l_fd / aspectRatio; in setToProjection()