Searched refs:center_x (Results 1 - 16 of 16) sorted by relevance

/external/libxcam/cl_kernel/
H A Dkernel_fisheye.cl15 float center_x;
39 return ret + (float2)(info->center_x, info->center_y);
50 float2 min_pos = (float2)(info.center_x - info.radius, info.center_y - info.radius);
51 float2 max_pos = (float2)(info.center_x + info.radius, info.center_y + info.radius);
66 float2 dist = geo_data - (float2)(info.center_x, info.center_y);
H A Dkernel_newtonemapping.cl61 int center_x = mad24(col_per_block, j, col_per_block / 2);
66 float4 dx = corrd_x - (float4)center_x;
/external/mesa3d/src/gallium/drivers/ilo/core/
H A Dilo_state_viewport.c72 int center_x = (int) mat->translate[0]; local
79 if (center_x - half_len < -max_extent)
80 center_x = -max_extent + half_len;
81 else if (center_x + half_len > max_extent - 1)
82 center_x = max_extent - half_len;
108 *min_gbx = ((float) (center_x - half_len) - mat->translate[0]) / scale_x;
109 *max_gbx = ((float) (center_x + half_len) - mat->translate[0]) / scale_x;
/external/tensorflow/tensorflow/examples/android/jni/object_tracking/
H A Dimage-inl.h486 const int center_x, const int center_y) const {
487 const int min_x = Clip(center_x - 1, ZERO, original.width_less_one_);
488 const int max_x = Clip(center_x + 1, ZERO, original.width_less_one_);
504 const int center_x, const int center_y) const {
505 const int min_x = Clip(center_x - 1, 0, original.width_less_one_);
506 const int max_x = Clip(center_x + 1, 0, original.width_less_one_);
515 + 10 * (original[max_y][center_x]
516 - original[min_y][center_x])) / 32;
602 const int center_x, const int center_y,
608 const int x = Clip(center_x
485 ScharrPixelX(const Image<U>& original, const int center_x, const int center_y) const argument
503 ScharrPixelY(const Image<U>& original, const int center_x, const int center_y) const argument
600 ConvolvePixel3x3(const Image<U>& original, const int* const filter, const int center_x, const int center_y, const int total) const argument
[all...]
H A Dimage.h242 const int center_x, const int center_y) const;
250 const int center_x, const int center_y) const;
277 const int center_x, const int center_y,
H A Dimage_utils.h136 inline void CalculateG(const int window_radius, const float center_x, argument
139 SCHECK(I_x.ValidPixel(center_x, center_y), "Problem in calculateG!");
154 const int src_left_fixed = RealToFixed1616(center_x - window_radius);
H A Dflow_cache.h221 const float center_x = (index_x + 0.5f) * pixels_per_cache_block_x; local
229 // center_x, center_y, pyramid_level);
233 pyramid_level, center_x, center_y, false,
/external/libxcam/xcore/interface/
H A Ddata_types.h52 float center_x; member in struct:XCam::FisheyeInfo
59 : center_x (0.0f), center_y (0.0f), wide_angle (0.0f)
/external/libxcam/modules/ocl/
H A Dcl_utils.cpp260 int center_x = width / 2;
271 world.x = (col - center_x) * length_per_pixel;
293 float center_x = width / 2;
320 plane_point_coords[0] = (center_x - col) * length_per_pixel_x * cos (PI / 2 - degree2radian (angle_center)) + plane_center_coords[0];
321 plane_point_coords[1] = (center_x - col) * length_per_pixel_x * sin (PI / 2 - degree2radian (angle_center)) + plane_center_coords[1];
H A Dcl_image_360_stitch.cpp182 stitch_info.fisheye_info[0].center_x = 480.0f;
187 stitch_info.fisheye_info[1].center_x = 1440.0f;
217 stitch_info.fisheye_info[0].center_x = 640.0f;
222 stitch_info.fisheye_info[1].center_x = 640.0f;
227 stitch_info.fisheye_info[2].center_x = 640.0f;
232 stitch_info.fisheye_info[3].center_x = 640.0f;
252 stitch_info.fisheye_info[0].center_x = 1024.0f;
258 stitch_info.fisheye_info[1].center_x = 3072.0f;
/external/deqp/external/openglcts/modules/glesext/geometry_shader/
H A DesextcGeometryShaderLimits.cpp2861 const unsigned int center_x = (x1 + x2 + x3) / 3; local
2864 bool is_pixel_valid = comparePixel(result_image, center_x, center_y, m_texture_width, m_texture_height,
2871 << center_x << ";" << center_y << "]! "
2920 const unsigned int center_x = (x1 + x2 + x3) / 3; local
2923 bool is_pixel_valid = comparePixel(result_image, center_x, center_y, m_texture_width, m_texture_height,
2928 m_testCtx.getLog() << tcu::TestLog::Message << "Invalid pixel at [" << center_x << ";" << center_y
2967 const unsigned int center_x = (x1 + x2 + x3) / 3; local
2970 bool is_pixel_valid = comparePixel(result_image, center_x, center_y, m_texture_width, m_texture_height,
2975 m_testCtx.getLog() << tcu::TestLog::Message << "Invalid pixel at [" << center_x << ";" << center_y
/external/pdfium/core/fxcrt/
H A Dfx_coordinates.cpp183 float center_x = (left + right) / 2; local
186 left = center_x - fHalfWidth * fScale;
188 right = center_x + fHalfWidth * fScale;
/external/libxcam/modules/soft/
H A Dsoft_stitcher.cpp518 float center_x = (float) _stitcher->get_center (left_idx).slice_center_x; local
520 float range = feature_center_x - center_x;
527 center_x = (float) _stitcher->get_center (right_idx).slice_center_x;
529 range = center_x - feature_center_x;
/external/libxcam/tests/
H A Dtest-cl-image.cpp479 fisheye_info.center_x = 480.0f;
H A Dtest-image-stitching.cpp584 cv::circle (mat, cv::Point(stitch_info.fisheye_info[i].center_x, stitch_info.fisheye_info[i].center_y),
/external/ImageMagick/MagickCore/
H A Daccelerate-kernels-private.h2795 float center_x = (float) x - blurCenter.x;
2797 float radius = hypot(center_x, center_y);
2816 int cx = ClampToCanvas(blurCenter.x+center_x*cos_theta[i]-center_y*sin_theta[i]+0.5f,columns);
2817 int cy = ClampToCanvas(blurCenter.y+center_x*sin_theta[i]+center_y*cos_theta[i]+0.5f,rows);

Completed in 392 milliseconds