Searched defs:focal (Results 1 - 5 of 5) sorted by relevance

/external/ceres-solver/examples/
H A Dsnavely_reprojection_error.h51 // focal length and 2 for radial distortion. The principal point is not modeled
73 const T& focal = camera[6]; local
84 T predicted_x = focal * distortion * xp;
85 T predicted_y = focal * distortion * yp;
108 // translation, 1 for focal length and 2 for radial distortion. The
122 const T& focal = camera_translation_and_intrinsics[3]; local
147 T predicted_x = focal * distortion * xp;
148 T predicted_y = focal * distortion * yp;
H A Dsimple_bundle_adjuster.cc120 // focal length and 2 for radial distortion. The principal point is not modeled
152 const T& focal = camera[6]; local
153 T predicted_x = focal * distortion * xp;
154 T predicted_y = focal * distortion * yp;
/external/ceres-solver/internal/ceres/
H A Dsystem_test.cc429 // focal length and 2 for radial distortion. The principal point is
448 const T& focal = camera[6]; local
455 T xp = - focal * p[0] / p[2];
456 T yp = - focal * p[1] / p[2];
/external/mesa3d/src/gallium/state_trackers/vega/
H A Dpaint.c305 const VGfloat *focal = &paint->gradient.radial.vals[2]; local
312 map[0] = center[0] - focal[0];
313 map[1] = center[1] - focal[1];
316 /* focal point must lie inside the circle */
327 focal = new_focal;
341 matrix_translate(&mat, -focal[0], -focal[1]);
/external/skia/src/effects/gradients/
H A DSkTwoPointConicalGradient_gpu.cpp324 // and focal point is at the origin.
326 const SkPoint& focal = shader.getStartCenter(); local
337 matrix.mapPoints(&focalTrans, &focal, 1);
350 // If the focal point is touching the edge of the circle it will
400 SkScalar focal() const { return fFocalX; } function in class:FocalOutside2PtConicalEffect
486 // Need to make sure the centers are not the same or else focal point will be inside
490 // Below makes sure that the focal point is not contained within circle two
543 // t = p.x * focal.x +/- sqrt(p.x^2 + (1 - focal.x^2) * p.y^2)
574 SkScalar focal local
621 SkScalar focal() const { return fFocalX; } function in class:FocalInside2PtConicalEffect
752 GrGLShaderVar focal = builder->getUniformVariable(fFocalUni); local
770 SkScalar focal = data.focal(); local
[all...]

Completed in 221 milliseconds