Home
last modified time | relevance | path

Searched refs:pContext (Results 1 – 25 of 53) sorted by relevance

123

/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
DEffectReverb.cpp181 int Reverb_init (ReverbContext *pContext);
182 void Reverb_free (ReverbContext *pContext);
183 int Reverb_setConfig (ReverbContext *pContext, effect_config_t *pConfig);
184 void Reverb_getConfig (ReverbContext *pContext, effect_config_t *pConfig);
185 int Reverb_setParameter (ReverbContext *pContext, void *pParam, void *pValue, int vsize);
186 int Reverb_getParameter (ReverbContext *pContext,
190 int Reverb_LoadPreset (ReverbContext *pContext);
224 ReverbContext *pContext = new ReverbContext; in EffectCreate() local
226 pContext->itfe = &gReverbInterface; in EffectCreate()
227 pContext->hInstance = NULL; in EffectCreate()
[all …]
/frameworks/av/media/libeffects/proxy/
DEffectProxy.cpp58 EffectContext* pContext; in EffectProxyCreate() local
64 pContext = new EffectContext; in EffectProxyCreate()
65 pContext->sessionId = sessionId; in EffectProxyCreate()
66 pContext->ioId = ioId; in EffectProxyCreate()
67 pContext->uuid = *uuid; in EffectProxyCreate()
68 pContext->common_itfe = &gEffectInterface; in EffectProxyCreate()
72 pContext->eHandle[SUB_FX_HOST] = pContext->eHandle[SUB_FX_OFFLOAD] = NULL; in EffectProxyCreate()
78 pContext->sube = new sub_effect_entry_t*[SUB_FX_COUNT]; in EffectProxyCreate()
79 pContext->desc = new effect_descriptor_t[SUB_FX_COUNT]; in EffectProxyCreate()
80 pContext->aeli = new audio_effect_library_t*[SUB_FX_COUNT]; in EffectProxyCreate()
[all …]
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
DEffectBundle.cpp136 int LvmBundle_init (EffectContext *pContext);
137 int LvmEffect_enable (EffectContext *pContext);
138 int LvmEffect_disable (EffectContext *pContext);
139 void LvmEffect_free (EffectContext *pContext);
140 int Effect_setConfig (EffectContext *pContext, effect_config_t *pConfig);
141 void Effect_getConfig (EffectContext *pContext, effect_config_t *pConfig);
142 int BassBoost_setParameter (EffectContext *pContext,
147 int BassBoost_getParameter (EffectContext *pContext,
152 int Virtualizer_setParameter (EffectContext *pContext,
157 int Virtualizer_getParameter (EffectContext *pContext,
[all …]
/frameworks/av/media/libeffects/visualizer/
DEffectVisualizer.cpp110 uint32_t Visualizer_getDeltaTimeMsFromUpdatedTime(VisualizerContext* pContext) { in Visualizer_getDeltaTimeMsFromUpdatedTime() argument
112 if (pContext->mBufferUpdateTime.tv_sec != 0) { in Visualizer_getDeltaTimeMsFromUpdatedTime()
115 time_t secs = ts.tv_sec - pContext->mBufferUpdateTime.tv_sec; in Visualizer_getDeltaTimeMsFromUpdatedTime()
116 long nsec = ts.tv_nsec - pContext->mBufferUpdateTime.tv_nsec; in Visualizer_getDeltaTimeMsFromUpdatedTime()
128 void Visualizer_reset(VisualizerContext *pContext) in Visualizer_reset() argument
130 pContext->mCaptureIdx = 0; in Visualizer_reset()
131 pContext->mLastCaptureIdx = 0; in Visualizer_reset()
132 pContext->mBufferUpdateTime.tv_sec = 0; in Visualizer_reset()
133 pContext->mLatency = 0; in Visualizer_reset()
134 memset(pContext->mCaptureBuf, 0x80, CAPTURE_BUF_SIZE); in Visualizer_reset()
[all …]
/frameworks/av/media/libeffects/loudness/
DEffectLoudnessEnhancer.cpp90 void LE_reset(LoudnessEnhancerContext *pContext) in LE_reset() argument
92 ALOGV(" > LE_reset(%p)", pContext); in LE_reset()
94 if (pContext->mCompressor != NULL) { in LE_reset()
95 float targetAmp = pow(10, pContext->mTargetGainmB/2000.0f); // mB to linear amplification in LE_reset()
96 ALOGV("LE_reset(): Target gain=%dmB <=> factor=%.2fX", pContext->mTargetGainmB, targetAmp); in LE_reset()
97 pContext->mCompressor->Initialize(targetAmp, pContext->mConfig.inputCfg.samplingRate); in LE_reset()
99 ALOGE("LE_reset(%p): null compressors, can't apply target gain", pContext); in LE_reset()
117 int LE_setConfig(LoudnessEnhancerContext *pContext, effect_config_t *pConfig) in LE_setConfig() argument
119 ALOGV("LE_setConfig(%p)", pContext); in LE_setConfig()
129 pContext->mConfig = *pConfig; in LE_setConfig()
[all …]
/frameworks/av/media/libeffects/testlibs/
DEffectEqualizer.cpp119 int Equalizer_init(EqualizerContext *pContext);
120 int Equalizer_setConfig(EqualizerContext *pContext, effect_config_t *pConfig);
146 EqualizerContext *pContext = new EqualizerContext; in EffectCreate() local
148 pContext->itfe = &gEqualizerInterface; in EffectCreate()
149 pContext->pEqualizer = NULL; in EffectCreate()
150 pContext->state = EQUALIZER_STATE_UNINITIALIZED; in EffectCreate()
152 ret = Equalizer_init(pContext); in EffectCreate()
155 delete pContext; in EffectCreate()
159 *pHandle = (effect_handle_t)pContext; in EffectCreate()
160 pContext->state = EQUALIZER_STATE_INITIALIZED; in EffectCreate()
[all …]
/frameworks/av/media/libeffects/dynamicsproc/
DEffectDynamicsProcessing.cpp86 int DP_setParameter(DynamicsProcessingContext *pContext,
91 int DP_getParameter(DynamicsProcessingContext *pContext,
107 void DP_reset(DynamicsProcessingContext *pContext) in DP_reset() argument
109 ALOGV("> DP_reset(%p)", pContext); in DP_reset()
110 if (pContext->mPDynamics != NULL) { in DP_reset()
111 pContext->mPDynamics->reset(); in DP_reset()
113 ALOGE("DP_reset(%p): null DynamicsProcessing", pContext); in DP_reset()
131 int DP_setConfig(DynamicsProcessingContext *pContext, effect_config_t *pConfig) in DP_setConfig() argument
133 ALOGV("DP_setConfig(%p)", pContext); in DP_setConfig()
142 pContext->mConfig = *pConfig; in DP_setConfig()
[all …]
/frameworks/av/media/libeffects/lvm/tests/
Dlvmtest.cpp197 void LvmEffect_free(struct EffectContext *pContext) { in LvmEffect_free() argument
202 LvmStatus = LVM_GetMemoryTable(pContext->pBundledContext->hInstance, &MemTab, in LvmEffect_free()
242 int LvmBundle_init(struct EffectContext *pContext, LVM_ControlParams_t *params) { in LvmBundle_init() argument
245 pContext->config.inputCfg.accessMode = EFFECT_BUFFER_ACCESS_READ; in LvmBundle_init()
246 pContext->config.inputCfg.channels = AUDIO_CHANNEL_OUT_STEREO; in LvmBundle_init()
247 pContext->config.inputCfg.format = EFFECT_BUFFER_FORMAT; in LvmBundle_init()
248 pContext->config.inputCfg.samplingRate = 44100; in LvmBundle_init()
249 pContext->config.inputCfg.bufferProvider.getBuffer = NULL; in LvmBundle_init()
250 pContext->config.inputCfg.bufferProvider.releaseBuffer = NULL; in LvmBundle_init()
251 pContext->config.inputCfg.bufferProvider.cookie = NULL; in LvmBundle_init()
[all …]
/frameworks/compile/libbcc/lib/
DSource.cpp46 static inline std::unique_ptr<llvm::Module> helper_load_bitcode(llvm::LLVMContext &pContext, in helper_load_bitcode() argument
50 = llvm::getLazyBitcodeModule(std::move(pInput), pContext); in helper_load_bitcode()
103 Source *Source::CreateFromBuffer(BCCContext &pContext, in CreateFromBuffer() argument
116 auto managedModule = helper_load_bitcode(pContext.mImpl->mLLVMContext, in CreateFromBuffer()
129 Source *result = CreateFromModule(pContext, pName, *module, in CreateFromBuffer()
139 Source *Source::CreateFromFile(BCCContext &pContext, const std::string &pPath) { in CreateFromFile() argument
156 auto managedModule = helper_load_bitcode(pContext.mImpl->mLLVMContext, in CreateFromFile()
166 Source *result = CreateFromModule(pContext, pPath.c_str(), *module, in CreateFromFile()
176 Source *Source::CreateFromModule(BCCContext &pContext, const char* name, llvm::Module &pModule, in CreateFromModule() argument
189 Source *result = new (std::nothrow) Source(name, pContext, pModule, pNoDelete); in CreateFromModule()
[all …]
DBCCContextImpl.h39 explicit BCCContextImpl(BCCContext &pContext) { } in BCCContextImpl() argument
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageUtil.java82 public static View initSnippetForInstalledApp(Context pContext, in initSnippetForInstalledApp() argument
84 return initSnippetForInstalledApp(pContext, appInfo, snippetView, null); in initSnippetForInstalledApp()
98 public static View initSnippetForInstalledApp(Context pContext, in initSnippetForInstalledApp() argument
100 final PackageManager pm = pContext.getPackageManager(); in initSnippetForInstalledApp()
103 icon = pContext.getPackageManager().getUserBadgedIcon(icon, user); in initSnippetForInstalledApp()
128 Activity pContext, ApplicationInfo appInfo, File sourceFile) { in getAppSnippet() argument
130 Resources pRes = pContext.getResources(); in getAppSnippet()
158 icon = pContext.getPackageManager().getDefaultActivityIcon(); in getAppSnippet()
/frameworks/compile/libbcc/include/bcc/
DSource.h50 Source(const char* name, BCCContext &pContext, llvm::Module &pModule,
54 static Source *CreateFromBuffer(BCCContext &pContext,
59 static Source *CreateFromFile(BCCContext &pContext,
64 static Source *CreateFromModule(BCCContext &pContext,
/frameworks/wilhelm/src/itf/
DIAudioIODeviceCapabilities.cpp72 void *pContext) in IAudioIODeviceCapabilities_RegisterAvailableAudioInputsChangedCallback() argument
79 thiz->mAvailableAudioInputsChangedContext = pContext; in IAudioIODeviceCapabilities_RegisterAvailableAudioInputsChangedCallback()
142 void *pContext) in IAudioIODeviceCapabilities_RegisterAvailableAudioOutputsChangedCallback() argument
149 thiz->mAvailableAudioOutputsChangedContext = pContext; in IAudioIODeviceCapabilities_RegisterAvailableAudioOutputsChangedCallback()
159 void *pContext) in IAudioIODeviceCapabilities_RegisterDefaultDeviceIDMapChangedCallback() argument
166 thiz->mDefaultDeviceIDMapChangedContext = pContext; in IAudioIODeviceCapabilities_RegisterDefaultDeviceIDMapChangedCallback()
DIMIDIMessage.cpp39 slMetaEventCallback callback, void *pContext) in IMIDIMessage_RegisterMetaEventCallback() argument
46 thiz->mMetaEventContext = pContext; in IMIDIMessage_RegisterMetaEventCallback()
55 slMIDIMessageCallback callback, void *pContext) in IMIDIMessage_RegisterMIDIMessageCallback() argument
62 thiz->mMessageContext = pContext; in IMIDIMessage_RegisterMIDIMessageCallback()
DIVisualization.cpp23 slVisualizationCallback callback, void *pContext, SLmilliHertz rate) in IVisualization_RegisterVisualizationCallback() argument
33 thiz->mContext = pContext; in IVisualization_RegisterVisualizationCallback()
DIOutputMix.cpp48 slMixDeviceChangeCallback callback, void *pContext) in IOutputMix_RegisterDeviceChangeCallback() argument
55 thiz->mContext = pContext; in IOutputMix_RegisterDeviceChangeCallback()
DIPrefetchStatus.cpp61 slPrefetchCallback callback, void *pContext) in IPrefetchStatus_RegisterCallback() argument
68 thiz->mContext = pContext; in IPrefetchStatus_RegisterCallback()
DIBufferQueue.cpp150 slBufferQueueCallback callback, void *pContext) in IBufferQueue_RegisterCallback() argument
159 thiz->mContext = pContext; in IBufferQueue_RegisterCallback()
/frameworks/wilhelm/include/OMXAL/
DOpenMAXAL.h157 const void * pContext,
185 void * pContext
250 void * pContext,
274 void * pContext
727 void * pContext,
751 void * pContext
838 void * pContext,
854 void * pContext
1108 void * pContext,
1132 void * pContext
[all …]
/frameworks/wilhelm/include/SLES/
DOpenSLES.h393 const void * pContext,
422 void * pContext
519 void *pContext,
528 void *pContext,
536 void *pContext,
556 void *pContext
571 void *pContext
576 void *pContext
882 void *pContext
895 void *pContext
[all …]
/frameworks/wilhelm/tests/mimeUri/
DslesTestLoopUri.cpp63 void PrefetchEventCallback( SLPrefetchStatusItf caller, void *pContext, SLuint32 event) in PrefetchEventCallback() argument
67 assert(pContext == NULL); in PrefetchEventCallback()
106 void *pContext, in PlayEventCallback() argument
110 assert(NULL == pContext); in PlayEventCallback()
DslesTestSlowDownUri.cpp65 void PlayEventCallback( SLPlayItf caller __unused, void *pContext, SLuint32 event) in PlayEventCallback() argument
73 assert(NULL != pContext); in PlayEventCallback()
74 SLPlaybackRateItf pRateItf = (SLPlaybackRateItf)pContext; in PlayEventCallback()
108 void PrefetchEventCallback( SLPrefetchStatusItf caller, void *pContext, SLuint32 event) in PrefetchEventCallback() argument
112 assert(pContext == NULL); in PrefetchEventCallback()
DslesTestManyPlayers.cpp74 void PrefetchEventCallback( SLPrefetchStatusItf caller, void *pContext, SLuint32 event) in PrefetchEventCallback() argument
78 int* pPlayerId = (int*)pContext; in PrefetchEventCallback()
104 void *pContext, in PlayEventCallback() argument
108 int* pPlayerId = (int*)pContext; in PlayEventCallback()
/frameworks/compile/mclinker/include/mcld/MC/
DInput.h102 void setContext(LDContext* pContext) { m_pContext = pContext; } in setContext() argument
/frameworks/wilhelm/src/desktop/
DSLSndFile.h19 extern void SndFile_Callback(SLBufferQueueItf caller, void *pContext);

123