Searched refs:indices (Results 1 - 25 of 647) sorted by relevance

1234567891011>>

/external/lzma/CPP/7zip/UI/Common/
H A DSortUtils.h8 void SortFileNames(const UStringVector &strings, CIntVector &indices);
H A DSortUtils.cpp14 void SortFileNames(const UStringVector &strings, CIntVector &indices) argument
16 indices.Clear();
18 indices.Reserve(numItems);
20 indices.Add(i);
21 indices.Sort(CompareStrings, (void *)&strings);
/external/chromium_org/third_party/opus/src/silk/
H A Ddecode_indices.c56 psDec->indices.signalType = (opus_int8)silk_RSHIFT( Ix, 1 );
57 psDec->indices.quantOffsetType = (opus_int8)( Ix & 1 );
65 psDec->indices.GainsIndices[ 0 ] = (opus_int8)ec_dec_icdf( psRangeDec, silk_delta_gain_iCDF, 8 );
68 psDec->indices.GainsIndices[ 0 ] = (opus_int8)silk_LSHIFT( ec_dec_icdf( psRangeDec, silk_gain_iCDF[ psDec->indices.signalType ], 8 ), 3 );
69 psDec->indices.GainsIndices[ 0 ] += (opus_int8)ec_dec_icdf( psRangeDec, silk_uniform8_iCDF, 8 );
74 psDec->indices.GainsIndices[ i ] = (opus_int8)ec_dec_icdf( psRangeDec, silk_delta_gain_iCDF, 8 );
80 psDec->indices.NLSFIndices[ 0 ] = (opus_int8)ec_dec_icdf( psRangeDec, &psDec->psNLSF_CB->CB1_iCDF[ ( psDec->indices.signalType >> 1 ) * psDec->psNLSF_CB->nVectors ], 8 );
81 silk_NLSF_unpack( ec_ix, pred_Q8, psDec->psNLSF_CB, psDec->indices
[all...]
H A Ddecode_parameters.c46 silk_gains_dequant( psDecCtrl->Gains_Q16, psDec->indices.GainsIndices,
52 silk_NLSF_decode( pNLSF_Q15, psDec->indices.NLSFIndices, psDec->psNLSF_CB );
60 psDec->indices.NLSFInterpCoef_Q2 = 4;
63 if( psDec->indices.NLSFInterpCoef_Q2 < 4 ) {
67 pNLSF0_Q15[ i ] = psDec->prevNLSF_Q15[ i ] + silk_RSHIFT( silk_MUL( psDec->indices.NLSFInterpCoef_Q2,
86 if( psDec->indices.signalType == TYPE_VOICED ) {
92 silk_decode_pitch( psDec->indices.lagIndex, psDec->indices.contourIndex, psDecCtrl->pitchL, psDec->fs_kHz, psDec->nb_subfr );
95 cbk_ptr_Q7 = silk_LTP_vq_ptrs_Q7[ psDec->indices.PERIndex ]; /* set pointer to start of codebook */
98 Ix = psDec->indices
[all...]
H A Dprocess_NLSFs.c51 silk_assert( psEncC->useInterpolatedNLSFs == 1 || psEncC->indices.NLSFInterpCoef_Q2 == ( 1 << 2 ) );
70 doInterpolate = ( psEncC->useInterpolatedNLSFs == 1 ) && ( psEncC->indices.NLSFInterpCoef_Q2 < 4 );
74 psEncC->indices.NLSFInterpCoef_Q2, psEncC->predictLPCOrder );
80 i_sqr_Q15 = silk_LSHIFT( silk_SMULBB( psEncC->indices.NLSFInterpCoef_Q2, psEncC->indices.NLSFInterpCoef_Q2 ), 11 );
87 silk_NLSF_encode( psEncC->indices.NLSFIndices, pNLSF_Q15, psEncC->psNLSF_CB, pNLSFW_QW,
88 NLSF_mu_Q20, psEncC->NLSF_MSVQ_Survivors, psEncC->indices.signalType );
96 psEncC->indices.NLSFInterpCoef_Q2, psEncC->predictLPCOrder );
/external/libopus/silk/
H A Ddecode_indices.c56 psDec->indices.signalType = (opus_int8)silk_RSHIFT( Ix, 1 );
57 psDec->indices.quantOffsetType = (opus_int8)( Ix & 1 );
65 psDec->indices.GainsIndices[ 0 ] = (opus_int8)ec_dec_icdf( psRangeDec, silk_delta_gain_iCDF, 8 );
68 psDec->indices.GainsIndices[ 0 ] = (opus_int8)silk_LSHIFT( ec_dec_icdf( psRangeDec, silk_gain_iCDF[ psDec->indices.signalType ], 8 ), 3 );
69 psDec->indices.GainsIndices[ 0 ] += (opus_int8)ec_dec_icdf( psRangeDec, silk_uniform8_iCDF, 8 );
74 psDec->indices.GainsIndices[ i ] = (opus_int8)ec_dec_icdf( psRangeDec, silk_delta_gain_iCDF, 8 );
80 psDec->indices.NLSFIndices[ 0 ] = (opus_int8)ec_dec_icdf( psRangeDec, &psDec->psNLSF_CB->CB1_iCDF[ ( psDec->indices.signalType >> 1 ) * psDec->psNLSF_CB->nVectors ], 8 );
81 silk_NLSF_unpack( ec_ix, pred_Q8, psDec->psNLSF_CB, psDec->indices
[all...]
H A Ddecode_parameters.c46 silk_gains_dequant( psDecCtrl->Gains_Q16, psDec->indices.GainsIndices,
52 silk_NLSF_decode( pNLSF_Q15, psDec->indices.NLSFIndices, psDec->psNLSF_CB );
60 psDec->indices.NLSFInterpCoef_Q2 = 4;
63 if( psDec->indices.NLSFInterpCoef_Q2 < 4 ) {
67 pNLSF0_Q15[ i ] = psDec->prevNLSF_Q15[ i ] + silk_RSHIFT( silk_MUL( psDec->indices.NLSFInterpCoef_Q2,
86 if( psDec->indices.signalType == TYPE_VOICED ) {
92 silk_decode_pitch( psDec->indices.lagIndex, psDec->indices.contourIndex, psDecCtrl->pitchL, psDec->fs_kHz, psDec->nb_subfr );
95 cbk_ptr_Q7 = silk_LTP_vq_ptrs_Q7[ psDec->indices.PERIndex ]; /* set pointer to start of codebook */
98 Ix = psDec->indices
[all...]
H A Dprocess_NLSFs.c51 silk_assert( psEncC->useInterpolatedNLSFs == 1 || psEncC->indices.NLSFInterpCoef_Q2 == ( 1 << 2 ) );
70 doInterpolate = ( psEncC->useInterpolatedNLSFs == 1 ) && ( psEncC->indices.NLSFInterpCoef_Q2 < 4 );
74 psEncC->indices.NLSFInterpCoef_Q2, psEncC->predictLPCOrder );
80 i_sqr_Q15 = silk_LSHIFT( silk_SMULBB( psEncC->indices.NLSFInterpCoef_Q2, psEncC->indices.NLSFInterpCoef_Q2 ), 11 );
87 silk_NLSF_encode( psEncC->indices.NLSFIndices, pNLSF_Q15, psEncC->psNLSF_CB, pNLSFW_QW,
88 NLSF_mu_Q20, psEncC->NLSF_MSVQ_Survivors, psEncC->indices.signalType );
96 psEncC->indices.NLSFInterpCoef_Q2, psEncC->predictLPCOrder );
/external/fonttools/Lib/fontTools/ttLib/tables/
H A DT_S_I__0.py18 indices = []
22 indices.append((glyphID, textLength, textOffset))
25 assert indices[-5] == (0XFFFE, 0, -1409540300), "bad magic number" # 0xABFC1F34
26 self.indices = indices[:-5]
27 self.extra_indices = indices[-4:]
30 if not hasattr(self, "indices"):
35 for index, textLength, textOffset in self.indices:
42 def set(self, indices, extra_indices):
44 self.indices
[all...]
/external/fonttools/Tools/fontTools/ttLib/tables/
H A DT_S_I__0.py18 indices = []
22 indices.append((glyphID, textLength, textOffset))
25 assert indices[-5] == (0XFFFE, 0, -1409540300), "bad magic number" # 0xABFC1F34
26 self.indices = indices[:-5]
27 self.extra_indices = indices[-4:]
30 if not hasattr(self, "indices"):
35 for index, textLength, textOffset in self.indices:
42 def set(self, indices, extra_indices):
44 self.indices
[all...]
/external/chromium_org/third_party/angle/samples/angle/sample_util/
H A Dgeometry_utils.cpp35 result->indices.clear();
36 result->indices.reserve(indexCount);
41 result->indices.push_back( i * (sliceCount + 1) + j );
42 result->indices.push_back((i + 1) * (sliceCount + 1) + j );
43 result->indices.push_back((i + 1) * (sliceCount + 1) + (j + 1));
45 result->indices.push_back( i * (sliceCount + 1) + j );
46 result->indices.push_back((i + 1) * (sliceCount + 1) + (j + 1));
47 result->indices.push_back( i * (sliceCount + 1) + (j + 1));
132 result->indices.resize(36);
133 result->indices[
[all...]
/external/icu/icu4c/source/layout/
H A DCanonShaping.cpp15 void CanonShaping::sortMarks(le_int32 *indices, const le_int32 *combiningClasses, le_int32 index, le_int32 limit) argument
19 le_int32 v = indices[j];
23 if (c >= combiningClasses[indices[i]]) {
27 indices[i + 1] = indices[i];
30 indices[i + 1] = v;
41 le_int32 *indices = LE_NEW_ARRAY(le_int32, charCount); local
46 indices[i] = i;
59 sortMarks(indices, combiningClasses, i, mark);
71 le_int32 index = indices[
[all...]
/external/libcxx/test/re/re.iter/re.tokiter/re.tokiter.cnstr/
H A Darray.fail.cpp36 const int indices[] = {-1, 0, 1}; local
38 std::regex("\\d{3}-\\d{4}"), indices);
/external/chromium_org/third_party/skia/src/core/
H A DSkVertState.cpp23 const uint16_t* indices = state->fIndices; local
28 state->f0 = indices[index + 0];
29 state->f1 = indices[index + 1];
30 state->f2 = indices[index + 2];
53 const uint16_t* indices = state->fIndices; local
58 state->f2 = indices[index + 2];
60 state->f0 = indices[index + 1];
61 state->f1 = indices[index + 0];
63 state->f0 = indices[index + 0];
64 state->f1 = indices[inde
83 const uint16_t* indices = state->fIndices; local
[all...]
H A DSkVertState.h25 * If the vertices are unindexed pass NULL for indices.
27 VertState(int vCount, const uint16_t indices[], int indexCount) argument
28 : fIndices(indices) {
30 if (indices) {
/external/skia/src/core/
H A DSkVertState.cpp23 const uint16_t* indices = state->fIndices; local
28 state->f0 = indices[index + 0];
29 state->f1 = indices[index + 1];
30 state->f2 = indices[index + 2];
53 const uint16_t* indices = state->fIndices; local
58 state->f2 = indices[index + 2];
60 state->f0 = indices[index + 1];
61 state->f1 = indices[index + 0];
63 state->f0 = indices[index + 0];
64 state->f1 = indices[inde
83 const uint16_t* indices = state->fIndices; local
[all...]
H A DSkVertState.h25 * If the vertices are unindexed pass NULL for indices.
27 VertState(int vCount, const uint16_t indices[], int indexCount) argument
28 : fIndices(indices) {
30 if (indices) {
/external/chromium_org/third_party/opus/src/silk/fixed/
H A DLTP_scale_ctrl_FIX.c46 psEnc->sCmn.indices.LTP_scaleIndex = (opus_int8)silk_LIMIT(
50 psEnc->sCmn.indices.LTP_scaleIndex = 0;
52 psEncCtrl->LTP_scale_Q14 = silk_LTPScales_table_Q14[ psEnc->sCmn.indices.LTP_scaleIndex ];
/external/chromium_org/third_party/opus/src/silk/float/
H A DLTP_scale_ctrl_FLP.c45 psEnc->sCmn.indices.LTP_scaleIndex = (opus_int8)silk_LIMIT( round_loss * psEncCtrl->LTPredCodGain * 0.1f, 0.0f, 2.0f );
48 psEnc->sCmn.indices.LTP_scaleIndex = 0;
51 psEncCtrl->LTP_scale = (silk_float)silk_LTPScales_table_Q14[ psEnc->sCmn.indices.LTP_scaleIndex ] / 16384.0f;
/external/libopus/silk/fixed/
H A DLTP_scale_ctrl_FIX.c46 psEnc->sCmn.indices.LTP_scaleIndex = (opus_int8)silk_LIMIT(
50 psEnc->sCmn.indices.LTP_scaleIndex = 0;
52 psEncCtrl->LTP_scale_Q14 = silk_LTPScales_table_Q14[ psEnc->sCmn.indices.LTP_scaleIndex ];
/external/libopus/silk/float/
H A DLTP_scale_ctrl_FLP.c45 psEnc->sCmn.indices.LTP_scaleIndex = (opus_int8)silk_LIMIT( round_loss * psEncCtrl->LTPredCodGain * 0.1f, 0.0f, 2.0f );
48 psEnc->sCmn.indices.LTP_scaleIndex = 0;
51 psEncCtrl->LTP_scale = (silk_float)silk_LTPScales_table_Q14[ psEnc->sCmn.indices.LTP_scaleIndex ] / 16384.0f;
/external/chromium_org/third_party/WebKit/public/web/
H A DWebExternalPopupMenuClient.h49 // Should be called when a set of indices have been selected.
52 virtual void didAcceptIndices(const WebVector<int>& indices) = 0;
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/
H A DIndexRangeCache.cpp8 // ranges of indices.
21 static RangeUI ComputeTypedRange(const IndexType *indices, GLsizei count) argument
23 unsigned int minIndex = indices[0];
24 unsigned int maxIndex = indices[0];
28 if (minIndex > indices[i]) minIndex = indices[i];
29 if (maxIndex < indices[i]) maxIndex = indices[i];
35 RangeUI IndexRangeCache::ComputeRange(GLenum type, const GLvoid *indices, GLsizei count) argument
40 return ComputeTypedRange(static_cast<const GLubyte*>(indices), coun
[all...]
/external/chromium_org/third_party/angle/tests/angle_tests/
H A DLineLoopTest.cpp131 static const GLubyte indices[] = { 0, 7, 6, 9, 8, 0 }; local
132 runTest(GL_UNSIGNED_BYTE, 0, indices + 1);
137 static const GLushort indices[] = { 0, 7, 6, 9, 8, 0 }; local
138 runTest(GL_UNSIGNED_SHORT, 0, indices + 1);
148 static const GLuint indices[] = { 0, 7, 6, 9, 8, 0 }; local
149 runTest(GL_UNSIGNED_INT, 0, indices + 1);
154 static const GLubyte indices[] = { 0, 7, 6, 9, 8, 0 }; local
159 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(indices), indices, GL_STATIC_DRAW);
168 static const GLushort indices[] local
187 static const GLuint indices[] = { 0, 7, 6, 9, 8, 0 }; local
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
H A Dlp_setup_vbuf.c135 lp_setup_draw_elements(struct vbuf_render *vbr, const ushort *indices, uint nr) argument
152 get_vert(vertex_buffer, indices[i-0], stride) );
159 get_vert(vertex_buffer, indices[i-1], stride),
160 get_vert(vertex_buffer, indices[i-0], stride) );
167 get_vert(vertex_buffer, indices[i-1], stride),
168 get_vert(vertex_buffer, indices[i-0], stride) );
175 get_vert(vertex_buffer, indices[i-1], stride),
176 get_vert(vertex_buffer, indices[i-0], stride) );
180 get_vert(vertex_buffer, indices[nr-1], stride),
181 get_vert(vertex_buffer, indices[
[all...]

Completed in 596 milliseconds

1234567891011>>