Home
last modified time | relevance | path

Searched refs:fMin (Results 1 – 25 of 72) sorted by relevance

123

/external/pdfium/core/fpdfapi/page/
Dcpdf_pageobjectholder_unittest.cpp13 const float fMin = std::numeric_limits<float>::min(); 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/aac/libAACdec/src/
Drvlcconceal.cpp496 commonMin = fMin( in BidirectionalEstimation_UseScfOfPrevFrameAsReference()
501 fMin(commonMin, pAacDecoderStaticChannelInfo->concealmentInfo in BidirectionalEstimation_UseScfOfPrevFrameAsReference()
504 pAacDecoderChannelInfo->pDynData->aScaleFactor[bnds] = fMin( in BidirectionalEstimation_UseScfOfPrevFrameAsReference()
514 commonMin = fMin( in BidirectionalEstimation_UseScfOfPrevFrameAsReference()
519 fMin(commonMin, pAacDecoderStaticChannelInfo->concealmentInfo in BidirectionalEstimation_UseScfOfPrevFrameAsReference()
522 pAacDecoderChannelInfo->pDynData->aScaleFactor[bnds] = fMin( in BidirectionalEstimation_UseScfOfPrevFrameAsReference()
538 commonMin = fMin( in BidirectionalEstimation_UseScfOfPrevFrameAsReference()
543 fMin(commonMin, pAacDecoderStaticChannelInfo->concealmentInfo in BidirectionalEstimation_UseScfOfPrevFrameAsReference()
546 pAacDecoderChannelInfo->pDynData->aScaleFactor[bnds] = fMin( in BidirectionalEstimation_UseScfOfPrevFrameAsReference()
737 commonMin = fMin( in PredictiveInterpolation()
[all …]
Dstereo.cpp563 fMin(scaleFactorBandsTransmittedL, scaleFactorBandsTransmittedR); in CJointStereo_ApplyMS()
810 fMin(DFRACT_BITS - 1, srLeftChan + 1)) + in CJointStereo_ApplyMS()
812 fMin(DFRACT_BITS - 1, srRightChan + 1))); in CJointStereo_ApplyMS()
818 fMin(DFRACT_BITS - 1, srLeftChan + 1)) - in CJointStereo_ApplyMS()
820 fMin(DFRACT_BITS - 1, srRightChan + 1))); in CJointStereo_ApplyMS()
857 -fMin(DFRACT_BITS - 1, (frameMaxScale - dmx_re_prev_e))); in CJointStereo_ApplyMS()
861 -fMin(DFRACT_BITS - 1, (frameMaxScale - dmx_re_prev_e))); in CJointStereo_ApplyMS()
876 -fMin(DFRACT_BITS - 1, in CJointStereo_ApplyMS()
895 lScale = fMin(DFRACT_BITS - 1, specScaleL[window] - lScale); in CJointStereo_ApplyMS()
896 rScale = fMin(DFRACT_BITS - 1, in CJointStereo_ApplyMS()
[all …]
Dusacdec_lpd.cpp244 diff = fMin(diff, 31); in bass_pf_1sf_delay()
280 tmp = tmp >> fMin(DFRACT_BITS - 1, (2 * (s1 - s))); in bass_pf_1sf_delay()
281 ener = ener >> fMin(DFRACT_BITS - 1, (2 * (s2 - s))); in bass_pf_1sf_delay()
312 diff = fMin(diff, 31); in bass_pf_1sf_delay()
432 s = fMin(31, s); in CLpd_AdaptLowFreqDeemph()
656 sInput = fMax(fMin(fNorm(real), fNorm(imag)) - 1, 0); in lpc2mdctAndNoiseShaping()
665 sInput = fMax(fMin(fNorm(real), fNorm(imag)) - 1, 0); in lpc2mdctAndNoiseShaping()
760 delta = fMin(31, delta); in calcEnergy()
767 shift = fMin(31, shift); in calcEnergy()
/external/pdfium/xfa/fwl/
Dcfwl_scrollbar.h43 void GetRange(float* fMin, float* fMax) const { in GetRange() argument
44 ASSERT(fMin); in GetRange()
46 *fMin = m_fRangeMin; in GetRange()
49 void SetRange(float fMin, float fMax) { in SetRange() argument
50 m_fRangeMin = fMin; in SetRange()
/external/pdfium/fpdfsdk/pwl/
Dcpwl_scroll_bar.cpp30 fMin = 0.0f; in Reset()
35 fMin = std::min(min, max); in Set()
40 return (IsFloatBigger(x, fMin) || IsFloatEqual(x, fMin)) && in In()
45 return fMax - fMin; in GetWidth()
54 fScrollPos = ScrollRange.fMin; in Default()
63 if (IsFloatSmaller(fScrollPos, ScrollRange.fMin)) in SetScrollRange()
64 fScrollPos = ScrollRange.fMin; in SetScrollRange()
96 SetPos(ScrollRange.fMin); in SubSmall()
106 SetPos(ScrollRange.fMin); in SubBig()
575 void CPWL_ScrollBar::SetScrollRange(float fMin, in SetScrollRange() argument
[all …]
Dcpwl_scroll_bar.h72 return fMin == that.fMin && fMax == that.fMax;
81 float fMin = 0.0f; member
148 void SetScrollRange(float fMin, float fMax, float fClientWidth);
/external/aac/libFDK/include/
Dfixpoint_math.h188 return ((b_m >> fMin(a_e - b_e, DFRACT_BITS - 1)) > a_m); in fIsLessThan()
190 return ((a_m >> fMin(b_e - a_e, DFRACT_BITS - 1)) < b_m); in fIsLessThan()
209 return ((b_m >> fMin(a_e - b_e, FRACT_BITS - 1)) > a_m); in fIsLessThan()
211 return ((a_m >> fMin(b_e - a_e, FRACT_BITS - 1)) < b_m); in fIsLessThan()
236 int exp = fMin(31, ((x > FL2FXCONST_DBL(0.0f)) ? (31 - (int)(x >> 25)) in CalcInvLdData()
682 result_m = a_m + (b_m >> fMin(a_e - b_e, DFRACT_BITS - 1)); in fAddNorm()
685 result_m = (a_m >> fMin(b_e - a_e, DFRACT_BITS - 1)) + b_m; in fAddNorm()
900 sum = fMax(fMin((INT)sum, (INT)MAXVAL_SGL), (INT)MINVAL_SGL); in fAddSaturate()
914 sum = fMax(fMin((INT)sum, (INT)(MAXVAL_DBL >> 1)), (INT)(MINVAL_DBL >> 1)); in fAddSaturate()
949 return invCount[fMin(fMax(intValue, 0), 80 - 1)]; in GetInvInt()
Dcommon_fix.h306 #define fixMin(a, b) fMin(a, b)
400 FDK_INLINE FIXP_DBL fMin(FIXP_DBL a, FIXP_DBL b) { return fixmin_D(a, b); } in fMin() function
403 FDK_INLINE FIXP_SGL fMin(FIXP_SGL a, FIXP_SGL b) { return fixmin_S(a, b); } in fMin() function
408 FDK_INLINE INT fMin(INT a, INT b) { return fixmin_I(a, b); } in fMin() function
411 FDK_INLINE SHORT fMin(SHORT a, SHORT b) { return fixmin_S(a, b); } in fMin() function
416 inline UINT fMin(UINT a, UINT b) { return fixmin_UI(a, b); } in fMin() function
421 inline UCHAR fMin(UCHAR a, UCHAR b) { in fMin() function
/external/aac/libFDK/src/
DFDK_bitbuffer.cpp372 fMin(hBitBuf->bufBits, in FDK_Feed()
376 fMin(bToRead, in FDK_Feed()
382 bToRead = fMin(bToRead, in FDK_Feed()
427 fMin(bToRead, in FDK_Copy()
431 fMin(bToRead, noOfBytes); //(bToRead < noOfBytes) ? bToRead : noOfBytes; in FDK_Copy()
436 bToRead = fMin(noOfBytes, in FDK_Copy()
468 fMin(bToWrite, in FDK_Fetch()
474 bToWrite = fMin( in FDK_Fetch()
DFDK_decorrelate.cpp1059 clz = fMin(getScalefactor(&inputReal[startHybBand], in DuckerCalcEnergy()
1067 clz = fMin(fMax(0, clz - DUCKER_HEADROOM_BITS), DUCKER_MAX_NRG_SCALE); in DuckerCalcEnergy()
1102 clz = fMin(getScalefactor(&inputReal[startHybBand], 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()
1233 qs_next = fMin((int)self->qs_next[pb], self->hybridBands); in DuckerApply()
1315 scaleDirectNrg = fMax(fMin(self->scaleDirectNrg - scale, (DFRACT_BITS - 1)), in DuckerApplyPS()
1318 fMax(fMin(self->scaleSmoothDirRevNrg - scale, (DFRACT_BITS - 1)), in DuckerApplyPS()
[all …]
DFDK_qmf_domain.cpp493 int usb = fMin((INT)gc->nBandsSynthesis, 64); in FDK_QmfDomain_InitFilterBank()
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()
639 for (; b < fMin(lsb, stop_band); b++) { in FDK_QmfDomain_GetSlot()
642 for (; b < fMin(usb, stop_band); b++) { in FDK_QmfDomain_GetSlot()
650 for (; b < fMin(lsb, stop_band); b++) { in FDK_QmfDomain_GetSlot()
654 for (; b < fMin(usb, stop_band); b++) { in FDK_QmfDomain_GetSlot()
972 fMin((INT)hgc->nBandsSynthesis_requested, 64); in FDK_QmfDomain_Configure()
DFDK_trigFcts.cpp208 q = q << (INT)fMin(stf, DFRACT_BITS - 1); in fixp_atan2()
210 q = q >> (INT)fMin(-stf, DFRACT_BITS - 1); in fixp_atan2()
/external/aac/libSBRdec/src/
Denv_calc.cpp628 int diff = fMin(DFRACT_BITS - 1, new_summand_sf - total_power_low_sf); in apply_inter_tes()
633 fMin(DFRACT_BITS - 1, total_power_low_sf - new_summand_sf); in apply_inter_tes()
642 fMin(DFRACT_BITS - 1, new_summand_sf - total_power_high_sf); in apply_inter_tes()
646 fMin(DFRACT_BITS - 1, total_power_high_sf - new_summand_sf); in apply_inter_tes()
667 gain[i] >>= fMin(DFRACT_BITS - 1, -gain_sf[i]); in apply_inter_tes()
728 fMin(DFRACT_BITS - 1, new_summand_sf - total_power_high_after_sf); in apply_inter_tes()
732 fMin(DFRACT_BITS - 1, total_power_high_after_sf - new_summand_sf); in apply_inter_tes()
754 fMin(gain_sf[i] + gain_adj_sf - INTER_TES_SF_CHANGE, DFRACT_BITS - 1), in apply_inter_tes()
1560 lowSubband, noSubbands, fMin(scale_change, DFRACT_BITS - 1), in calculateSbrEnvelope()
1566 fMin(scale_change, DFRACT_BITS - 1), smooth_ratio, in calculateSbrEnvelope()
[all …]
/external/aac/libAACenc/src/
Dbandwidth.cpp307 *bandWidth = fMin(proposedBandWidth, fMin(20000, sampleRate >> 1)); in FDKaacEnc_DetermineBandWidth()
357 *bandWidth = fMin(*bandWidth, sampleRate / 2); in FDKaacEnc_DetermineBandWidth()
Dband_nrg.cpp331 bandEnergyMid[i] = fMin(NrgMid, (FIXP_DBL)MAXVAL_DBL >> 1) << 1; in FDKaacEnc_CalcBandNrgMSOpt()
332 bandEnergySide[i] = fMin(NrgSide, (FIXP_DBL)MAXVAL_DBL >> 1) << 1; in FDKaacEnc_CalcBandNrgMSOpt()
/external/aac/libSACdec/src/
Dsac_stp.cpp400 sReal = fMin(getScalefactor(&qmfOutputRealDry[i_LF][BP_GF_START], in subbandTPApply()
404 sImag = fMin(getScalefactor(&qmfOutputImagDry[i_LF][BP_GF_START], in subbandTPApply()
408 sMin = fMin(sReal, sImag) - 1; in subbandTPApply()
424 DryEner0, fMax(fMin(sNorm, DFRACT_BITS - 1), -(DFRACT_BITS - 1))); in subbandTPApply()
460 sMin = fMin(getScalefactor(&qmfOutputRealWet[ch][BP_GF_START], in subbandTPApply()
476 WetEnerX, fMax(fMin(sNorm, DFRACT_BITS - 1), -(DFRACT_BITS - 1))); in subbandTPApply()
Dsac_reshapeBBEnv.cpp255 headroom_dry = fMin(getScalefactor(pHybOutputRealDry, hybBands), in slotAmp()
257 headroom_wet = fMin(getScalefactor(pHybOutputRealWet, hybBands), in slotAmp()
380 clz = fMin(getScalefactor(&pReal[12], fMax(0, hybBands - 12)), in extractBBEnv()
386 clz = fMin(getScalefactor(&pReal[12], fMax(0, hybBands - 12)), in extractBBEnv()
576 extractBBEnv(self, INP_DMX, 0, fMin(self->numInputChannels, 2), envDmx, in SpatialDecReshapeBBEnv()
/external/skqp/samplecode/
DSampleFilterQuality.cpp90 SkScalar fMin; member
98 fMin = min; in set()
105 fMin = 0; in setMod()
121 } else if (fValue < fMin) { in fixUp()
122 fValue = fMin; in fixUp()
/external/aac/libDRCdec/src/
DdrcDec_reader.cpp359 k = fMin(k, 16 - 1); in _decodeTimes()
490 gainSequenceCount = fMin(pCoef->gainSequenceCount, (UCHAR)12); in drcDec_readUniDrcGain()
512 fMin(tmpNNodes, (UCHAR)16) * sizeof(GAIN_NODE)); in drcDec_readUniDrcGain()
1128 pCoef->gainSetCount = fMin(gainSetCount, 12); in _readDrcCoefficientsUniDrc()
1189 pCoef->gainSetCount = fMin(gainSetCount, 12); in _readDrcCoefficientsUniDrc()
1550 hUniDrcConfig->downmixInstructionsCount = fMin( in _readDrcExtensionV1()
1575 fMin((UCHAR)(offset + hUniDrcConfig->drcCoefficientsUniDrcCountV1), in _readDrcExtensionV1()
1594 fMin((UCHAR)(offset + hUniDrcConfig->drcInstructionsUniDrcCountV1), in _readDrcExtensionV1()
1718 fMin(hUniDrcConfig->downmixInstructionsCountV0, (UCHAR)6); in drcDec_readUniDrcConfig()
1740 fMin(hUniDrcConfig->drcCoefficientsUniDrcCountV0, (UCHAR)2); in drcDec_readUniDrcConfig()
[all …]
DdrcDec_gainDecoder.cpp301 gainSequenceCount = fMin(pCoef->gainSequenceCount, (UCHAR)12); in drcDec_GainDecoder_Conceal()
366 INT n_min = fMin(fMin(CntLeadingZeros(prevChannelGain[c]), in drcDec_GainDecoder_SetChannelGains()
DdrcGainDec_process.cpp180 INT n_min = fMin( in _interpolateDrcGain()
181 fMin(CntLeadingZeros(gainRight), CntLeadingZeros(gainLeft)) - 1, 8); in _interpolateDrcGain()
236 stop = fMin(time, (SHORT)(frameSize - 1)) - timePrev + 1; in _processNodeSegments()
507 n_min = fMin(CntLeadingZeros(gainSb) - 1, n_min); in processDrcSubband()
/external/pdfium/core/fxcrt/
Dfx_extension_unittest.cpp150 const float fMin = std::numeric_limits<float>::min(); in TEST() local
154 const float ascending[] = {fMin, 1.0f, 2.0f, fMax, fInf, fNan}; in TEST()
/external/aac/libSBRenc/src/
Dtran_det.cpp160 energies_e = 19 - fMin(scaleEnergies[0], scaleEnergies[1]); in spectralChange()
176 fMin(scaleEnergies[0], scaleEnergies[1]) + in spectralChange()
179 fMin(scaleEnergies[0], scaleEnergies[1]) + in spectralChange()
182 prevEnergies_e_diff = fMin(prevEnergies_e_diff, DFRACT_BITS - 1); in spectralChange()
183 newEnergies_e_diff = fMin(newEnergies_e_diff, DFRACT_BITS - 1); in spectralChange()
814 fMin(TRAN_DET_STOP_FREQ / bandwidth_qmf_slot, no_qmf_channels); in FDKsbrEnc_InitSbrFastTransientDetector()
816 fMin(sbr_qmf_1st_band, in FDKsbrEnc_InitSbrFastTransientDetector()
/external/aac/libAACdec/src/arm/
Dblock_arm.cpp120 fMin(DFRACT_BITS - 1, SpecScale_window - pSfbScale[window * 16 + band]); in CBlock_ScaleSpectralData_func1()

123