Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vpx_dsp/mips/
Dintrapred_msa.c159 v4u32 sum_w; in intra_predict_dc_4x4_msa() local
166 sum_w = __msa_hadd_u_w(sum_h, sum_h); in intra_predict_dc_4x4_msa()
167 sum_d = __msa_hadd_u_d(sum_w, sum_w); in intra_predict_dc_4x4_msa()
168 sum_w = (v4u32)__msa_srari_w((v4i32)sum_d, 3); in intra_predict_dc_4x4_msa()
169 store = __msa_splati_b((v16i8)sum_w, 0); in intra_predict_dc_4x4_msa()
180 v4u32 sum_w; in intra_predict_dc_tl_4x4_msa() local
185 sum_w = __msa_hadd_u_w(sum_h, sum_h); in intra_predict_dc_tl_4x4_msa()
186 sum_w = (v4u32)__msa_srari_w((v4i32)sum_w, 2); in intra_predict_dc_tl_4x4_msa()
187 store = __msa_splati_b((v16i8)sum_w, 0); in intra_predict_dc_tl_4x4_msa()
209 v4u32 sum_w; in intra_predict_dc_8x8_msa() local
[all …]
/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()