Home
last modified time | relevance | path

Searched refs:sum_w (Results 1 – 3 of 3) sorted by relevance

/external/libvpx/libvpx/vpx_dsp/mips/
Dintrapred_msa.c158 v4u32 sum_w; in intra_predict_dc_4x4_msa() local
165 sum_w = __msa_hadd_u_w(sum_h, sum_h); in intra_predict_dc_4x4_msa()
166 sum_d = __msa_hadd_u_d(sum_w, sum_w); in intra_predict_dc_4x4_msa()
167 sum_w = (v4u32)__msa_srari_w((v4i32)sum_d, 3); in intra_predict_dc_4x4_msa()
168 store = __msa_splati_b((v16i8)sum_w, 0); in intra_predict_dc_4x4_msa()
179 v4u32 sum_w; in intra_predict_dc_tl_4x4_msa() local
184 sum_w = __msa_hadd_u_w(sum_h, sum_h); in intra_predict_dc_tl_4x4_msa()
185 sum_w = (v4u32)__msa_srari_w((v4i32)sum_w, 2); in intra_predict_dc_tl_4x4_msa()
186 store = __msa_splati_b((v16i8)sum_w, 0); in intra_predict_dc_tl_4x4_msa()
208 v4u32 sum_w; in intra_predict_dc_8x8_msa() local
[all …]
/external/opencv3/modules/imgproc/src/
Dlinefit.cpp384 double sum_w = 0; in fitLine2D() local
419 sum_w += w[j]; in fitLine2D()
421 if( fabs(sum_w) > FLT_EPSILON ) in fitLine2D()
423 sum_w = 1./sum_w; in fitLine2D()
425 w[j] = (float)(w[j]*sum_w); in fitLine2D()
519 double sum_w = 0; in fitLine3D() local
561 sum_w += w[j]; in fitLine3D()
563 if( fabs(sum_w) > FLT_EPSILON ) in fitLine3D()
565 sum_w = 1./sum_w; in fitLine3D()
567 w[j] = (float)(w[j]*sum_w); in fitLine3D()
/external/opencv/cv/src/
Dcvlinefit.cpp411 double sum_w = 0; in icvFitLine2D() local
446 sum_w += w[j]; in icvFitLine2D()
448 if( fabs(sum_w) > FLT_EPSILON ) in icvFitLine2D()
450 sum_w = 1./sum_w; in icvFitLine2D()
452 w[j] = (float)(w[j]*sum_w); in icvFitLine2D()
561 double sum_w = 0; in icvFitLine3D() local
602 sum_w += w[j]; in icvFitLine3D()
604 if( fabs(sum_w) > FLT_EPSILON ) in icvFitLine3D()
606 sum_w = 1./sum_w; in icvFitLine3D()
608 w[j] = (float)(w[j]*sum_w); in icvFitLine3D()