Home
last modified time | relevance | path

Searched refs:nSegs (Results 1 – 7 of 7) sorted by relevance

/external/pdfium/core/fpdfapi/page/
Dcpdf_textobject.cpp198 size_t nSegs) { in SetSegments() argument
199 CHECK(nSegs); in SetSegments()
203 size_t nChars = nSegs - 1; in SetSegments()
204 for (size_t i = 0; i < nSegs; ++i) in SetSegments()
211 for (size_t i = 0; i < nSegs; ++i) { in SetSegments()
218 if (i != nSegs - 1) { in SetSegments()
Dcpdf_textobject.h75 size_t nSegs);
Dcpdf_streamcontentparser.cpp1224 size_t nSegs) { in AddTextObject() argument
1235 if (nSegs == 0) in AddTextObject()
1252 pText->SetSegments(pStrs, kernings, nSegs); in AddTextObject()
1265 if (!kernings.empty() && kernings[nSegs - 1] != 0) { in AddTextObject()
1267 m_pCurStates->m_TextPos.y -= GetVerticalTextSize(kernings[nSegs - 1]); in AddTextObject()
1269 m_pCurStates->m_TextPos.x -= GetHorizontalTextSize(kernings[nSegs - 1]); in AddTextObject()
Dcpdf_streamcontentparser.h110 size_t nSegs);
/external/pdfium/core/fpdfapi/font/
Dcpdf_cmapparser.cpp128 size_t nSegs = m_Ranges.size() + m_PendingRanges.size(); in HandleCodeSpaceRange() local
129 if (nSegs == 1) { in HandleCodeSpaceRange()
134 } else if (nSegs > 1) { in HandleCodeSpaceRange()
136 m_Ranges.reserve(nSegs); in HandleCodeSpaceRange()
/external/libopus/silk/float/
Dnoise_shape_analysis_FLP.c155 opus_int k, nSamples, nSegs; in silk_noise_shape_analysis_FLP() local
205 nSegs = silk_SMULBB( SUB_FRAME_LENGTH_MS, psEnc->sCmn.nb_subfr ) / 2; in silk_noise_shape_analysis_FLP()
206 for( k = 0; k < nSegs; k++ ) { in silk_noise_shape_analysis_FLP()
217 if( energy_variation > ENERGY_VARIATION_THRESHOLD_QNT_OFFSET * (nSegs-1) ) { in silk_noise_shape_analysis_FLP()
/external/libopus/silk/fixed/
Dnoise_shape_analysis_FIX.c149 opus_int k, i, nSamples, nSegs, Qnrg, b_Q14, warping_Q16, scale = 0; in silk_noise_shape_analysis_FIX() local
208 nSegs = silk_SMULBB( SUB_FRAME_LENGTH_MS, psEnc->sCmn.nb_subfr ) / 2; in silk_noise_shape_analysis_FIX()
209 for( k = 0; k < nSegs; k++ ) { in silk_noise_shape_analysis_FIX()
222 …f( energy_variation_Q7 > SILK_FIX_CONST( ENERGY_VARIATION_THRESHOLD_QNT_OFFSET, 7 ) * (nSegs-1) ) { in silk_noise_shape_analysis_FIX()