/external/opencv3/modules/features2d/src/kaze/ |
H A D | KAZEFeatures.cpp | 580 float xf = 0.0, yf = 0.0, gweight = 0.0; local 588 yf = kpt.pt.y; 596 iy = fRound(yf + j*s); 600 gweight = gaussian(iy - yf, ix - xf, 2.5f*s); 659 float rx = 0.0, ry = 0.0, len = 0.0, xf = 0.0, yf = 0.0, ys = 0.0, xs = 0.0; local 677 yf = kpt.pt.y; 702 ys = yf + (ky*scale); 708 sample_y = k*scale + yf; 787 float rx = 0.0, ry = 0.0, rrx = 0.0, rry = 0.0, len = 0.0, xf = 0.0, yf = 0.0, ys = 0.0, xs = 0.0; local 805 yf 916 float rx = 0.0, ry = 0.0, len = 0.0, xf = 0.0, yf = 0.0, ys = 0.0, xs = 0.0; local 1068 float rx = 0.0, ry = 0.0, rrx = 0.0, rry = 0.0, len = 0.0, xf = 0.0, yf = 0.0, ys = 0.0, xs = 0.0; local [all...] |
H A D | AKAZEFeatures.cpp | 653 float xf, float yf, float co, float si, float scale) const; 785 float xf = 0.0, yf = 0.0, gweight = 0.0, ratio = 0.0; local 798 yf = kpt.pt.y / ratio; 804 iy = fRound(yf + j*s); 860 float rx = 0.0, ry = 0.0, len = 0.0, xf = 0.0, yf = 0.0, ys = 0.0, xs = 0.0; local 881 yf = kpt.pt.y / ratio; 903 ys = yf + (ky*scale); 908 sample_y = k*scale + yf; 983 float rx = 0.0, ry = 0.0, rrx = 0.0, rry = 0.0, len = 0.0, xf = 0.0, yf = 0.0, ys = 0.0, xs = 0.0; local 1005 yf 1107 float ri = 0.0, rx = 0.0, ry = 0.0, xf = 0.0, yf = 0.0; local 1314 MLDB_Fill_Values(float* values, int sample_step, int level, float xf, float yf, float co, float si, float scale) const argument 1408 float yf = kpt.pt.y / ratio; local 1446 float yf = kpt.pt.y / ratio; local 1539 float yf = kpt.pt.y / ratio; local [all...] |
/external/deqp/modules/gles2/functional/ |
H A D | es2fDepthRangeTests.cpp | 231 float yf = ((float)y + 0.5f) / (float)referenceFrame.getHeight(); local 238 float d = depthRangeTransform(triQuadInterpolate(xf, yf, m_depthCoord), m_zNear, m_zFar); 249 float rd = 1.0f - (xh + yf) * 0.5f; 250 float d = depthRangeTransform(triQuadInterpolate(xf, yf, m_depthCoord), m_zNear, m_zFar); 381 float yf = ((float)y + 0.5f) / (float)referenceFrame.getHeight(); local 382 float d = depthRangeTransform(triQuadInterpolate(xf, yf, m_depthCoord), m_zNear, m_zFar);
|
H A D | es2fShaderBuiltinVarTests.cpp | 336 const float yf = (float(refImg.getHeight()-y-1)+.5f) / float(refImg.getHeight()); local 337 const float z = (xf + yf) / 2.0f; 428 const float yf = (float(refImg.getHeight()-y-1)+.5f) / float(refImg.getHeight()); local 429 const float oow = ((xf + yf) < 1.0f) 430 ? projectedTriInterpolate(tcu::Vec3(w[0], w[1], w[2]), tcu::Vec3(w[0], w[1], w[2]), xf, yf) 431 : projectedTriInterpolate(tcu::Vec3(w[3], w[2], w[1]), tcu::Vec3(w[3], w[2], w[1]), 1.0f-xf, 1.0f-yf); 544 const float yf = (float(h-yo-1)+0.5f) / float(h); local 545 const tcu::Vec4 color (xf, yf, 0.0f, 1.0f);
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fFragDepthTests.cpp | 238 float yf = ((float)y + 0.5f) / (float)referenceFrame.getHeight(); local 245 float d = m_evalFunc(Vec2(xf, yf)); 256 float rd = 1.0f - (xh + yf) * 0.5f; 257 float d = m_evalFunc(Vec2(xf, yf)); 407 float yf = ((float)y + 0.5f) / (float)referenceFrame.getHeight(); local 408 float d = m_evalFunc(Vec2(xf, yf));
|
H A D | es3fShaderBuiltinVarTests.cpp | 356 const float yf = (float(refImg.getHeight()-y-1)+.5f) / float(refImg.getHeight()); local 357 const float z = (xf + yf) / 2.0f; 451 const float yf = (float(refImg.getHeight()-y-1)+.5f) / float(refImg.getHeight()); local 452 const float oow = ((xf + yf) < 1.0f) 453 ? projectedTriInterpolate(tcu::Vec3(w[0], w[1], w[2]), tcu::Vec3(w[0], w[1], w[2]), xf, yf) 454 : projectedTriInterpolate(tcu::Vec3(w[3], w[2], w[1]), tcu::Vec3(w[3], w[2], w[1]), 1.0f-xf, 1.0f-yf); 570 const float yf = (float(h-yo-1)+0.5f) / float(h); local 571 const tcu::Vec4 color (xf, yf, 0.0f, 1.0f);
|
H A D | es3fFragmentOutputTests.cpp | 410 const float yf = ((float)y - (float)cellY*cellH + 0.5f) / cellH; local 415 const bool tri = xf + yf >= 1.0f; 420 const float t = tri ? 1.0f-yf : yf; 613 float yf = (float)y / (float)(gridHeight-1); local 616 positions[(y*gridWidth + x)*4 + 1] = 2.0f*yf - 1.0f; 666 float yf = (float)y / (float)(gridHeight-1); local 668 float f0 = (xf + yf) * 0.5f; 669 float f1 = 0.5f + (xf - yf) * 0.5f;
|
/external/opencv3/modules/features2d/src/ |
H A D | brisk.cpp | 170 getAgastScore(float xf, float yf, int threshold, float scale = 1.0f) const; 204 value(const cv::Mat& mat, float xf, float yf, float scale) const; 458 const float yf = briskPoint.y + key_y; 460 const int y = int(yf); 473 const int r_y = (int)((yf - y) * 1024); 496 const float y_1 = yf - sigma_half; 497 const float y1 = yf + sigma_half; 1038 float yf; 1051 yf = float(sixth_y) / 6.0f; 1064 yf 2149 getAgastScore(float xf, float yf, int threshold_in, float scale_in) const argument 2183 value(const cv::Mat& mat, float xf, float yf, float scale_in) const argument [all...] |
/external/chromium-trace/catapult/third_party/flot/ |
H A D | jquery.flot.navigate.js | 220 yf = c.top / h, 227 min: c.top - yf * h / amount, 228 max: c.top + (1 - yf) * h / amount
|
H A D | jquery.flot.navigate.min.js | 7 (function(a){function e(h){var k,j=this,l=h.data||{};if(l.elem)j=h.dragTarget=l.elem,h.dragProxy=d.proxy||j,h.cursorOffsetX=l.pageX-l.left,h.cursorOffsetY=l.pageY-l.top,h.offsetX=h.pageX-h.cursorOffsetX,h.offsetY=h.pageY-h.cursorOffsetY;else if(d.dragging||l.which>0&&h.which!=l.which||a(h.target).is(l.not))return;switch(h.type){case"mousedown":return a.extend(l,a(j).offset(),{elem:j,target:h.target,pageX:h.pageX,pageY:h.pageY}),b.add(document,"mousemove mouseup",e,l),i(j,!1),d.dragging=null,!1;case!d.dragging&&"mousemove":if(g(h.pageX-l.pageX)+g(h.pageY-l.pageY)<l.distance)break;h.target=l.target,k=f(h,"dragstart",j),k!==!1&&(d.dragging=j,d.proxy=h.dragProxy=a(k||j)[0]);case"mousemove":if(d.dragging){if(k=f(h,"drag",j),c.drop&&(c.drop.allowed=k!==!1,c.drop.handler(h)),k!==!1)break;h.type="mouseup"}case"mouseup":b.remove(document,"mousemove mouseup",e),d.dragging&&(c.drop&&c.drop.handler(h),f(h,"dragend",j)),i(j,!0),d.dragging=d.proxy=l.elem=!1}return!0}function f(b,c,d){b.type=c;var e=a.event.dispatch.call(d,b);return e===!1?!1:e||b.result}function g(a){return Math.pow(a,2)}function h(){return d.dragging===!1}function i(a,b){a&&(a.unselectable=b?"off":"on",a.onselectstart=function(){return b},a.style&&(a.style.MozUserSelect=b?"":"none"))}a.fn.drag=function(a,b,c){return b&&this.bind("dragstart",a),c&&this.bind("dragend",c),a?this.bind("drag",b?b:a):this.trigger("drag")};var b=a.event,c=b.special,d=c.drag={not:":input",distance:0,which:1,dragging:!1,setup:function(c){c=a.extend({distance:d.distance,which:d.which,not:d.not},c||{}),c.distance=g(c.distance),b.add(this,"mousedown",e,c),this.attachEvent&&this.attachEvent("ondragstart",h)},teardown:function(){b.remove(this,"mousedown",e),this===d.dragging&&(d.dragging=d.proxy=!1),i(this,!0),this.detachEvent&&this.detachEvent("ondragstart",h)}};c.dragstart=c.dragend={setup:function(){},teardown:function(){}}})(jQuery);(function(d){function e(a){var b=a||window.event,c=[].slice.call(arguments,1),f=0,e=0,g=0,a=d.event.fix(b);a.type="mousewheel";b.wheelDelta&&(f=b.wheelDelta/120);b.detail&&(f=-b.detail/3);g=f;void 0!==b.axis&&b.axis===b.HORIZONTAL_AXIS&&(g=0,e=-1*f);void 0!==b.wheelDeltaY&&(g=b.wheelDeltaY/120);void 0!==b.wheelDeltaX&&(e=-1*b.wheelDeltaX/120);c.unshift(a,f,e,g);return(d.event.dispatch||d.event.handle).apply(this,c)}var c=["DOMMouseScroll","mousewheel"];if(d.event.fixHooks)for(var h=c.length;h;)d.event.fixHooks[c[--h]]=d.event.mouseHooks;d.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var a=c.length;a;)this.addEventListener(c[--a],e,!1);else this.onmousewheel=e},teardown:function(){if(this.removeEventListener)for(var a=c.length;a;)this.removeEventListener(c[--a],e,!1);else this.onmousewheel=null}};d.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})})(jQuery);(function($){var options={xaxis:{zoomRange:null,panRange:null},zoom:{interactive:false,trigger:"dblclick",amount:1.5},pan:{interactive:false,cursor:"move",frameRate:20}};function init(plot){function onZoomClick(e,zoomOut){var c=plot.offset();c.left=e.pageX-c.left;c.top=e.pageY-c.top;if(zoomOut)plot.zoomOut({center:c});else plot.zoom({center:c})}function onMouseWheel(e,delta){e.preventDefault();onZoomClick(e,delta<0);return false}var prevCursor="default",prevPageX=0,prevPageY=0,panTimeout=null;function onDragStart(e){if(e.which!=1)return false;var c=plot.getPlaceholder().css("cursor");if(c)prevCursor=c;plot.getPlaceholder().css("cursor",plot.getOptions().pan.cursor);prevPageX=e.pageX;prevPageY=e.pageY}function onDrag(e){var frameRate=plot.getOptions().pan.frameRate;if(panTimeout||!frameRate)return;panTimeout=setTimeout(function(){plot.pan({left:prevPageX-e.pageX,top:prevPageY-e.pageY});prevPageX=e.pageX;prevPageY=e.pageY;panTimeout=null},1/frameRate*1e3)}function onDragEnd(e){if(panTimeout){clearTimeout(panTimeout);panTimeout=null}plot.getPlaceholder().css("cursor",prevCursor);plot.pan({left:prevPageX-e.pageX,top:prevPageY-e.pageY})}function bindEvents(plot,eventHolder){var o=plot.getOptions();if(o.zoom.interactive){eventHolder[o.zoom.trigger](onZoomClick);eventHolder.mousewheel(onMouseWheel)}if(o.pan.interactive){eventHolder.bind("dragstart",{distance:10},onDragStart);eventHolder.bind("drag",onDrag);eventHolder.bind("dragend",onDragEnd)}}plot.zoomOut=function(args){if(!args)args={};if(!args.amount)args.amount=plot.getOptions().zoom.amount;args.amount=1/args.amount;plot.zoom(args)};plot.zoom=function(args){if(!args)args={};var c=args.center,amount=args.amount||plot.getOptions().zoom.amount,w=plot.width(),h=plot.height();if(!c)c={left:w/2,top:h/2};var xf=c.left/w,yf=c.top/h,minmax={x:{min:c.left-xf*w/amount,max:c.left+(1-xf)*w/amount},y:{min:c.top-yf*h/amount,max:c.top+(1-yf)*h/amount}};$.each(plot.getAxes(),function(_,axis){var opts=axis.options,min=minmax[axis.direction (…)
|
/external/eigen/bench/ |
H A D | bench_norm.cpp | 237 double yf = basef * internal::abs(internal::random<double>()); local 239 VectorXf vf = VectorXf::Ones(s) * yf; 242 std::cout << "reference\t" << internal::sqrt(double(s))*yf << "\t" << internal::sqrt(double(s))*yd << "\n"; 262 //std::cout << "reference\t" << internal::sqrt(double(s))*yf << "\t" << internal::sqrt(double(s))*yd << "\n";
|
/external/deqp/framework/common/ |
H A D | tcuTestLog.cpp | 278 float yf = ((float)y + 0.5f) / (float)logImage.getHeight(); local 280 Vec4 s = access.sample2D(sampler, sampler.minFilter, xf, yf, 0)*pixelScale + pixelBias; 318 float yf = ((float)y + 0.5f) / (float)h; local 322 Vec4 s = access.sample3D(sampler, sampler.minFilter, xf, yf, zf);
|
/external/deqp/modules/gles3/stress/ |
H A D | es3sLongRunningShaderTests.cpp | 255 const float yf = 2.0f * ((float(yi) + 0.5f) / float(height)) - 1.0f; local 257 positions[pointNdx] = Vec2(xf, yf);
|
/external/libvpx/libvpx/third_party/libyuv/source/ |
H A D | scale_argb.cc | 282 int yf = (y >> 8) & 255; local 283 InterpolateRow(row, src, src_stride, clip_src_width, yf); 430 int yf = (y >> 8) & 255; local 431 InterpolateRow(dst_argb, rowptr, rowstride, dst_width * 4, yf); 646 int yf = (y >> 8) & 255; local 647 InterpolateRow(dst_argb, rowptr, rowstride, dst_width * 4, yf);
|
H A D | scale_common.cc | 923 int yf; local 928 yf = filtering ? ((y >> 8) & 255) : 0; 930 src_stride, dst_width_bytes, yf); 997 int yf; local 1002 yf = filtering ? ((y >> 8) & 255) : 0; 1004 src_stride, dst_width_words, yf);
|
H A D | scale.cc | 943 int yf = (y >> 8) & 255; local 944 InterpolateRow(row, src, src_stride, src_width, yf); 1039 int yf = (y >> 8) & 255; local 1040 InterpolateRow((uint16*)row, src, src_stride, src_width, yf); 1182 int yf = (y >> 8) & 255; local 1183 InterpolateRow(dst_ptr, rowptr, rowstride, dst_width, yf); 1313 int yf = (y >> 8) & 255; local 1314 InterpolateRow(dst_ptr, rowptr, rowstride, dst_width, yf);
|
/external/libyuv/files/source/ |
H A D | scale_argb.cc | 274 int yf = (y >> 8) & 255; local 275 InterpolateRow(row, src, src_stride, clip_src_width, yf); 414 int yf = (y >> 8) & 255; local 415 InterpolateRow(dst_argb, rowptr, rowstride, dst_width * 4, yf); 622 int yf = (y >> 8) & 255; local 623 InterpolateRow(dst_argb, rowptr, rowstride, dst_width * 4, yf);
|
H A D | scale_common.cc | 945 int yf; local 950 yf = filtering ? ((y >> 8) & 255) : 0; 952 src_stride, dst_width_bytes, yf); 1019 int yf; local 1024 yf = filtering ? ((y >> 8) & 255) : 0; 1026 src_stride, dst_width_words, yf);
|
H A D | scale.cc | 934 int yf = (y >> 8) & 255; local 935 InterpolateRow(row, src, src_stride, src_width, yf); 1030 int yf = (y >> 8) & 255; local 1031 InterpolateRow((uint16*)row, src, src_stride, src_width, yf); 1165 int yf = (y >> 8) & 255; local 1166 InterpolateRow(dst_ptr, rowptr, rowstride, dst_width, yf); 1296 int yf = (y >> 8) & 255; local 1297 InterpolateRow(dst_ptr, rowptr, rowstride, dst_width, yf);
|
/external/deqp/modules/glshared/ |
H A D | glsRandomShaderCase.cpp | 172 float yf = (float)y / (float)m_gridHeight; local 180 dst[1] = 1.0f + yf * -2.0f; 192 rsg::getVertexInterpolationCoords(xd, yd, xf, yf, compNdx);
|
H A D | glsShaderPerformanceMeasurer.cpp | 90 float yf = (float)y / (float)gridSizeY; local 93 dst[getVtxIndex(x, y, gridSizeX)*numComponents + compNdx] = triQuadInterpolate(xf, yf, tcu::Vec4(spec.p00[compNdx], spec.p01[compNdx], spec.p10[compNdx], spec.p11[compNdx]));
|
H A D | glsTextureTestUtil.cpp | 449 float yf = ((float)y + 0.5f) / (float)dst.getHeight(); local 452 int triNdx = xf + yf >= 1.0f ? 1 : 0; // Top left fill rule. 454 float triY = triNdx ? 1.0f-yf : yf; 485 float yf = ((float)y + 0.5f) / (float)dst.getHeight(); local 488 int triNdx = xf + yf >= 1.0f ? 1 : 0; // Top left fill rule. 490 float triY = triNdx ? 1.0f-yf : yf; 728 float yf = ((float)y + 0.5f) / (float)dst.getHeight(); local 731 int triNdx = xf + yf > 776 float yf = ((float)y + 0.5f) / (float)dst.getHeight(); local 823 float yf = ((float)y + 0.5f) / (float)dst.getHeight(); local 971 const float yf = ((float)y + 0.5f) / (float)dst.getHeight(); local [all...] |
/external/deqp/framework/randomshaders/ |
H A D | rsgProgramExecutor.cpp | 248 float yf = (float)y / (float)(gridVtxHeight-1); local 250 interpolateVertexInput(access, vtxNdx-packetStart, input->getValueRange(), xf, yf);
|
/external/opencv/cxcore/src/ |
H A D | cxmathfuncs.cpp | 114 float xf[4], yf[4]; local 142 yf[j] = _y.f; 151 float z0 = (float) (yf[0] * xf[1] * b * d); 152 float z1 = (float) (yf[1] * xf[0] * b * d); 153 float z2 = (float) (yf[2] * xf[3] * a * d); 154 float z3 = (float) (yf[3] * xf[2] * a * d);
|
/external/opencv3/modules/imgproc/src/opencl/ |
H A D | remap.cl | 416 float xf = map1[0], yf = map2[0]; 418 int sy = convert_int_sat_rtz(mad(yf, INTER_TAB_SIZE, 0.5f)) >> INTER_BITS; 421 __constant float * coeffs_y = coeffs + ((convert_int_rte(yf * INTER_TAB_SIZE) & (INTER_TAB_SIZE - 1)) << 1);
|