/external/pdfium/core/fpdfapi/page/ |
D | cpdf_pageobjectholder_unittest.cpp | 14 const float fMax = std::numeric_limits<float>::max(); in TEST() local 19 for (float c1 : {fMin, 1.0f, 2.0f, fMax, fInf, fNan}) { in TEST() 20 for (float c2 : {fMin, 1.0f, 2.0f, fMax, fInf, fNan}) { in TEST() 31 for (float c2 : {fNan, fInf, fMax, 2.0f, 1.0f, fMin}) { in TEST() 32 for (float c1 : {fNan, fInf, fMax, 2.0f, 1.0f, fMin}) { in TEST() 60 for (float c2 : {fMin, 1.0f, 2.0f, fMax, fInf, fNan}) { in TEST() 61 for (float c1 : {fMin, 1.0f, 2.0f, fMax, fInf, fNan}) in TEST()
|
/external/skia/src/pathops/ |
D | SkIntersections.h | 33 fMax = 0; // require that the caller set the max in SkIntersections() 61 fMax = 2; in conicHorizontal() 69 fMax = 2; in conicVertical() 78 fMax = 3; // 2; permit small coincident segment + non-coincident intersection in conicLine() 86 fMax = 3; in cubicHorizontal() 93 fMax = 3; in cubicVertical() 102 fMax = 3; in cubicLine() 136 fMax = 2; in lineHorizontal() 143 fMax = 2; in lineVertical() 151 fMax = 2; in lineLine() [all …]
|
D | SkDLineIntersection.cpp | 42 fMax = 2; in intersectRay() 83 fMax = 3; // note that we clean up so that there is no more than two in the end in intersect() 206 fMax = 3; // clean up parallel at the end will limit the result to 2 at the most in horizontal() 284 fMax = 3; // cleanup parallel lines will bring this back line in vertical()
|
/external/pdfium/xfa/fwl/ |
D | cfwl_scrollbar.h | 43 void GetRange(float* fMin, float* fMax) const { in GetRange() argument 45 ASSERT(fMax); in GetRange() 47 *fMax = m_fRangeMax; in GetRange() 49 void SetRange(float fMin, float fMax) { in SetRange() argument 51 m_fRangeMax = fMax; in SetRange()
|
/external/pdfium/fpdfsdk/pwl/ |
D | cpwl_scroll_bar.cpp | 31 fMax = 0.0f; in Reset() 36 fMax = std::max(min, max); in Set() 41 (IsFloatSmaller(x, fMax) || IsFloatEqual(x, fMax)); in In() 45 return fMax - fMin; in GetWidth() 65 if (IsFloatBigger(fScrollPos, ScrollRange.fMax)) in SetScrollRange() 66 fScrollPos = ScrollRange.fMax; in SetScrollRange() 91 SetPos(ScrollRange.fMax); in AddSmall() 101 SetPos(ScrollRange.fMax); in AddBig() 488 float fMax = in SetScrollInfo() local 490 SetScrollRange(0, fMax, info.fPlateWidth); in SetScrollInfo() [all …]
|
D | cpwl_scroll_bar.h | 72 return fMin == that.fMin && fMax == that.fMax; 82 float fMax = 0.0f; member 148 void SetScrollRange(float fMin, float fMax, float fClientWidth);
|
/external/aac/libFDK/include/ |
D | common_fix.h | 307 #define fixMax(a, b) fMax(a, b) 401 FDK_INLINE FIXP_DBL fMax(FIXP_DBL a, FIXP_DBL b) { return fixmax_D(a, b); } in fMax() function 404 FDK_INLINE FIXP_SGL fMax(FIXP_SGL a, FIXP_SGL b) { return fixmax_S(a, b); } in fMax() function 407 FDK_INLINE INT fMax(INT a, INT b) { return fixmax_I(a, b); } in fMax() function 410 FDK_INLINE SHORT fMax(SHORT a, SHORT b) { return fixmax_S(a, b); } in fMax() function 415 inline UINT fMax(UINT a, UINT b) { return fixmax_UI(a, b); } in fMax() function 418 inline UCHAR fMax(UCHAR a, UCHAR b) { in fMax() function
|
D | scale.h | 194 return fMax((value << scalefactor), (FIXP_DBL)MINVAL_DBL + (FIXP_DBL)1); in scaleValueSaturate() 202 return fMax((value >> scalefactor), (FIXP_DBL)MINVAL_DBL + (FIXP_DBL)1); in scaleValueSaturate()
|
/external/aac/libAACdec/src/ |
D | rvlc.cpp | 692 pRvlc->conceal_min = fMax(0, bnds - offset); in rvlcDecodeBackward() 699 pRvlc->conceal_min = fMax(0, bnds - offset); in rvlcDecodeBackward() 709 pRvlc->conceal_min_esc = fMax(0, bnds - offset); in rvlcDecodeBackward() 729 pRvlc->conceal_min = fMax(0, bnds - offset); in rvlcDecodeBackward() 737 pRvlc->conceal_min = fMax(0, bnds - offset); in rvlcDecodeBackward() 747 pRvlc->conceal_min_esc = fMax(0, bnds - offset); in rvlcDecodeBackward() 761 pRvlc->conceal_min = fMax(0, bnds - offset); in rvlcDecodeBackward() 768 pRvlc->conceal_min = fMax(0, bnds - offset); in rvlcDecodeBackward() 778 pRvlc->conceal_min_esc = fMax(0, bnds - offset); in rvlcDecodeBackward() 913 pRvlc->conceal_min = fMax( in rvlcFinalErrorDetection() [all …]
|
D | aac_ram.cpp | 168 fMax((INT)(sizeof(FIXP_DBL) * WB_SECTION_SIZE),
|
D | conceal.cpp | 1240 fac_shift = fMax(fMin(fac_shift, DFRACT_BITS - 1), -(DFRACT_BITS - 1)); in CConcealment_InterpolateBuffer() 1301 nextFadeIndex = fMax(pConcealCommonData->numFadeInFrames - 1, 0); in findEquiFadeFrame() 1618 spec[i] = -fMax(spec[i], (FIXP_DBL)(MINVAL_DBL + 1)); in CConcealment_ApplyRandomSign() 1724 fMax(1, (int)(numWindows / (pConcealmentInfo->lastWinGrpLen + 1))); in CConcealment_ApplyFadeOut() 1990 dGain_apply = fMax((FIXP_DBL)0, dGain); in CConcealment_TDFadePcmAtt() 2032 fadeDiff = ((INT)(fadeStop - fadeStart) / fMax(fadingSteps_sum, (INT)1)); in CConcealment_TDFadeFillFadingStations()
|
/external/aac/libFDK/src/ |
D | FDK_decorrelate.cpp | 1060 fMax(0, maxHybridBand - startHybBand + 1)), in DuckerCalcEnergy() 1062 fMax(0, maxHybBand - startHybBand + 1))); in DuckerCalcEnergy() 1067 clz = fMin(fMax(0, clz - DUCKER_HEADROOM_BITS), DUCKER_MAX_NRG_SCALE); in DuckerCalcEnergy() 1103 fMax(0, maxHybridBand - startHybBand + 1)), in DuckerCalcEnergy() 1105 fMax(0, maxHybBand - startHybBand + 1))); in DuckerCalcEnergy() 1110 clz = fMin(fMax(0, clz - DUCKER_HEADROOM_BITS), DUCKER_MAX_NRG_SCALE); in DuckerCalcEnergy() 1181 scaleDirectNrg = fMax(fMin(self->scaleDirectNrg - scale, (DFRACT_BITS - 1)), in DuckerApply() 1183 scaleReverbNrg = fMax(fMin(self->scaleReverbNrg - scale, (DFRACT_BITS - 1)), in DuckerApply() 1186 fMax(fMin(self->scaleSmoothDirRevNrg - scale, (DFRACT_BITS - 1)), in DuckerApply() 1315 scaleDirectNrg = fMax(fMin(self->scaleDirectNrg - scale, (DFRACT_BITS - 1)), in DuckerApplyPS() [all …]
|
D | autocorr2nd.cpp | 124 const int len_scale = fMax(DFRACT_BITS - fNormz((FIXP_DBL)(len / 2)), 1); in autoCorr2nd_real() 201 const int len_scale = fMax(DFRACT_BITS - fNormz((FIXP_DBL)len), 1); in autoCorr2nd_cplx()
|
D | FDK_qmf_domain.cpp | 512 qd->QmfDomainIn[fMin(ch, fMax((INT)gc->nQmfProcChannels - 1, 0))] in FDK_QmfDomain_InitFilterBank() 515 qd->QmfDomainIn[fMin(ch, fMax((INT)gc->nQmfProcChannels - 1, 0))] in FDK_QmfDomain_InitFilterBank() 518 qd->QmfDomainIn[fMin(ch, fMax((INT)gc->nQmfProcChannels - 1, 0))] in FDK_QmfDomain_InitFilterBank() 633 lb_sf = fMax(exp_lb - target_exp - exp_out, -31); in FDK_QmfDomain_GetSlot() 635 hb_sf = fMax(exp_hb - target_exp - exp_out, -31); in FDK_QmfDomain_GetSlot()
|
/external/aac/libSBRdec/src/ |
D | env_calc.cpp | 753 int gain_e = fMax( in apply_inter_tes() 1021 adj_e = fMax(maxSfbNrg_e, adj_e); in calculateSbrEnvelope() 1025 final_e = fMax(maxSfbNrg_e, final_e); in calculateSbrEnvelope() 1578 fMax(EXP2SCALE(adj_e) - sbrScaleFactor->lb_scale, in calculateSbrEnvelope() 1668 output_e = fMax(ov_adj_e - ov_reserve, adj_e - reserve); in calculateSbrEnvelope() 2437 signalReal = fMax(fMin(fMultDiv2(*ptrReal, *pGain++), max_val), min_val) in adjustTimeSlot_EldGrid() 2472 signalReal = fMax(fMin(fMultDiv2(*ptrReal, *pGain++), max_val), min_val) in adjustTimeSlot_EldGrid() 2530 signalReal = fMax(fMin(fMultDiv2(*ptrReal, *pGain++), max_val), min_val) in adjustTimeSlotLC() 2594 fMax(fMin(fMultDiv2(*ptrReal, *pGain++), max_val), min_val) in adjustTimeSlotLC() 2608 signalReal = fMax(fMin(fMultDiv2(*ptrReal, *pGain++), max_val), min_val) in adjustTimeSlotLC() [all …]
|
D | hbe.cpp | 1222 reserve = fMax(reserve - 1, in scaleUp() 1342 g_e = fMax((INT)0, g_e); in addHighBandPart() 1411 fMax(0, hQmfTransposer->stopBand - hQmfTransposer->startBand); in QmfTransposerApply() 1754 int shift1 = fMin(fMax(sqmag1_e, sqmag2_e) - sqmag1_e, 31); in QmfTransposerApply() 1755 int shift2 = fMin(fMax(sqmag1_e, sqmag2_e) - sqmag2_e, 31); in QmfTransposerApply() 1758 temp_e = fMax(sqmag1_e, sqmag2_e); in QmfTransposerApply() 1760 int shift3 = fMin(fMax(temp_e, mVal_e) - temp_e, 31); in QmfTransposerApply() 1761 int shift4 = fMin(fMax(temp_e, mVal_e) - mVal_e, 31); in QmfTransposerApply() 1773 int shift1 = fMin(fMax(sqmag0_e, mVal_e) - sqmag0_e, 31); in QmfTransposerApply() 1774 int shift2 = fMin(fMax(sqmag0_e, mVal_e) - mVal_e, 31); in QmfTransposerApply()
|
D | sbr_dec.cpp | 731 fMin(DFRACT_BITS - 1, fMax(-(DFRACT_BITS - 1), scaleFactorLowBand_ov)); in sbr_dec() 734 DFRACT_BITS - 1, fMax(-(DFRACT_BITS - 1), scaleFactorLowBand_no_ov)); in sbr_dec() 737 fMin(DFRACT_BITS - 1, fMax(-(DFRACT_BITS - 1), scaleFactorHighBand)); in sbr_dec() 1090 startSlot = fMax(0, hHeaderData->timeStep * (hPrevFrameData->stopPos - in resetSbrDec() 1092 size = fMax(0, stopBand - startBand); in resetSbrDec() 1441 fMax(new_lsb - old_lsb, 0) * sizeof(FIXP_DBL)); in resetSbrDec() 1446 fMax(new_lsb - old_lsb, 0) * sizeof(FIXP_DBL)); in resetSbrDec()
|
/external/aac/libPCMutils/src/ |
D | limiter.cpp | 214 tmp = fMax(tmp, tmp2); in pcmLimiter_Apply() 224 tmp = fMax(tmp, threshold); in pcmLimiter_Apply() 241 max = fMax(max, maxBuf[j]); in pcmLimiter_Apply() 274 smoothState0 = fMax(smoothState0, gain); /* avoid overshooting target */ in pcmLimiter_Apply()
|
/external/pdfium/core/fxcrt/ |
D | fx_extension_unittest.cpp | 151 const float fMax = std::numeric_limits<float>::max(); in TEST() local 154 const float ascending[] = {fMin, 1.0f, 2.0f, fMax, fInf, fNan}; in TEST()
|
/external/aac/libAACenc/src/ |
D | metadata_main.cpp | 311 return ((UCHAR)fMax(0, fMin((-d + (1 << 13)) >> 14, 127))); in dialnorm2progreflvl() 1078 fMax(-(31 << 16), pAacMetaData->mpegDrc.drc_TargetRefLevel); in LoadSubmittedMetadata() 1079 pAacMetaData->etsiAncData.comp_TargetRefLevel = fMax( in LoadSubmittedMetadata() 1085 fMax(-(23 << 16), pAacMetaData->mpegDrc.drc_TargetRefLevel); in LoadSubmittedMetadata() 1087 fMax(-(23 << 16), pAacMetaData->etsiAncData.comp_TargetRefLevel); in LoadSubmittedMetadata() 1096 fMax(pAacMetaData->etsiAncData.comp_TargetRefLevel, in LoadSubmittedMetadata()
|
D | aacenc.cpp | 178 bitRate = fMax(bitRate, in FDKaacEnc_LimitBitrate() 179 fMax(minBitrate, in FDKaacEnc_LimitBitrate() 530 fMin((256), fMax(0, FDKaacEnc_CalcBitsPerFrame( in FDKaacEnc_Initialize() 597 brPerChannel = fMin(BITRATE_MAX_LD, fMax(BITRATE_MIN_LD, brPerChannel)); in FDKaacEnc_Initialize() 679 fMax((INT)scaleValue(bw_ratio, qbw + 1 - (DFRACT_BITS - 1)), 1); in FDKaacEnc_Initialize()
|
D | adj_thr.cpp | 823 fMax(FL2FXCONST_DBL(0.1875f), in FDKaacEnc_calcWeighting() 1534 fMax(globalMaxSfb, in FDKaacEnc_reduceMinSnr() 1722 (DFRACT_BITS - fixnormz_D((LONG)fMax(0, maxSfb - 1))); /* ilog2() */ in FDKaacEnc_allowMoreHoles() 1742 maxSfb = fMax(maxSfb, psyOutChannel->maxSfbPerGroup); in FDKaacEnc_allowMoreHoles() 1972 result_e = fMax(redVal_e, avgThrExp_e) + 1; in FDKaacEnc_adaptThresholdsToPe() 1974 reductionValue_m = fMax(FL2FXCONST_DBL(0.f), in FDKaacEnc_adaptThresholdsToPe() 2038 desiredPeNoAHGlobal = fMax(0, desiredPeNoAHGlobal); in FDKaacEnc_adaptThresholdsToPe() 2054 result_e = fMax(reductionValue_e, fMax(redVal_e, avgThrExp_e) + 1) + 1; in FDKaacEnc_adaptThresholdsToPe() 2057 fMax(FL2FXCONST_DBL(0.f), in FDKaacEnc_adaptThresholdsToPe() 2383 pex = fMax(pe, adjThrChan->peMin); in FDKaacEnc_bitresCalcBitFac() [all …]
|
/external/skia/src/utils/ |
D | SkPatchUtils.cpp | 89 fMax = fDivisions + 1; in restart() 104 return fCurrent > fMax; in done() 125 int fMax, fCurrent, fDivisions; member in FwDCubicEvaluator
|
/external/aac/libSBRenc/src/ |
D | tran_det.cpp | 213 accu1 = fMax(accu1, (FIXP_DBL)len1); in spectralChange() 214 accu2 = fMax(accu2, (FIXP_DBL)len2); in spectralChange() 274 fNormz((FIXP_DBL)fMax( in addLowbandEnergies() 278 fNormz((FIXP_DBL)fMax( in addLowbandEnergies() 1053 int scale = fMax(delta_energy_scale[timeSlot], max_delta_energy_scale); in FDKsbrEnc_fastTransientDetect()
|
/external/aac/libSACdec/src/ |
D | sac_reshapeBBEnv.cpp | 380 clz = fMin(getScalefactor(&pReal[12], fMax(0, hybBands - 12)), in extractBBEnv() 381 getScalefactor(&pImag[12], fMax(0, cplxBands - 12))); in extractBBEnv() 386 clz = fMin(getScalefactor(&pReal[12], fMax(0, hybBands - 12)), in extractBBEnv() 387 getScalefactor(&pImag[12], fMax(0, cplxBands - 12))); in extractBBEnv()
|