Home
last modified time | relevance | path

Searched refs:ii (Results 1 – 25 of 192) sorted by relevance

12345678

/frameworks/av/media/libstagefright/codecs/avc/common/src/
Ddpb.cpp112 int framesize, ii; /* size of one frame */ in AVCConfigureSequence() local
124 for (ii = 0; ii < dpb->num_fs; ii++) in AVCConfigureSequence()
126 dpb->fs[ii]->IsReference = 0; in AVCConfigureSequence()
127 dpb->fs[ii]->IsOutputted |= 0x02; in AVCConfigureSequence()
163 for (ii = 0; ii < framesize; ii++) in AVCConfigureSequence()
165 video->mblock[ii].slice_id = -1; in AVCConfigureSequence()
208 int ii; in CleanUpDPB() local
211 for (ii = 0; ii < MAX_FS; ii++) in CleanUpDPB()
213 if (dpb->fs[ii] != NULL) in CleanUpDPB()
215 avcHandle->CBAVC_Free(userData, dpb->fs[ii]); in CleanUpDPB()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DTraceTest.java44 for (int ii = 0; ii < 20; ii++) { in testNativeTracingFromJava()
118 for (int ii = 0; ii < 6; ii++) { in aMethod()
121 for (int ii = 0; ii < 5; ii++) { in aMethod()
124 for (int ii = 0; ii < 4; ii++) { in aMethod()
125 count += dMethod(ii); in aMethod()
136 for (int ii = 0; ii < 4; ii++) { in bMethod()
148 for (int ii = 0; ii < 1000; ii++) { in cMethod()
149 count += ii; in cMethod()
163 for (int ii = 0; ii < 100; ii++) { in dMethod()
164 count += ii; in dMethod()
[all …]
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/
DLVPSA_Process.c54 LVM_INT16 ii; in LVPSA_Process() local
90 for (ii = 0; ii < pLVPSA_Inst->nRelevantFilters; ii++) in LVPSA_Process()
92 switch(pLVPSA_Inst->pBPFiltersPrecision[ii]) in LVPSA_Process()
95 BP_1I_D16F16C14_TRC_WRA_01 ( &pLVPSA_Inst->pBP_Instances[ii], in LVPSA_Process()
102 BP_1I_D16F32C30_TRC_WRA_01 ( &pLVPSA_Inst->pBP_Instances[ii], in LVPSA_Process()
115 ii); in LVPSA_Process()
163 LVM_INT32 StatusDelta, ii; in LVPSA_GetSpectrum() local
205 for(ii = 0; ii < pLVPSA_Inst->nBands; ii++) in LVPSA_GetSpectrum()
207 pCurrentValues[ii] = 0; in LVPSA_GetSpectrum()
208 pPeakValues[ii] = 0; in LVPSA_GetSpectrum()
[all …]
DLVPSA_Init.c49 LVM_UINT32 ii; in LVPSA_Init() local
74 for(ii = 0; ii < pInitParams->nBands; ii++) in LVPSA_Init()
76 if((pInitParams->pFiltersParams[ii].CenterFrequency > LVPSA_MAXCENTERFREQ) || in LVPSA_Init()
77 (pInitParams->pFiltersParams[ii].PostGain > LVPSA_MAXPOSTGAIN) || in LVPSA_Init()
78 (pInitParams->pFiltersParams[ii].PostGain < LVPSA_MINPOSTGAIN) || in LVPSA_Init()
79 (pInitParams->pFiltersParams[ii].QFactor < LVPSA_MINQFACTOR) || in LVPSA_Init()
80 (pInitParams->pFiltersParams[ii].QFactor > LVPSA_MAXQFACTOR)) in LVPSA_Init()
103 for (ii = 0; ii < LVPSA_NR_MEMORY_REGIONS; ii++) in LVPSA_Init()
105 if (pMemoryTable->Region[ii].Size!=0) in LVPSA_Init()
107 if (pMemoryTable->Region[ii].pBaseAddress==LVM_NULL) in LVPSA_Init()
[all …]
DLVPSA_Control.c178 LVM_UINT16 ii; in LVPSA_ApplyNewSettings() local
201 for(ii = pInst->nBands; ii > 0; ii--) in LVPSA_ApplyNewSettings()
203 pInst->pFiltersParams[ii-1].CenterFrequency = (LVM_UINT16) (Freq * ii); in LVPSA_ApplyNewSettings()
209 for(ii = pInst->nBands; ii > 0; ii--) in LVPSA_ApplyNewSettings()
211 …if(pInst->pFiltersParams[ii-1].CenterFrequency < (LVPSA_SampleRateTab[pInst->CurrentParams.Fs]>>1)) in LVPSA_ApplyNewSettings()
213 pInst->nRelevantFilters = ii; in LVPSA_ApplyNewSettings()
225 for(ii = 0; ii < (pInst->nBands * pInst->SpectralDataBufferLength); ii++) in LVPSA_ApplyNewSettings()
227 pInst->pSpectralDataBufferStart[ii] = 0; in LVPSA_ApplyNewSettings()
229 for(ii = 0; ii < pInst->nBands; ii++) in LVPSA_ApplyNewSettings()
231 pInst->pPreviousPeaks[ii] = 0; in LVPSA_ApplyNewSettings()
[all …]
DLVPSA_Memory.c54 LVM_UINT32 ii; in LVPSA_Memory() local
92 for(ii = 0; ii < pInitParams->nBands; ii++) in LVPSA_Memory()
94 if((pInitParams->pFiltersParams[ii].CenterFrequency > LVPSA_MAXCENTERFREQ) || in LVPSA_Memory()
95 (pInitParams->pFiltersParams[ii].PostGain > LVPSA_MAXPOSTGAIN) || in LVPSA_Memory()
96 (pInitParams->pFiltersParams[ii].PostGain < LVPSA_MINPOSTGAIN) || in LVPSA_Memory()
97 (pInitParams->pFiltersParams[ii].QFactor < LVPSA_MINQFACTOR) || in LVPSA_Memory()
98 (pInitParams->pFiltersParams[ii].QFactor > LVPSA_MAXQFACTOR)) in LVPSA_Memory()
DLVPSA_QPD_Process.c84 LVM_INT16 ii = numSamples; in LVPSA_QPD_Process() local
96 ii = (LVM_INT16)(ii - (LVM_INT16)pLVPSA_Inst->DownSamplingCount); in LVPSA_QPD_Process()
98 while (ii > 0) in LVPSA_QPD_Process()
142 pLVPSA_Inst->LocalSamplesCount = (LVM_UINT16)(numSamples - ii); in LVPSA_QPD_Process()
146 ii = (LVM_INT16)(ii-DownSamplingFactor); in LVPSA_QPD_Process()
173 pLVPSA_Inst->DownSamplingCount = (LVM_UINT16)(-ii); in LVPSA_QPD_Process()
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
Dinit.cpp36 int ii, maxFrameNum; in SetEncodeParam() local
92 ii = 0; in SetEncodeParam()
95 ii++; in SetEncodeParam()
98 if (ii < 4) ii = 4; in SetEncodeParam()
99 else if (ii > 16) ii = 16; in SetEncodeParam()
101 seqParam->log2_max_frame_num_minus4 = ii - 4;//LOG2_MAX_FRAME_NUM_MINUS4; /* default */ in SetEncodeParam()
103 video->MaxFrameNum = 1 << ii; //(LOG2_MAX_FRAME_NUM_MINUS4 + 4); /* default */ in SetEncodeParam()
129 for (ii = 0; ii < encParam->num_ref_frame; ii++) in SetEncodeParam()
131 seqParam->offset_for_ref_frame[ii] = encParam->offset_poc_ref[ii]; in SetEncodeParam()
180 for (ii = 0; ii < (int) extS->num_ref_frames; ii++) in SetEncodeParam()
[all …]
/frameworks/av/media/libeffects/lvm/lib/Common/src/
DLVC_Core_MixSoft_1St_D16C31_WRA.c38 LVM_INT32 ii; in LVC_Core_MixSoft_1St_D16C31_WRA() local
57 for (ii = OutLoop; ii != 0; ii--){ in LVC_Core_MixSoft_1St_D16C31_WRA()
62 for (ii = InLoop; ii != 0; ii--){ in LVC_Core_MixSoft_1St_D16C31_WRA()
84 for (ii = OutLoop; ii != 0; ii--){ in LVC_Core_MixSoft_1St_D16C31_WRA()
89 for (ii = InLoop; ii != 0; ii--){ in LVC_Core_MixSoft_1St_D16C31_WRA()
DLVC_Core_MixInSoft_D16C31_SAT.c38 LVM_INT32 ii,jj; in LVC_Core_MixInSoft_D16C31_SAT() local
57 for (ii = OutLoop; ii != 0; ii--){ in LVC_Core_MixInSoft_D16C31_SAT()
68 for (ii = InLoop; ii != 0; ii--){ in LVC_Core_MixInSoft_D16C31_SAT()
95 for (ii = OutLoop; ii != 0; ii--){ in LVC_Core_MixInSoft_D16C31_SAT()
106 for (ii = InLoop; ii != 0; ii--){ in LVC_Core_MixInSoft_D16C31_SAT()
DCopy_16.c32 LVM_INT16 ii; in Copy_16() local
36 for (ii = n; ii != 0; ii--) in Copy_16()
47 for (ii = n; ii != 0; ii--) in Copy_16()
DShift_Sat_v16xv16.c34 LVM_INT32 ii; in Shift_Sat_v16xv16() local
38 for (ii = n; ii != 0; ii--) in Shift_Sat_v16xv16()
64 for (ii = n; ii != 0; ii--) in Shift_Sat_v16xv16()
DShift_Sat_v32xv32.c33 LVM_INT32 ii; in Shift_Sat_v32xv32() local
40 for (ii = n; ii != 0; ii--) in Shift_Sat_v32xv32()
66 for (ii = n; ii != 0; ii--) in Shift_Sat_v32xv32()
DCore_MixInSoft_D32C31_SAT.c39 LVM_INT16 ii,jj; in Core_MixInSoft_D32C31_SAT() local
55 for (ii = OutLoop; ii != 0; ii--){ in Core_MixInSoft_D32C31_SAT()
71 for (ii = InLoop; ii != 0; ii--){ in Core_MixInSoft_D32C31_SAT()
DCore_MixSoft_1St_D32C31_WRA.c40 LVM_INT16 ii; in Core_MixSoft_1St_D32C31_WRA() local
57 for (ii = OutLoop; ii != 0; ii--) in Core_MixSoft_1St_D32C31_WRA()
68 for (ii = InLoop; ii != 0; ii--) in Core_MixSoft_1St_D32C31_WRA()
DLoadConst_32.c32 LVM_INT16 ii; in LoadConst_32() local
34 for (ii = n; ii != 0; ii--) in LoadConst_32()
DLoadConst_16.c32 LVM_INT16 ii; in LoadConst_16() local
34 for (ii = n; ii != 0; ii--) in LoadConst_16()
DMonoTo2I_16.c32 LVM_INT16 ii; in MonoTo2I_16() local
36 for (ii = n; ii != 0; ii--) in MonoTo2I_16()
DFrom2iToMono_32.c32 LVM_INT16 ii; in From2iToMono_32() local
35 for (ii = n; ii != 0; ii--) in From2iToMono_32()
DMonoTo2I_32.c32 LVM_INT16 ii; in MonoTo2I_32() local
36 for (ii = n; ii != 0; ii--) in MonoTo2I_32()
DInt16LShiftToInt32_16x32.c33 LVM_INT16 ii; in Int16LShiftToInt32_16x32() local
38 for (ii = n; ii != 0; ii--) in Int16LShiftToInt32_16x32()
DFrom2iToMono_16.c32 LVM_INT16 ii; in From2iToMono_16() local
34 for (ii = n; ii != 0; ii--) in From2iToMono_16()
/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java393 final ItemInfo ii = mItems.get(i); in setAdapter() local
394 mAdapter.destroyItem(this, ii.position, ii.object); in setAdapter()
806 ItemInfo ii = new ItemInfo(); in addNewItem() local
807 ii.position = position; in addNewItem()
808 ii.object = mAdapter.instantiateItem(this, position); in addNewItem()
809 ii.widthFactor = mAdapter.getPageWidth(position); in addNewItem()
811 mItems.add(ii); in addNewItem()
813 mItems.add(index, ii); in addNewItem()
815 return ii; in addNewItem()
829 final ItemInfo ii = mItems.get(i); in dataSetChanged()
[all …]
/frameworks/support/core-ui/java/android/support/v4/view/
DViewPager.java514 final ItemInfo ii = mItems.get(i); in setAdapter() local
515 mAdapter.destroyItem(this, ii.position, ii.object); in setAdapter()
1036 ItemInfo ii = new ItemInfo(); in addNewItem() local
1037 ii.position = position; in addNewItem()
1038 ii.object = mAdapter.instantiateItem(this, position); in addNewItem()
1039 ii.widthFactor = mAdapter.getPageWidth(position); in addNewItem()
1041 mItems.add(ii); in addNewItem()
1043 mItems.add(index, ii); in addNewItem()
1045 return ii; in addNewItem()
1059 final ItemInfo ii = mItems.get(i); in dataSetChanged()
[all …]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
Dq_gain_p.cpp220 Word16 ii; in q_gain_pitch() local
224 ii = index; in q_gain_pitch()
231 ii = index - 2; in q_gain_pitch()
235 ii = index - 1; in q_gain_pitch()
242 gain_cind[i] = ii; in q_gain_pitch()
243 gain_cand[i] = qua_gain_pitch[ii]; in q_gain_pitch()
245 ii = add(ii, 1, pOverflow); in q_gain_pitch()

12345678