Home
last modified time | relevance | path

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

/external/opencv3/modules/calib3d/test/
Dtest_chessboardgenerator.cpp182 double fovx, fovy, focalLen; in operator ()() local
186 fovx, fovy, focalLen, principalPoint, aspect); in operator ()()
192 float av = static_cast<float>(rng.uniform(-fovy/2 * cov, fovy/2 * cov) * CV_PI / 180); in operator ()()
202 … float cbHalfWidth = static_cast<float>(norm(p) * sin( std::min(fovx, fovy) * 0.5 * CV_PI / 180)); in operator ()()
247 double fovx, fovy, focalLen; in operator ()() local
251 fovx, fovy, focalLen, principalPoint, aspect); in operator ()()
257 float av = static_cast<float>(rng.uniform(-fovy/2 * cov, fovy/2 * cov) * CV_PI / 180); in operator ()()
Dtest_cameracalibration.cpp829 … double apertureWidth, double apertureHeight, double& fovx, double& fovy, double& focalLength,
856 double fovx, fovy, focalLength, aspectRatio, in run() local
862 fovx, fovy, focalLength, principalPoint, aspectRatio ); in run()
893 if( fabs(fovy - goodFovy) > FLT_EPSILON ) in run()
895 ts->printf( cvtest::TS::LOG, "bad fovy (real=%f, good = %f\n", fovy, goodFovy ); in run()
932 … double apertureWidth, double apertureHeight, double& fovx, double& fovy, double& focalLength,
938 double& fovx, double& fovy, double& focalLength, in calibMatrixValues() argument
944 &fovx, &fovy, &focalLength, &pp, &aspectRatio ); in calibMatrixValues()
958 … double apertureWidth, double apertureHeight, double& fovx, double& fovy, double& focalLength,
964 … double& fovx, double& fovy, double& focalLength, in calibMatrixValues() argument
[all …]
/external/vulkan-validation-layers/libs/glm/gtc/
Dmatrix_transform.hpp186 T const & fovy,
217 T fovy, T aspect, T near);
228 T fovy, T aspect, T near);
Dmatrix_transform.inl220 valType const & fovy, argument
230 valType const rad = fovy;
233 valType const rad = glm::radians(fovy);
282 T fovy, argument
288 T const range = tan(fovy / T(2)) * zNear;
291 T const range = tan(radians(fovy / T(2))) * zNear;
310 T fovy, argument
316 T range = tan(fovy / T(2)) * zNear;
319 T range = tan(radians(fovy / T(2))) * zNear;
/external/opencv3/3rdparty/openexr/Imath/
DImathFrustum.h74 Frustum(T nearPlane, T farPlane, T fovx, T fovy, T aspect);
99 void set(T nearPlane, T farPlane, T fovx, T fovy, T aspect);
138 T fovy() const;
208 inline Frustum<T>::Frustum(T nearPlane, T farPlane, T fovx, T fovy, T aspect) in Frustum() argument
210 set(nearPlane,farPlane,fovx,fovy,aspect); in Frustum()
301 void Frustum<T>::set(T nearPlane, T farPlane, T fovx, T fovy, T aspect) in set() argument
303 if (fovx != 0 && fovy != 0) in set()
317 _top = nearPlane * Math<T>::tan(fovy / two); in set()
334 T Frustum<T>::fovy() const in fovy() function
/external/autotest/client/site_tests/graphics_SanAngeles/src/
Dmatrixop.c167 float fovy, float aspect, in Matrix4x4_Perspective() argument
171 frustumH = tanf(fovy / 360.f * PI) * nearZ; in Matrix4x4_Perspective()
Dmatrixop.h41 extern void Matrix4x4_Perspective(Matrix4x4 mat, float fovy, float aspect,
Ddemo.c716 static void gluPerspective(GLfloat fovy, GLfloat aspect, in gluPerspective() argument
721 ymax = zNear * (GLfloat)tan(fovy * PI / 360); in gluPerspective()
/external/opencv3/modules/viz/src/
Dshapes.cpp744 … static vtkSmartPointer<vtkPolyData> createFrustum(double aspect_ratio, double fovy, double scale) in createFrustum()
747 camera->SetViewAngle(fovy); in createFrustum()
807 double fovy = 2.0 * atan2(c_y, f_y) * 180 / CV_PI; in WCameraPosition() local
810 …vtkSmartPointer<vtkPolyData> polydata = CameraPositionUtils::createFrustum(aspect_ratio, fovy, sca… in WCameraPosition()
825 double fovy = fov[1] * 180 / CV_PI; in WCameraPosition() local
827 …vtkSmartPointer<vtkPolyData> polydata = CameraPositionUtils::createFrustum(aspect_ratio, fovy, sca… in WCameraPosition()
847 double fovy = 2.0 * atan2(c_y, f_y) * 180.0 / CV_PI; in WCameraPosition() local
856 …vtkSmartPointer<vtkPolyData> frustum = CameraPositionUtils::createFrustum(aspect_ratio, fovy, scal… in WCameraPosition()
879 double fovy = fov[1] * 180.0 / CV_PI; in WCameraPosition() local
888 …vtkSmartPointer<vtkPolyData> frustum = CameraPositionUtils::createFrustum(aspect_ratio, fovy, scal… in WCameraPosition()
/external/chromium-trace/catapult/tracing/third_party/gl-matrix/spec/gl-matrix/
Dmat4-spec.js522 var fovy = Math.PI * 0.5;
523 beforeEach(function() { result = mat4.perspective(out, fovy, 1, 0, 1); });
/external/opencv3/modules/calib3d/include/opencv2/calib3d/
Dcalib3d_c.h269 double *fovy CV_DEFAULT(NULL),
/external/opencv3/modules/calib3d/include/opencv2/
Dcalib3d.hpp824 CV_OUT double& fovx, CV_OUT double& fovy,
/external/autotest/client/deps/webgl_mpd/src/resources/
DJ3DIMath.js669 J3DIMatrix4.prototype.perspective = function(fovy, aspect, zNear, zFar) argument
671 var top = Math.tan(fovy * Math.PI / 360) * zNear;
/external/opencv3/modules/java/src/
Dcalib3d+Calib3d.java594 …ize, double apertureWidth, double apertureHeight, double[] fovx, double[] fovy, double[] focalLeng… in calibrationMatrixValues() argument
603 if(fovy!=null) fovy[0] = (double)fovy_out[0]; in calibrationMatrixValues()
Dcalib3d.cpp2429 double fovy; in Java_org_opencv_calib3d_Calib3d_calibrationMatrixValues_10() local
2433 …raMatrix, imageSize, (double)apertureWidth, (double)apertureHeight, fovx, fovy, focalLength, princ… in Java_org_opencv_calib3d_Calib3d_calibrationMatrixValues_10()
2434 …->SetDoubleArrayRegion(fovx_out, 0, 1, tmp_fovx); jdouble tmp_fovy[1] = {fovy}; env->SetDoubleArr… in Java_org_opencv_calib3d_Calib3d_calibrationMatrixValues_10()
/external/chromium-trace/catapult/tracing/third_party/gl-matrix/src/gl-matrix/
Dmat4.js1077 mat4.perspective = function (out, fovy, aspect, near, far) { argument
1078 var f = 1.0 / Math.tan(fovy / 2),
/external/libgdx/gdx/src/com/badlogic/gdx/math/
DMatrix4.java478 public Matrix4 setToProjection (float near, float far, float fovy, float aspectRatio) { in setToProjection() argument
480 float l_fd = (float)(1.0 / Math.tan((fovy * (Math.PI / 180)) / 2.0)); in setToProjection()
/external/opencv3/modules/calib3d/src/
Dcalibration.cpp1566 double apertureWidth, double apertureHeight, double *fovx, double *fovy, in cvCalibrationMatrixValues() argument
1609 if(fovy) in cvCalibrationMatrixValues()
1610 *fovy = 2 * atan(imgHeight / (2 * alphay)) * 180.0 / CV_PI; in cvCalibrationMatrixValues()
3273 double& fovx, double& fovy, double& focalLength, in calibrationMatrixValues() argument
3279 &fovx, &fovy, &focalLength, (CvPoint2D64f*)&principalPoint, &aspectRatio ); in calibrationMatrixValues()
/external/opencv/cv/src/
Dcvcalibration.cpp1757 double apertureWidth, double apertureHeight, double *fovx, double *fovy, in cvCalibrationMatrixValues() argument
1800 if(fovy) in cvCalibrationMatrixValues()
1801 *fovy = 2 * atan(imgHeight / (2 * alphay)) * 180.0 / CV_PI; in cvCalibrationMatrixValues()
/external/opencv/cv/include/
Dcv.h1304 double *fovy CV_DEFAULT(NULL), in LOAD_CHDL()
/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
558 float l_fd = (float)(1.0 / Math.tan((fovy * (Math.PI / 180)) / 2.0)); in setToProjection()
/external/chromium-trace/catapult/tracing/third_party/gl-matrix/dist/
Dgl-matrix.js2462 mat4.perspective = function (out, fovy, aspect, near, far) {
2463 var f = 1.0 / Math.tan(fovy / 2),