/frameworks/base/media/java/android/media/ |
H A D | MediaCodecList.java | 32 public static final MediaCodecInfo getCodecInfoAt(int index) { argument 33 if (index < 0 || index > getCodecCount()) { 37 return new MediaCodecInfo(index); 40 /* package private */ static native final String getCodecName(int index); argument 42 /* package private */ static native final boolean isEncoder(int index); argument 44 /* package private */ static native final String[] getSupportedTypes(int index); argument 47 getCodecCapabilities(int index, String type); argument
|
/frameworks/av/media/libeffects/testlibs/ |
H A D | AudioCoefInterpolator.cpp | 44 size_t index = 0; local 51 index += mInDimOffsets[dim] * (mInDims[dim] - 1); 53 index += mInDimOffsets[dim] * intCoord[dim]; 56 getCoefRecurse(index, fracCoord, out, 0); 59 void AudioCoefInterpolator::getCoefRecurse(size_t index, argument 63 memcpy(out, mTable + index, mNumOutDims * sizeof(audio_coef_t)); 65 getCoefRecurse(index, fracCoord, out, dim + 1); 68 getCoefRecurse(index + mInDimOffsets[dim], fracCoord, tempCoef,
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerStreamListener.cpp | 55 void NuPlayer::NuPlayerStreamListener::queueBuffer(size_t index, size_t size) { argument 58 entry.mIndex = index;
|
/frameworks/av/media/libnbaio/ |
H A D | SourceAudioBufferProvider.cpp | 35 ssize_t index = source->negotiate(NULL, 0, counterOffers, numCounterOffers); local 36 ALOG_ASSERT(index == (ssize_t) NEGOTIATE && numCounterOffers > 0); 38 index = source->negotiate(counterOffers, 1, NULL, numCounterOffers); 39 ALOG_ASSERT(index == 0);
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | d_gain_c.cpp | 60 index = received quantization index of type Word16 82 Purpose : Decode the fixed codebook gain using the received index. 193 Word16 index, /* i : received quantization index */ 220 index &= 31; /* index < 32, to avoid buffer overflow */ 221 tbl_tmp = index + (index << 1); 190 d_gain_code( gc_predState *pred_state, enum Mode mode, Word16 index, Word16 code[], Word16 *gain_code, Flag *pOverflow ) argument
|
H A D | dec_gain.cpp | 111 index = AMR mode of type enum Mode 184 Word16 index, /* i : index of quantization. */ 204 index = shl(index, 2, pOverflow); 208 p = &table_gain_highrates[index]; 219 index += (1 ^ evenSubfr) << 1; /* evenSubfr is 0 or 1 */ 221 if (index > (MR475_VQ_SIZE*4 - 2)) 223 index = (MR475_VQ_SIZE * 4 - 2); /* avoid possible buffer overflow */ 226 p = &table_gain_MR475[index]; 181 Dec_gain( gc_predState *pred_state, enum Mode mode, Word16 index, Word16 code[], Word16 evenSubfr, Word16 * gain_pit, Word16 * gain_cod, Flag * pOverflow ) argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | cbsearch.cpp | 88 Purpose : Inovative codebook search (find index and gain) 200 Word16 index; local 221 &index, 224 *(*anap)++ = index; /* sign index */ 236 &index, 239 *(*anap)++ = index; /* sign index */ 251 &index, 254 *(*anap)++ = index; /* sig [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/ |
H A D | omxVCM4P2_QuantInvIntra_I_s.s | 76 index RN 6 label 100 LDR index, =armVCM4P2_DCScaler 101 ADD index,index,videoComp,LSL #5 102 LDRB dcScaler,[index,QP]
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/ |
H A D | omxVCM4P2_EncodeMV.c | 42 * pBitOffset - index of the first free (next available) bit in the stream 61 * pBitOffset - updated index of the next available bit position in stream 91 OMX_U8 scaleFactor, index; local 181 /* The index is actually calculate as 182 index = ((float) (mvHorData/2) + 16) * 2, 186 index = mvHorData + 32; 187 armPackVLC32 (ppBitStream, pBitOffset, armVCM4P2_aVlcMVD[index]); 193 /* The index is actually calculate as 194 index = ((float) (mvVerData/2) + 16) * 2, 198 index [all...] |
/frameworks/av/media/libstagefright/omx/ |
H A D | SimpleSoftOMXComponent.cpp | 70 OMX_INDEXTYPE index, const OMX_PTR params) const { 77 switch (index) { 106 OMX_INDEXTYPE index, OMX_PTR params) { 108 return internalGetParameter(index, params); 112 OMX_INDEXTYPE index, const OMX_PTR params) { 115 CHECK(isSetParameterAllowed(index, params)); 117 return internalSetParameter(index, params); 121 OMX_INDEXTYPE index, OMX_PTR params) { 122 switch (index) { 148 OMX_INDEXTYPE index, cons 69 isSetParameterAllowed( OMX_INDEXTYPE index, const OMX_PTR params) const argument [all...] |
/frameworks/av/media/libstagefright/wifi-display/ |
H A D | Parameters.cpp | 78 ssize_t index = mDict.indexOfKey(key); local 80 if (index < 0) { 86 *value = mDict.valueAt(index);
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | MemInfoReader.java | 30 private boolean matchText(byte[] buffer, int index, String text) { argument 32 if ((index+N) >= buffer.length) { 36 if (buffer[index+i] != text.charAt(i)) { 43 private long extractMemValue(byte[] buffer, int index) { argument 44 while (index < buffer.length && buffer[index] != '\n') { 45 if (buffer[index] >= '0' && buffer[index] <= '9') { 46 int start = index; 47 index [all...] |
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
H A D | TextTest.java | 45 void addTest(int index, int fillNum) { argument 46 mTests[index] = new ScriptField_TestScripts_s.Item(); 47 mTests[index].testScript = mTextScript; 48 mTests[index].testName = Allocation.createFromString(mRS, 49 mNames[index], 51 mTests[index].debugName = RsBenchRS.createZeroTerminatedAlloc(mRS, 52 mNames[index], 59 mTests[index].testData = testData.getAllocation(); 68 int index = 0; 69 addTest(index [all...] |
/frameworks/base/tools/aidl/ |
H A D | generate_java.cpp | 27 VariableFactory::Get(int index) argument 29 return m_vars[index];
|
/frameworks/base/tools/preload/ |
H A D | Operation.java | 42 final int index; field in class:Operation 58 int index, Type type) { 62 this.index = index; 57 Operation(Proc process, LoadedClass loadedClass, long startTimeNanos, int index, Type type) argument
|
/frameworks/compile/libbcc/lib/Renderscript/runtime/ |
H A D | rs_element.c | 18 rsElementGetSubElement(rs_element e, uint32_t index) { argument 20 if (element == NULL || index >= element->mHal.state.fieldsCount) { 24 rs_element returnElem = {element->mHal.state.fields[index]}; 29 rsElementGetSubElementNameLength(rs_element e, uint32_t index) { argument 31 if (element == NULL || index >= element->mHal.state.fieldsCount) { 34 return element->mHal.state.fieldNameLengths[index]; 38 rsElementGetSubElementName(rs_element e, uint32_t index, char *name, uint32_t nameLength) { argument 40 if (element == NULL || index >= element->mHal.state.fieldsCount || 45 uint32_t numToCopy = element->mHal.state.fieldNameLengths[index]; 52 const char *nameSource = element->mHal.state.fieldNames[index]; 60 rsElementGetSubElementArraySize(rs_element e, uint32_t index) argument 69 rsElementGetSubElementOffsetBytes(rs_element e, uint32_t index) argument [all...] |
/frameworks/compile/linkloader/include/impl/ |
H A D | ELFSymbol.hxx | 35 size_t const index = shtab.getByName(std::string(".strtab"))->getIndex(); local 36 ELFSectionTy const *section = owner->getSectionByIndex(index); 47 size_t index) { 66 // Set the section header index 67 sh->index = index; 45 read(Archiver &AR, ELFObjectTy const *owner, size_t index) argument
|
/frameworks/native/libs/binder/ |
H A D | PermissionCache.cpp | 43 ssize_t index = mCache.indexOf(e); local 44 if (index >= 0) { 45 *granted = mCache.itemAt(index).granted; 55 ssize_t index = mPermissionNamesPool.indexOf(permission); local 56 if (index > 0) { 57 e.name = mPermissionNamesPool.itemAt(index); 66 index = mCache.indexOf(e); 67 if (index < 0) {
|
/frameworks/native/opengl/libagl/ |
H A D | BufferObjectManager.cpp | 91 int32_t index = mBuffers.indexOfKey(t); local 92 if (index >= 0) { 93 buffer_t* bo = mBuffers.valueAt(index); 95 mBuffers.removeItemsAt(index);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | IccPhoneBookInterfaceManagerProxy.java | 63 String newPhoneNumber, int index, String pin2) throws android.os.RemoteException { 65 newTag, newPhoneNumber, index, pin2); 62 updateAdnRecordsInEfByIndex(int efid, String newTag, String newPhoneNumber, int index, String pin2) argument
|
/frameworks/rs/driver/ |
H A D | rsdFrameBufferObj.h | 30 void setColorTarget(DrvAllocation *color, uint32_t index) { argument 31 mColorTargets[index] = color;
|
/frameworks/wilhelm/src/itf/ |
H A D | IAndroidEffectCapabilities.c | 44 SLuint32 index, SLInterfaceID *pEffectType, SLInterfaceID *pEffectImplementation, 50 if (index > thiz->mNumFx) { 55 *pEffectType = (SLInterfaceID) &thiz->mFxDescriptors[index].type; 58 *pEffectImplementation = (SLInterfaceID) &thiz->mFxDescriptors[index].uuid; 61 int len = strlen(thiz->mFxDescriptors[index].name); 62 strncpy((char*)pName, thiz->mFxDescriptors[index].name, 43 IAndroidEffectCapabilities_QueryEffect(SLAndroidEffectCapabilitiesItf self, SLuint32 index, SLInterfaceID *pEffectType, SLInterfaceID *pEffectImplementation, SLchar * pName, SLuint16 *pNameSize) argument
|
H A D | IMetadataTraversal.c | 66 SLMetadataTraversalItf self, SLuint32 index, SLuint32 *pSize) 85 static SLresult IMetadataTraversal_GetChildInfo(SLMetadataTraversalItf self, SLuint32 index, argument 97 static SLresult IMetadataTraversal_SetActiveNode(SLMetadataTraversalItf self, SLuint32 index) argument 101 if (SL_NODE_PARENT == index) { 105 thiz->mIndex = index; 65 IMetadataTraversal_GetChildMIMETypeSize( SLMetadataTraversalItf self, SLuint32 index, SLuint32 *pSize) argument
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | engine.c | 41 SLuint32 index; local 42 for (index = 0; index < numSupportedInterfaces + 1; ++index) { 45 result = slQuerySupportedEngineInterfaces(index, &interfaceID); 46 if (index < numSupportedInterfaces) { 48 printf("interface[%u] ", index); 50 engine_ids[index] = interfaceID; 51 engine_req[index] = SL_BOOLEAN_TRUE; 55 result = slQuerySupportedEngineInterfaces(index, NUL [all...] |
/frameworks/base/media/java/android/mtp/ |
H A D | MtpStorage.java | 57 * Generates a storage ID for storage of given index. 62 public static int getStorageId(int index) { argument 65 return ((index + 1) << 16) + 1;
|