/frameworks/av/media/libeffects/proxy/ |
D | EffectProxy.cpp | 61 EffectContext* pContext; in EffectProxyCreate() local 67 pContext = new EffectContext; in EffectProxyCreate() 68 pContext->sessionId = sessionId; in EffectProxyCreate() 69 pContext->ioId = ioId; in EffectProxyCreate() 70 pContext->uuid = *uuid; in EffectProxyCreate() 71 pContext->common_itfe = &gEffectInterface; in EffectProxyCreate() 75 pContext->eHandle[SUB_FX_HOST] = pContext->eHandle[SUB_FX_OFFLOAD] = NULL; in EffectProxyCreate() 81 pContext->sube = new sub_effect_entry_t*[SUB_FX_COUNT]; in EffectProxyCreate() 82 pContext->desc = new effect_descriptor_t[SUB_FX_COUNT]; in EffectProxyCreate() 83 pContext->aeli = new audio_effect_library_t*[SUB_FX_COUNT]; in EffectProxyCreate() [all …]
|
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/ |
D | EffectReverb.cpp | 179 int Reverb_init (ReverbContext *pContext); 180 void Reverb_free (ReverbContext *pContext); 181 int Reverb_setConfig (ReverbContext *pContext, effect_config_t *pConfig); 182 void Reverb_getConfig (ReverbContext *pContext, effect_config_t *pConfig); 183 int Reverb_setParameter (ReverbContext *pContext, void *pParam, void *pValue); 184 int Reverb_getParameter (ReverbContext *pContext, 188 int Reverb_LoadPreset (ReverbContext *pContext); 221 ReverbContext *pContext = new ReverbContext; in EffectCreate() local 223 pContext->itfe = &gReverbInterface; in EffectCreate() 224 pContext->hInstance = NULL; in EffectCreate() [all …]
|
/frameworks/av/media/libeffects/visualizer/ |
D | EffectVisualizer.cpp | 93 uint32_t Visualizer_getDeltaTimeMsFromUpdatedTime(VisualizerContext* pContext) { in Visualizer_getDeltaTimeMsFromUpdatedTime() argument 95 if (pContext->mBufferUpdateTime.tv_sec != 0) { in Visualizer_getDeltaTimeMsFromUpdatedTime() 98 time_t secs = ts.tv_sec - pContext->mBufferUpdateTime.tv_sec; in Visualizer_getDeltaTimeMsFromUpdatedTime() 99 long nsec = ts.tv_nsec - pContext->mBufferUpdateTime.tv_nsec; in Visualizer_getDeltaTimeMsFromUpdatedTime() 111 void Visualizer_reset(VisualizerContext *pContext) in Visualizer_reset() argument 113 pContext->mCaptureIdx = 0; in Visualizer_reset() 114 pContext->mLastCaptureIdx = 0; in Visualizer_reset() 115 pContext->mBufferUpdateTime.tv_sec = 0; in Visualizer_reset() 116 pContext->mLatency = 0; in Visualizer_reset() 117 memset(pContext->mCaptureBuf, 0x80, CAPTURE_BUF_SIZE); in Visualizer_reset() [all …]
|
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/ |
D | EffectBundle.cpp | 134 int LvmBundle_init (EffectContext *pContext); 135 int LvmEffect_enable (EffectContext *pContext); 136 int LvmEffect_disable (EffectContext *pContext); 137 void LvmEffect_free (EffectContext *pContext); 138 int Effect_setConfig (EffectContext *pContext, effect_config_t *pConfig); 139 void Effect_getConfig (EffectContext *pContext, effect_config_t *pConfig); 140 int BassBoost_setParameter (EffectContext *pContext, void *pParam, void *pValue); 141 int BassBoost_getParameter (EffectContext *pContext, 145 int Virtualizer_setParameter (EffectContext *pContext, void *pParam, void *pValue); 146 int Virtualizer_getParameter (EffectContext *pContext, [all …]
|
/frameworks/av/media/libeffects/loudness/ |
D | EffectLoudnessEnhancer.cpp | 66 void LE_reset(LoudnessEnhancerContext *pContext) in LE_reset() argument 68 ALOGV(" > LE_reset(%p)", pContext); in LE_reset() 70 if (pContext->mCompressor != NULL) { in LE_reset() 71 float targetAmp = pow(10, pContext->mTargetGainmB/2000.0f); // mB to linear amplification in LE_reset() 72 ALOGV("LE_reset(): Target gain=%dmB <=> factor=%.2fX", pContext->mTargetGainmB, targetAmp); in LE_reset() 73 pContext->mCompressor->Initialize(targetAmp, pContext->mConfig.inputCfg.samplingRate); in LE_reset() 75 ALOGE("LE_reset(%p): null compressors, can't apply target gain", pContext); in LE_reset() 100 int LE_setConfig(LoudnessEnhancerContext *pContext, effect_config_t *pConfig) in LE_setConfig() argument 102 ALOGV("LE_setConfig(%p)", pContext); in LE_setConfig() 112 pContext->mConfig = *pConfig; in LE_setConfig() [all …]
|
/frameworks/av/media/libeffects/testlibs/ |
D | EffectEqualizer.cpp | 116 int Equalizer_init(EqualizerContext *pContext); 117 int Equalizer_setConfig(EqualizerContext *pContext, effect_config_t *pConfig); 143 EqualizerContext *pContext = new EqualizerContext; in EffectCreate() local 145 pContext->itfe = &gEqualizerInterface; in EffectCreate() 146 pContext->pEqualizer = NULL; in EffectCreate() 147 pContext->state = EQUALIZER_STATE_UNINITIALIZED; in EffectCreate() 149 ret = Equalizer_init(pContext); in EffectCreate() 152 delete pContext; in EffectCreate() 156 *pHandle = (effect_handle_t)pContext; in EffectCreate() 157 pContext->state = EQUALIZER_STATE_INITIALIZED; in EffectCreate() [all …]
|
/frameworks/compile/libbcc/lib/Core/ |
D | Source.cpp | 40 static inline llvm::Module *helper_load_bitcode(llvm::LLVMContext &pContext, in helper_load_bitcode() argument 42 llvm::ErrorOr<llvm::Module *> moduleOrError = llvm::getLazyBitcodeModule(pInput, pContext); in helper_load_bitcode() 60 Source *Source::CreateFromBuffer(BCCContext &pContext, in CreateFromBuffer() argument 73 llvm::Module *module = helper_load_bitcode(pContext.mImpl->mLLVMContext, in CreateFromBuffer() 80 Source *result = CreateFromModule(pContext, *module, /* pNoDelete */false); in CreateFromBuffer() 88 Source *Source::CreateFromFile(BCCContext &pContext, const std::string &pPath) { in CreateFromFile() argument 100 llvm::Module *module = helper_load_bitcode(pContext.mImpl->mLLVMContext, in CreateFromFile() 107 Source *result = CreateFromModule(pContext, *module, /* pNoDelete */false); in CreateFromFile() 115 Source *Source::CreateFromModule(BCCContext &pContext, llvm::Module &pModule, in CreateFromModule() argument 125 Source *result = new (std::nothrow) Source(pContext, pModule, pNoDelete); in CreateFromModule() [all …]
|
D | BCCContextImpl.h | 39 BCCContextImpl(BCCContext &pContext) { } in BCCContextImpl() argument
|
/frameworks/compile/libbcc/include/bcc/ |
D | Source.h | 39 Source(BCCContext &pContext, llvm::Module &pModule, bool pNoDelete = false); 42 static Source *CreateFromBuffer(BCCContext &pContext, 47 static Source *CreateFromFile(BCCContext &pContext, 52 static Source *CreateFromModule(BCCContext &pContext, 56 static Source *CreateEmpty(BCCContext &pContext, const std::string &pName);
|
/frameworks/compile/libbcc/include/bcc/ExecutionEngine/ |
D | SymbolResolvers.h | 106 typedef void *(*LookupFunctionTy)(ContextTy pContext, const char *pName); 114 ContextTy pContext = NULL) 115 : mLookupFunc(pLookupFunc), mContext(pContext) { } in mLookupFunc() 128 inline void setContext(ContextTy pContext) in setContext() argument 129 { mContext = pContext; } in setContext()
|
/frameworks/base/core/jni/android/graphics/pdf/ |
D | PdfRenderer.cpp | 155 CRenderContext* pContext = FX_NEW CRenderContext; in renderPageBitmap() local 158 pPage->SetPrivateData((void*) 1, pContext, DropContext); in renderPageBitmap() 161 pContext->m_pDevice = fxgeDevice; in renderPageBitmap() 167 CPDF_RenderOptions* renderOptions = pContext->m_pOptions; in renderPageBitmap() 171 pContext->m_pOptions = renderOptions; in renderPageBitmap() 196 pContext->m_pContext = pageContext; in renderPageBitmap() 217 pContext->m_pRenderer = FX_NEW CPDF_ProgressiveRenderer; in renderPageBitmap() 218 pContext->m_pRenderer->Start(pageContext, fxgeDevice, renderOptions, NULL); in renderPageBitmap() 224 delete pContext; in renderPageBitmap()
|
/frameworks/wilhelm/src/itf/ |
D | IMIDIMessage.c | 39 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()
|
D | IAudioIODeviceCapabilities.c | 72 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()
|
D | IVisualization.c | 23 slVisualizationCallback callback, void *pContext, SLmilliHertz rate) in IVisualization_RegisterVisualizationCallback() argument 33 thiz->mContext = pContext; in IVisualization_RegisterVisualizationCallback()
|
D | IOutputMix.c | 48 slMixDeviceChangeCallback callback, void *pContext) in IOutputMix_RegisterDeviceChangeCallback() argument 55 thiz->mContext = pContext; in IOutputMix_RegisterDeviceChangeCallback()
|
D | IPrefetchStatus.c | 61 slPrefetchCallback callback, void *pContext) in IPrefetchStatus_RegisterCallback() argument 68 thiz->mContext = pContext; in IPrefetchStatus_RegisterCallback()
|
D | IBufferQueue.c | 146 slBufferQueueCallback callback, void *pContext) in IBufferQueue_RegisterCallback() argument 155 thiz->mContext = pContext; in IBufferQueue_RegisterCallback()
|
/frameworks/wilhelm/include/OMXAL/ |
D | OpenMAXAL.h | 157 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/ |
D | OpenSLES.h | 393 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/ |
D | slesTestLoopUri.cpp | 63 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()
|
D | slesTestSlowDownUri.cpp | 65 void PlayEventCallback( SLPlayItf caller, 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()
|
D | slesTestManyPlayers.cpp | 74 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/ |
D | Input.h | 120 void setContext(LDContext* pContext) in setContext() argument 121 { m_pContext = pContext; } in setContext()
|
/frameworks/wilhelm/src/desktop/ |
D | SLSndFile.h | 19 extern void SndFile_Callback(SLBufferQueueItf caller, void *pContext);
|
/frameworks/wilhelm/tests/examples/ |
D | slesTestRecBuffQueue.cpp | 96 void *pContext, in RecCallback() argument 116 void *pContext) in RecBufferQueueCallback() argument 120 CallbackCntxt *pCntxt = (CallbackCntxt*)pContext; in RecBufferQueueCallback()
|