Home
last modified time | relevance | path

Searched refs:fNorm (Results 1 – 12 of 12) sorted by relevance

/external/skqp/src/gpu/ops/
DGrAAConvexTessellator.cpp841 fPts[i].fNorm = norms[i]; in init()
851 fPts[cur].fNorm = tess.point(fPts[next].fIndex) - tess.point(fPts[cur].fIndex); in computeNormals()
852 SkPoint::Normalize(&fPts[cur].fNorm); in computeNormals()
853 fPts[cur].fNorm = SkPointPriv::MakeOrthog(fPts[cur].fNorm, tess.side()); in computeNormals()
860 fPts[cur].fBisector = fPts[cur].fNorm + fPts[prev].fNorm; in computeBisectors()
863 SkPointPriv::MakeOrthog(fPts[cur].fNorm, (SkPointPriv::Side)-tess.side()) + in computeBisectors()
864 SkPointPriv::MakeOrthog(fPts[prev].fNorm, tess.side()); in computeBisectors()
1047 draw_arrow(canvas, mid, fPts[cur].fNorm, kArrowLength, SK_ColorRED); in draw()
1048 mid.fX += (kArrowLength/2) * fPts[cur].fNorm.fX; in draw()
1049 mid.fY += (kArrowLength/2) * fPts[cur].fNorm.fY; in draw()
DGrAAConvexTessellator.h153 const SkPoint& norm(int index) const { return fPts[index].fNorm; } in norm()
170 SkPoint fNorm; member
/external/skia/src/gpu/ops/
DGrAAConvexTessellator.cpp857 fPts[i].fNorm = norms[i]; in init()
867 fPts[cur].fNorm = tess.point(fPts[next].fIndex) - tess.point(fPts[cur].fIndex); in computeNormals()
868 SkPoint::Normalize(&fPts[cur].fNorm); in computeNormals()
869 fPts[cur].fNorm = SkPointPriv::MakeOrthog(fPts[cur].fNorm, tess.side()); in computeNormals()
876 fPts[cur].fBisector = fPts[cur].fNorm + fPts[prev].fNorm; in computeBisectors()
879 SkPointPriv::MakeOrthog(fPts[cur].fNorm, (SkPointPriv::Side)-tess.side()) + in computeBisectors()
880 SkPointPriv::MakeOrthog(fPts[prev].fNorm, tess.side()); in computeBisectors()
1068 draw_arrow(canvas, mid, fPts[cur].fNorm, kArrowLength, SK_ColorRED); in draw()
1069 mid.fX += (kArrowLength/2) * fPts[cur].fNorm.fX; in draw()
1070 mid.fY += (kArrowLength/2) * fPts[cur].fNorm.fY; in draw()
DGrAAConvexTessellator.h153 const SkPoint& norm(int index) const { return fPts[index].fNorm; } in norm()
170 SkPoint fNorm; member
/external/aac/libFDK/src/
DFDK_lpc.cpp384 shiftval = fMin(fNorm(maxVal), par2LpcShiftVal); in CLpc_ParcorToLpc()
422 shiftval = fMin(fNorm(maxVal), par2LpcShiftVal); in CLpc_ParcorToLpc()
/external/aac/libFDK/include/
Dcommon_fix.h294 FDK_INLINE INT fNorm(FIXP_DBL x) { return fixnorm_D(x); } in fNorm() function
295 FDK_INLINE INT fNorm(FIXP_SGL x) { return fixnorm_S(x); } in fNorm() function
Dfixpoint_math.h645 shift = fNorm(a_m) - 1; in fAdjust()
853 enorm = DFRACT_BITS - fNorm((FIXP_DBL)x_e); in fLog2()
/external/aac/libAACdec/src/
Dusacdec_lpd.cpp656 sInput = fMax(fMin(fNorm(real), fNorm(imag)) - 1, 0); in lpc2mdctAndNoiseShaping()
665 sInput = fMax(fMin(fNorm(real), fNorm(imag)) - 1, 0); in lpc2mdctAndNoiseShaping()
814 s = fNorm((FIXP_DBL)lg); in calcTCXGain()
824 int s = fNorm(tcx_gain_m); in calcTCXGain()
Dusacdec_acelp.cpp216 ener_code_e = fMax(fNorm(ener_code) - 1, 0); in D_gain2_plus()
318 ener_exc_e = fNorm(ener_exc); in calc_period_factor()
328 L_tmp_e = fNorm(gain_code); in calc_period_factor()
/external/aac/libSACenc/src/
Dsacenc_dmx_tdom_enh.cpp308 -fNorm(fixMax(hEnhancedTimeDmx->gain_weight_m[L], in fdk_sacenc_init_enhancedTimeDomainDmx()
354 ? ((DFRACT_BITS - 1) - fNorm((FIXP_DBL)(granuleLength - 1))) in fdk_sacenc_apply_enhancedTimeDomainDmx()
/external/aac/libSBRdec/src/
Denv_calc.cpp1658 ov_reserve = fNorm(maxVal); in calculateSbrEnvelope()
1665 reserve = fNorm(maxVal); in calculateSbrEnvelope()
2086 shift = fNorm(accu); in calcNrgPerSubband()
2199 shift = fNorm(sumAll); in calcNrgPerSfb()
/external/aac/libSACdec/src/
Dsac_calcM1andM2.cpp643 scale = fNorm(weight_m); in param2UMX_Prediction_Core__FDK()