/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
H A D | weight_amrwb_lpc.cpp | 48 int16 ap[], (o) Q12 : Spectral expanded LPC coefficients 56 ap[i] = a[i] (gamma i) 118 int16 ap[], /* (o) Q12 : Spectral expanded LPC coefficients */ 125 ap[0] = a[0]; 129 ap[i] = (int16)(fxp_mac_16by16(a[i], fac, roundFactor) >> 15); 132 ap[i] = (int16)(fxp_mac_16by16(a[i], fac, roundFactor) >> 15); 116 weight_amrwb_lpc( int16 a[], int16 ap[], int16 gamma, int16 m ) argument
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | weight_a.c | 21 * ap[i] = a[i] * (gamma ** i) * 30 Word16 ap[], /* (o) Q12 : Spectral expanded LPC coefficients */ 36 *ap++ = *a++; 39 *ap++ =(Word16)(((vo_L_mult((*a++), fac)) + 0x8000) >> 16); 43 *ap++ = (Word16)(((vo_L_mult((*a++), fac)) + 0x8000) >> 16); 28 Weight_a( Word16 a[], Word16 ap[], Word16 gamma, Word16 m ) argument
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
H A D | armVCM4P10_DeBlockPixel.c | 56 int ap, aq, delta; local 79 ap = armAbs(p2 - p0); 92 if (ap < beta) 108 if (ChromaFlag==0 && ap<beta) 124 if (ChromaFlag==0 && ap<beta && armAbs(p0-q0)<((alpha>>2)+2))
|
/frameworks/wilhelm/src/ |
H A D | handler_bodies.c | 27 CAudioPlayer *ap = (CAudioPlayer *) thiz; local 28 android_audioPlayer_volumeUpdate(ap); 62 CAudioPlayer *ap; local 63 ap = (CAudioPlayer *) thiz; 65 (void) android_audioPlayer_seek(ap, ap->mSeek.mPos); 81 CAudioPlayer *ap = (CAudioPlayer *) thiz; local 82 android_audioPlayer_usePlayEventMask(ap); 90 CAudioPlayer *ap = (CAudioPlayer *) thiz; local 91 android_audioPlayer_setPlayState(ap); 130 CAudioPlayer *ap = (CAudioPlayer *) thiz; local 141 CAudioPlayer *ap = (CAudioPlayer *) thiz; local 172 CAudioPlayer *ap = (CAudioPlayer *) thiz; local [all...] |
H A D | locks.c | 208 CAudioPlayer *ap = (CAudioPlayer *) thiz; local 209 prefetchCallback = ap->mPrefetchStatus.mDeferredPrefetchCallback; 210 prefetchContext = ap->mPrefetchStatus.mDeferredPrefetchContext; 211 prefetchEvents = ap->mPrefetchStatus.mDeferredPrefetchEvents; 212 ap->mPrefetchStatus.mDeferredPrefetchCallback = NULL; 214 ap->mPrefetchStatus.mDeferredPrefetchContext = NULL; 215 ap->mPrefetchStatus.mDeferredPrefetchEvents = SL_PREFETCHEVENT_NONE; 216 if (ap->mDeferredStart) { 217 audioTrack = ap->mAudioTrack; 218 ap 236 CAudioPlayer *ap = (CAudioPlayer *) thiz; local [all...] |
/frameworks/wilhelm/src/itf/ |
H A D | IAndroidEffect.cpp | 30 CAudioPlayer *ap = (CAudioPlayer *)thiz->mThis; local 31 if (ap->mAudioTrack != 0) { 32 result = android_genericFx_createEffect(thiz, effectImplementationId, ap->mSessionId);
|
H A D | ISeek.c | 67 CAudioPlayer *ap = InterfaceToCAudioPlayer(thiz); local 68 if (NULL != ap) { 69 result = android_audioPlayer_loop(ap, loopEnable);
|
H A D | IAndroidEffectSend.c | 35 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? local 37 if (NULL == ap) { 41 COutputMix *outputMix = CAudioPlayer_GetOutputMix(ap); 44 result = android_fxSend_attachToAux(ap, effectImplementationId, enable, 45 initialLevel + ap->mVolume.mLevel); 93 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? local 95 if (NULL != ap) { 96 SLmillibel oldDirectLevel = ap->mDirectLevel; 98 ap->mDirectLevel = directLevel; 99 ap 126 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? local 155 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? local 194 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? local [all...] |
H A D | IMuteSolo.c | 31 CAudioPlayer *ap = (CAudioPlayer *) thisObject; local 33 SLuint8 numChannels = ap->mNumChannels; 42 SLuint8 oldMuteMask = ap->mMuteMask; 44 ap->mMuteMask |= mask; 46 ap->mMuteMask &= ~mask; 48 interface_unlock_exclusive_attributes(thiz, oldMuteMask != ap->mMuteMask ? ATTR_GAIN : 70 CAudioPlayer *ap = (CAudioPlayer *) thisObject; local 73 SLuint8 numChannels = ap->mNumChannels; 81 SLuint8 mask = ap->mMuteMask; 103 CAudioPlayer *ap local 142 CAudioPlayer *ap = (CAudioPlayer *) thisObject; local 178 CAudioPlayer *ap = (CAudioPlayer *) thisObject; local [all...] |
H A D | IPlaybackRate.c | 33 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? local 35 if (NULL != ap) { 36 result = android_audioPlayer_setPlaybackRateAndConstraints(ap, rate, thiz->mProperties); 87 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? local 89 if (NULL != ap) { 90 result = android_audioPlayer_setPlaybackRateAndConstraints(ap, thiz->mRate,
|
H A D | IPrefetchStatus.c | 128 CAudioPlayer *ap = (CAudioPlayer *) thiz->mThis; local 129 android_audioPlayer_setBufferingUpdateThresholdPerMille(ap, period);
|
H A D | IEffectSend.c | 133 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? local 136 assert(NULL != ap); 138 COutputMix *outputMix = CAudioPlayer_GetOutputMix(ap); 142 result = translateEnableFxSendError(android_fxSend_attach(ap, (bool) enable, 144 initialLevel + ap->mVolume.mLevel)); 146 result = translateEnableFxSendError(android_fxSend_attach(ap, (bool) enable, 148 initialLevel + ap->mVolume.mLevel)); 199 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? local 201 if (NULL != ap) { 202 SLmillibel oldDirectLevel = ap 234 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? local 270 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? local [all...] |
H A D | IEngine.c | 24 static SLresult initializeBufferQueueMembers(CAudioPlayer *ap) { argument 26 if (BUFFER_HEADER_TYPICAL >= ap->mBufferQueue.mNumBuffers) { 27 ap->mBufferQueue.mArray = ap->mBufferQueue.mTypical; 32 if (ap->mBufferQueue.mNumBuffers >= 256) { 35 ap->mBufferQueue.mArray = (BufferHeader *) 36 malloc((ap->mBufferQueue.mNumBuffers + 1) * sizeof(BufferHeader)); 37 if (NULL == ap->mBufferQueue.mArray) { 41 ap->mBufferQueue.mFront = ap 47 initializeAndroidBufferQueueMembers(CAudioPlayer *ap) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | MediaRouteActionProvider.java | 145 RouterCallback(MediaRouteActionProvider ap) { argument 146 mAp = new WeakReference<MediaRouteActionProvider>(ap); 151 final MediaRouteActionProvider ap = mAp.get(); 152 if (ap == null) { 157 ap.refreshVisibility(); 162 final MediaRouteActionProvider ap = mAp.get(); 163 if (ap == null) { 168 ap.refreshVisibility();
|
/frameworks/base/tools/aapt/ |
H A D | SourcePos.cpp | 124 va_list ap; local 125 va_start(ap, fmt); 126 retval = vsnprintf(buf, sizeof(buf), fmt, ap); 127 va_end(ap); 142 va_list ap; local 143 va_start(ap, fmt); 144 retval = vsnprintf(buf, sizeof(buf), fmt, ap); 145 va_end(ap);
|
/frameworks/compile/linkloader/ |
H A D | main.cpp | 80 va_list ap; local 81 va_start(ap, fmt); 82 int result = vprintf(fmt, ap); 83 va_end(ap); 88 va_list ap; local 89 va_start(ap, fmt); 90 int result = vscanf(fmt, ap); 91 va_end(ap);
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | AString.cpp | 324 va_list ap; local 325 va_start(ap, format); 328 vasprintf(&buffer, format, ap); 330 va_end(ap);
|
/frameworks/base/media/jni/soundpool/ |
H A D | android_media_SoundPool.cpp | 45 SoundPool *ap = MusterSoundPool(env, thiz); local 51 int id = ap->load(s, priority); 61 SoundPool *ap = MusterSoundPool(env, thiz); local 62 if (ap == NULL) return 0; 63 return ap->load(jniGetFDFromFileDescriptor(env, fileDescriptor), 70 SoundPool *ap = MusterSoundPool(env, thiz); local 71 if (ap == NULL) return 0; 72 return ap->unload(sampleID); 81 SoundPool *ap = MusterSoundPool(env, thiz); local 82 if (ap 90 SoundPool *ap = MusterSoundPool(env, thiz); local 99 SoundPool *ap = MusterSoundPool(env, thiz); local 108 SoundPool *ap = MusterSoundPool(env, thiz); local 117 SoundPool *ap = MusterSoundPool(env, thiz); local 126 SoundPool *ap = MusterSoundPool(env, thiz); local 136 SoundPool *ap = MusterSoundPool(env, thiz); local 146 SoundPool *ap = MusterSoundPool(env, thiz); local 156 SoundPool *ap = MusterSoundPool(env, thiz); local 166 SoundPool *ap = MusterSoundPool(env, thiz); local 182 SoundPool *ap = new SoundPool(maxChannels, (audio_stream_type_t) streamType, srcQuality); local 200 SoundPool *ap = MusterSoundPool(env, thiz); local [all...] |
/frameworks/base/core/jni/ |
H A D | android_os_SELinux.cpp | 521 va_list ap; local 522 va_start(ap, fmt); 523 LOG_PRI_VA(ANDROID_LOG_ERROR, "SELinux", fmt, ap); 524 va_end(ap);
|
H A D | AndroidRuntime.cpp | 314 static void runtime_vfprintf(FILE* fp, const char* format, va_list ap) argument 316 LOG_PRI_VA(ANDROID_LOG_INFO, "vm-printf", format, ap);
|
/frameworks/native/cmds/dumpstate/ |
H A D | utils.c | 202 va_list ap; local 203 va_start(ap, command); 206 args[arg] = va_arg(ap, const char *);
|
/frameworks/av/media/libstagefright/codecs/avc/common/src/ |
H A D | deblock.cpp | 1089 int pel, ap = 0, aq = 0, Strng; local 1132 ap = AbsDelta & (tmp - Beta); 1145 if (ap < 0) 1204 ap = tmp - Beta; 1208 if (ap < 0) c0++; 1252 if (ap < 0) //SrcPtr[-inc2] += IClip(-C0, C0,(L2 + ((RL0 + 1) >> 1) - (L1<<1)) >> 1); 1278 int pel, ap = 1, aq = 1; local 1330 ap = AbsDelta & (tmp1 - Beta); 1351 if (ap < 0) 1419 ap [all...] |
/frameworks/wilhelm/src/android/ |
H A D | android_Effect.cpp | 447 * ap != NULL 449 * ap->mAPlayer != 0 450 * ap->mAudioTrack == 0 452 * ap->mAPlayer == 0 453 * ap->mAudioTrack != 0 is optional; if no track yet then the setting is deferred 455 android::status_t android_fxSend_attach(CAudioPlayer* ap, bool attach, argument 467 if (ap->mAPlayer != 0) { 468 assert(ap->mAudioTrack == 0); 470 ap->mAPlayer->attachAuxEffect(pFx->id()); 471 ap 510 android_fxSend_attachToAux(CAudioPlayer* ap, SLInterfaceID pUuid, SLboolean attach, SLmillibel sendLevel) argument 543 android_fxSend_setSendLevel(CAudioPlayer* ap, SLmillibel sendLevel) argument [all...] |
H A D | AudioPlayer_to_android.cpp | 42 SLresult aplayer_setPlayState(const android::sp<android::GenericPlayer> &ap, SLuint32 playState, argument 50 ap->stop(); 57 ap->prepare(); 62 ap->pause(); 75 ap->prepare(); 80 ap->play(); 103 static size_t adecoder_writeToBufferQueue(const uint8_t *data, size_t size, CAudioPlayer* ap) { argument 104 if (!android::CallbackProtector::enterCbIfOk(ap->mCallbackProtector)) { 114 object_lock_exclusive(&ap->mObject); 116 if (ap 195 android_audioPlayer_volumeUpdate(CAudioPlayer* ap) argument 361 audioTrack_handleMarker_lockPlay(CAudioPlayer* ap) argument 378 audioTrack_handleNewPos_lockPlay(CAudioPlayer* ap) argument 396 audioTrack_handleUnderrun_lockPlay(CAudioPlayer* ap) argument 426 audioPlayer_dispatch_headAtEnd_lockPlay(CAudioPlayer *ap, bool setPlayStateToPaused, bool needToLock) argument 464 audioPlayer_setStreamType(CAudioPlayer* ap, SLint32 type) argument 508 audioPlayer_getStreamType(CAudioPlayer* ap, SLint32 *pType) argument 542 audioPlayer_auxEffectUpdate(CAudioPlayer* ap) argument 589 audioPlayer_getAndroidObjectTypeForSourceSink(CAudioPlayer *ap) argument 684 CAudioPlayer *ap = (CAudioPlayer *)user; local 1114 CAudioPlayer *ap = (CAudioPlayer *)user; local 1300 android_audioPlayer_setConfig(CAudioPlayer *ap, const SLchar *configKey, const void *pConfigValue, SLuint32 valueSize) argument 1326 android_audioPlayer_getConfig(CAudioPlayer* ap, const SLchar *configKey, SLuint32* pValueSize, void *pConfigValue) argument 1732 android_audioPlayer_setPlaybackRateAndConstraints(CAudioPlayer *ap, SLpermille rate, SLuint32 constraints) argument 1774 android_audioPlayer_metadata_getItemCount(CAudioPlayer *ap, SLuint32 *pItemCount) argument 1800 android_audioPlayer_metadata_getKeySize(CAudioPlayer *ap, SLuint32 index, SLuint32 *pKeySize) argument 1836 android_audioPlayer_metadata_getKey(CAudioPlayer *ap, SLuint32 index, SLuint32 size, SLMetadataInfo *pKey) argument 1873 android_audioPlayer_metadata_getValueSize(CAudioPlayer *ap, SLuint32 index, SLuint32 *pValueSize) argument 1909 android_audioPlayer_metadata_getValue(CAudioPlayer *ap, SLuint32 index, SLuint32 size, SLMetadataInfo *pValue) argument 1946 android_audioPlayer_setPlayState(CAudioPlayer *ap) argument 1996 android_audioPlayer_usePlayEventMask(CAudioPlayer *ap) argument 2048 CAudioPlayer *ap = (CAudioPlayer *)pPlayItf->mThis; local 2074 CAudioPlayer *ap = (CAudioPlayer *)pPlayItf->mThis; local 2107 android_audioPlayer_seek(CAudioPlayer *ap, SLmillisecond posMsec) argument 2133 android_audioPlayer_loop(CAudioPlayer *ap, SLboolean loopEnable) argument 2153 android_audioPlayer_setBufferingUpdateThresholdPerMille(CAudioPlayer *ap, SLpermille threshold) argument 2172 android_audioPlayer_bufferQueue_onRefilled_l(CAudioPlayer *ap) argument 2205 android_audioPlayer_bufferQueue_onClear(CAudioPlayer *ap) argument 2226 android_audioPlayer_androidBufferQueue_clear_l(CAudioPlayer *ap) argument 2240 android_audioPlayer_androidBufferQueue_onRefilled_l(CAudioPlayer *ap) argument [all...] |
/frameworks/base/libs/androidfw/ |
H A D | AssetManager.cpp | 159 asset_path ap; local 165 ap.type = ::getFileType(realPath.string()); 166 if (ap.type == kFileTypeRegular) { 167 ap.path = realPath; 169 ap.path = path; 170 ap.type = ::getFileType(path.string()); 171 if (ap.type != kFileTypeDirectory && ap.type != kFileTypeRegular) { 173 path.string(), (int)ap.type); 180 if (mAssetPaths[i].path == ap 285 asset_path ap; local 316 asset_path ap; local 640 const asset_path& ap = mAssetPaths.itemAt(i); local 781 openNonAssetInPathLocked(const char* fileName, AccessMode mode, const asset_path& ap) argument 840 openInPathLocked(const char* fileName, AccessMode mode, const asset_path& ap) argument 869 openInLocaleVendorLocked(const char* fileName, AccessMode mode, const asset_path& ap, const char* locale, const char* vendor) argument 1006 createPathNameLocked(const asset_path& ap, const char* locale, const char* vendor) argument 1018 createPathNameLocked(const asset_path& ap, const char* rootDir) argument 1038 getZipFileLocked(const asset_path& ap) argument 1165 const asset_path& ap = mAssetPaths.itemAt(i); local 1219 const asset_path& ap = mAssetPaths.itemAt(which); local 1249 scanAndMergeDirLocked(SortedVector<AssetDir::FileInfo>* pMergedInfo, const asset_path& ap, const char* rootDir, const char* dirName) argument 1437 scanAndMergeZipLocked(SortedVector<AssetDir::FileInfo>* pMergedInfo, const asset_path& ap, const char* rootDir, const char* baseDirName) argument 1699 const asset_path& ap = mAssetPaths.itemAt(i); local 1716 fncScanAndMergeDirLocked( SortedVector<AssetDir::FileInfo>* pMergedInfo, const asset_path& ap, const char* locale, const char* vendor, const char* dirName) argument [all...] |