Searched defs:yd (Results 1 - 11 of 11) sorted by relevance

/external/deqp/framework/randomshaders/
H A DrsgProgramExecutor.hpp62 inline void getVertexInterpolationCoords (float& xd, float& yd, float x, float y, int inputElementNdx) argument
70 yd = y;
72 yd = 1.0f - y;
H A DrsgProgramExecutor.cpp144 float xd, yd; local
145 getVertexInterpolationCoords(xd, yd, x, y, elementNdx);
146 dst.component(elementNdx).asFloat(dstComp) = interpolateVertex(valueRange.getMin().component(elementNdx).asFloat(), valueRange.getMax().component(elementNdx).asFloat(), xd, yd);
/external/eigen/bench/
H A Dbench_norm.cpp238 double yd = based * internal::abs(internal::random<double>()); local
240 VectorXd vd = VectorXd::Ones(s) * yd;
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/chromium_org/third_party/libvpx/source/libvpx/vp8/common/
H A Dmfqe.c129 unsigned char *yd,
153 actd = (vp8_variance16x16(yd, yd_stride, VP8_ZEROS, 0, &sse)+128)>>8;
156 sad = (vp8_variance16x16(y, y_stride, yd, yd_stride, &sse));
163 sad = (vp8_sad16x16(y, y_stride, yd, yd_stride, UINT_MAX) + 128) >> 8;
170 actd = (vp8_variance8x8(yd, yd_stride, VP8_ZEROS, 0, &sse)+32)>>6;
173 sad = (vp8_variance8x8(y, y_stride, yd, yd_stride, &sse));
180 sad = (vp8_sad8x8(y, y_stride, yd, yd_stride, UINT_MAX) + 32) >> 6;
216 apply_ifactor(y, y_stride, yd, yd_stride,
226 vp8_copy_mem16x16(y, y_stride, yd, yd_stride);
232 vp8_copy_mem8x8(y, y_stride, yd, yd_strid
119 multiframe_quality_enhance_block( int blksize, int qcurr, int qprev, unsigned char *y, unsigned char *u, unsigned char *v, int y_stride, int uv_stride, unsigned char *yd, unsigned char *ud, unsigned char *vd, int yd_stride, int uvd_stride ) argument
[all...]
/external/libvpx/libvpx/vp8/common/
H A Dmfqe.c129 unsigned char *yd,
153 actd = (vp8_variance16x16(yd, yd_stride, VP8_ZEROS, 0, &sse)+128)>>8;
156 sad = (vp8_variance16x16(y, y_stride, yd, yd_stride, &sse));
163 sad = (vp8_sad16x16(y, y_stride, yd, yd_stride, UINT_MAX) + 128) >> 8;
170 actd = (vp8_variance8x8(yd, yd_stride, VP8_ZEROS, 0, &sse)+32)>>6;
173 sad = (vp8_variance8x8(y, y_stride, yd, yd_stride, &sse));
180 sad = (vp8_sad8x8(y, y_stride, yd, yd_stride, UINT_MAX) + 32) >> 6;
216 apply_ifactor(y, y_stride, yd, yd_stride,
226 vp8_copy_mem16x16(y, y_stride, yd, yd_stride);
232 vp8_copy_mem8x8(y, y_stride, yd, yd_strid
119 multiframe_quality_enhance_block( int blksize, int qcurr, int qprev, unsigned char *y, unsigned char *u, unsigned char *v, int y_stride, int uv_stride, unsigned char *yd, unsigned char *ud, unsigned char *vd, int yd_stride, int uvd_stride ) argument
[all...]
/external/deqp/modules/glshared/
H A DglsRandomShaderCase.cpp182 float xd, yd; local
184 rsg::getVertexInterpolationCoords(xd, yd, xf, yf, compNdx);
186 float f = (xd+yd) / 2.0f;
/external/ceres-solver/examples/
H A Dlibmv_bundle_adjuster.cc469 // Apply distortion to the normalized points to get (xd, yd).
475 T yd = y * r_coeff + T(2)*p2*x*y + p1*(r2 + T(2)*y*y); local
479 *image_y = focal_length_y * yd + principal_point_y;
521 // Apply distortion to the normalized points to get (xd, yd).
/external/deqp/framework/referencerenderer/
H A DrrRasterizer.cpp62 const deInt64 yd = y1-y0; local
65 if (yd == 0)
68 inclusive = horizontalFill == FILL_LEFT ? yd <= 0 : yd >= 0;
/external/opencv/cv/src/
H A Dcvfundam.cpp1348 float* yd = xd + d_plane_stride; local
1354 zd = yd + d_plane_stride;
1371 *xd = x; *yd = y; *zd = z;
1372 xd += d_stride; yd += d_stride; zd += d_stride;
1380 *xd = x; *yd = y;
1381 xd += d_stride; yd += d_stride;
1394 double* yd = xd + d_plane_stride; local
1400 zd = yd + d_plane_stride;
1417 *xd = x; *yd = y; *zd = z;
1418 xd += d_stride; yd
[all...]
/external/qemu/ui/
H A Dconsole.c307 /* copy from (xs, ys) to (xd, yd) a rectangle of size (w, h) */
308 static void vga_bitblt(DisplayState *ds, int xs, int ys, int xd, int yd, int w, int h) argument
316 if (yd <= ys) {
320 ds_get_linesize(ds) * yd + bpp * xd;
330 ds_get_linesize(ds) * (yd + h - 1) + bpp * xd;
/external/chromium_org/third_party/dom_distiller_js/package/js/
H A Ddomdistiller.js513 function yd(){var a,b,c,d,e,f;c=$wnd.location.pathname;f=(Xe(),Lp(c,Vv,0));Ps(new Is(f));a=new qs;for(b=0;b<f.length;++b){e=f[b];if(e.indexOf(jv)!=-1){d=Lp(e,Wv,0)[1];af(d,'[^a-zA-Z]')||(e=Lp(e,Wv,0)[0])}e=Ye(e,',00',$u);b<2&&(e=Ye(e,'((_|-)?p[a-z]*|(_|-))[0-9]{1,2}$',$u));if(!e.length)continue;if(b<2&&af(e,'^\\d{1,2}$'))continue;if(b==0&&Dp(e,'index'))continue;if(b<2&&e.length<3&&!af(f[0],'[a-z]')){continue}li(a.b,a.c++,e)}return $wnd.location.protocol+'//'+$wnd.location.host+Vv+Bd(a)}
532 function zd(b){var c,d,e,f,g,h,i,j,k,l,m,n,o,q,r,s,t,u,v,w,x,y,z,A,B;Ub();Tb>=3&&ao(vd);d=yd();A=Ye($wnd.location.href,Xv,$u);c=b.getElementsByTagName(av);w=new yo;for(f=0;f<c.length;++f){h=c[f];z=h.offsetWidth||0;e=h.offsetHeight||0;if(z==0||e==0){xd(h,'ignored: sz='+z+Yv+e);continue}if(!jb(h)){xd(h,'ignored: invisible');continue}j=Ye(Ye(h.href,'#.*$',$u),Xv,$u);if(!j.length||!af(j,'^https?://')||Dp(j,A)||Dp(j,d)){xd(h,'ignored: empty or same as current or base url'+d);continue}y=(Xe(),Lp(j,'\\/+',0));if(y.length<3||!Dp($wnd.location.host,y[1])){xd(h,'ignored: different domain');continue}m=hb(h);if(af(m,Zv)||m.length>25){xd(h,'ignored: one of extra');continue}k=Ye(j,d,$u);if(!af(k,'\\d')){xd(h,'ignored: no number beyond base url '+d);continue}l=null;if(j==null?w.d:j!=null?Gv+j in w.f:jo(w,null,~~_p(null))){l=ti(j==null?w.c:j!=null?w.f[Gv+j]:ho(w,null,~~_p(null)),9);l.d+=' | '+m}else{l=new Dd(f,m,j);j==null?no(w,l):j!=null?oo(w,j,l):mo(w,null,l,~~_p(null))}if(j.indexOf(d)!=0){l.e-=25;xd(h,$v+l.e+': not part of base url '+d)}i=m+qv+h.className+qv+h.id;xd(h,'txt+class+id='+i);if(af(i,_v)){l.e+=50;xd(h,$v+l.e+': has next')}if(af(i,aw)){l.e+=25;xd(h,$v+l.e+': has pag* word')}if(af(i,'(first|last)')){if(!af(l.d,_v)){l.e-=65;xd(h,$v+l.e+': has first|last but no next regex')}}if(af(i,bw)||af(i,Zv)){l.e-=50;xd(h,$v+l.e+': has neg or extra regex')}if(af(i,'(prev|early|old|new|<|\xAB)')){l.e-=200;xd(h,$v+l.e+': has opp of next regex')}u=false;o=false;s=ci(h);while(!!s&&(!u||!o)){t=s.className+qv+s.id;if(!u&&af(t,aw)){l.e+=25;u=true;xd(h,$v+l.e+': posParent - '+t)}if(!o&&af(t,bw)){if(!af(t,'article|body|content|entry|hentry|main|page|pagination|post|text|blog|story')){l.e-=25;o=true;xd(h,$v+l.e+': negParent - '+t)}}s=ci(s)}if(af(j,'p(a|g|ag)?(e|ing|ination)?(=|\\/)[0-9]{1,2}')||af(j,'(page|paging)')){l.e+=25;xd(h,$v+l.e+': has paging info')}if(af(j,Zv)){l.e-=15;xd(h,$v+l.e+': has extra regex')}n=0;try{n=gp(m)}catch(a){a=_k(a);if(!vi(a,29))throw a}if(n>0){n==1?(l.e-=10):(l.e+=0>10-n?0:10-n);xd(h,$v+l.e+': linktxt is a num')}}x=null;if(w.e!=0){v=(B=new Jq(w),new Sr(w,B));g=Rr(v);while(pr(g.b.b)){q=ti(Xr(g),9);q.e>=50&&(!x||x.e<q.e)&&(x=q)}}r=null;if(x){r=Ye(x.b,Xv,$u);xd(c[x.c],'found: score='+x.e+cw+x.d+'], '+r)}Tb>=3&&Ad(r,c);return r}

Completed in 404 milliseconds