Searched defs:ap (Results 1 - 25 of 26) sorted by relevance

12

/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Dweight_amrwb_lpc.cpp48 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 Dweight_a.c21 * 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 DarmVCM4P10_DeBlockPixel.c56 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 Dhandler_bodies.c27 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 Dlocks.c208 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 DIAndroidEffect.cpp30 CAudioPlayer *ap = (CAudioPlayer *)thiz->mThis; local
31 if (ap->mAudioTrack != 0) {
32 result = android_genericFx_createEffect(thiz, effectImplementationId, ap->mSessionId);
H A DISeek.c67 CAudioPlayer *ap = InterfaceToCAudioPlayer(thiz); local
68 if (NULL != ap) {
69 result = android_audioPlayer_loop(ap, loopEnable);
H A DIAndroidEffectSend.c35 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 DIMuteSolo.c31 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 DIPlaybackRate.c33 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 DIPrefetchStatus.c128 CAudioPlayer *ap = (CAudioPlayer *) thiz->mThis; local
129 android_audioPlayer_setBufferingUpdateThresholdPerMille(ap, period);
H A DIEffectSend.c133 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 DIEngine.c24 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 DMediaRouteActionProvider.java145 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 DSourcePos.cpp124 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 Dmain.cpp80 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 DAString.cpp324 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 Dandroid_media_SoundPool.cpp45 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 Dandroid_os_SELinux.cpp521 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 DAndroidRuntime.cpp314 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 Dutils.c202 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 Ddeblock.cpp1089 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 Dandroid_Effect.cpp447 * 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 DAudioPlayer_to_android.cpp42 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 DAssetManager.cpp159 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...]

Completed in 219 milliseconds

12