HomeSort by relevance Sort by last modified time
    Searched refs:pContext (Results 1 - 25 of 223) sorted by null

1 2 3 4 5 6 7 8 9

  /frameworks/av/media/libeffects/proxy/
EffectProxy.cpp 58 EffectContext* pContext;
64 pContext = new EffectContext;
65 pContext->sessionId = sessionId;
66 pContext->ioId = ioId;
67 pContext->uuid = *uuid;
68 pContext->common_itfe = &gEffectInterface;
72 pContext->eHandle[SUB_FX_HOST] = pContext->eHandle[SUB_FX_OFFLOAD] = NULL;
78 pContext->sube = new sub_effect_entry_t*[SUB_FX_COUNT];
79 pContext->desc = new effect_descriptor_t[SUB_FX_COUNT]
    [all...]
  /frameworks/av/media/libeffects/visualizer/
EffectVisualizer.cpp 98 uint32_t Visualizer_getDeltaTimeMsFromUpdatedTime(VisualizerContext* pContext) {
100 if (pContext->mBufferUpdateTime.tv_sec != 0) {
103 time_t secs = ts.tv_sec - pContext->mBufferUpdateTime.tv_sec;
104 long nsec = ts.tv_nsec - pContext->mBufferUpdateTime.tv_nsec;
116 void Visualizer_reset(VisualizerContext *pContext)
118 pContext->mCaptureIdx = 0;
119 pContext->mLastCaptureIdx = 0;
120 pContext->mBufferUpdateTime.tv_sec = 0;
121 pContext->mLatency = 0;
122 memset(pContext->mCaptureBuf, 0x80, CAPTURE_BUF_SIZE)
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/TftpServer/
TftpServer.c 24 @param [in] pContext Connection context structure address
31 IN TSDT_CONNECTION_CONTEXT * pContext
48 LengthInBytes = DIM ( pContext->FileData ) >> 1;
49 if (( pContext->ValidBytes > LengthInBytes )
50 || ( 0 == pContext->BytesRemaining )) {
57 if ( LengthInBytes > pContext->BytesRemaining ) {
58 LengthInBytes = pContext->BytesRemaining;
64 BytesRead = fread ( pContext->pFill,
67 pContext->File );
76 pContext->BytesRemaining -= BytesRead;
    [all...]
  /external/pdfium/core/fxcrt/
fx_random.h 13 void FX_Random_MT_Close(void* pContext);
14 uint32_t FX_Random_MT_Generate(void* pContext);
fx_random.cpp 85 MTContext* pContext = FX_Alloc(MTContext, 1);
86 uint32_t* pBuf = pContext->mt;
91 pContext->mti = MT_N;
92 return pContext;
95 uint32_t FX_Random_MT_Generate(void* pContext) {
96 MTContext* pMTC = static_cast<MTContext*>(pContext);
122 void FX_Random_MT_Close(void* pContext) {
123 FX_Free(pContext);
127 void* pContext = ContextFromNextGlobalSeed();
129 *pBuffer++ = FX_Random_MT_Generate(pContext);
    [all...]
  /frameworks/av/media/libeffects/lvm/wrapper/Bundle/
EffectBundle.cpp 137 int LvmBundle_init (EffectContext *pContext);
138 int LvmEffect_enable (EffectContext *pContext);
139 int LvmEffect_disable (EffectContext *pContext);
140 void LvmEffect_free (EffectContext *pContext);
141 int Effect_setConfig (EffectContext *pContext, effect_config_t *pConfig);
142 void Effect_getConfig (EffectContext *pContext, effect_config_t *pConfig);
143 int BassBoost_setParameter (EffectContext *pContext,
148 int BassBoost_getParameter (EffectContext *pContext,
153 int Virtualizer_setParameter (EffectContext *pContext,
158 int Virtualizer_getParameter (EffectContext *pContext,
    [all...]
  /frameworks/av/media/libeffects/lvm/wrapper/Reverb/
EffectReverb.cpp 194 int Reverb_init (ReverbContext *pContext);
195 void Reverb_free (ReverbContext *pContext);
196 int Reverb_setConfig (ReverbContext *pContext, effect_config_t *pConfig);
197 void Reverb_getConfig (ReverbContext *pContext, effect_config_t *pConfig);
198 int Reverb_setParameter (ReverbContext *pContext, void *pParam, void *pValue, int vsize);
199 int Reverb_getParameter (ReverbContext *pContext,
203 int Reverb_LoadPreset (ReverbContext *pContext);
237 ReverbContext *pContext = new ReverbContext;
239 pContext->itfe = &gReverbInterface;
240 pContext->hInstance = NULL
    [all...]
  /frameworks/av/media/libeffects/loudness/
EffectLoudnessEnhancer.cpp 70 void LE_reset(LoudnessEnhancerContext *pContext)
72 ALOGV(" > LE_reset(%p)", pContext);
74 if (pContext->mCompressor != NULL) {
75 float targetAmp = pow(10, pContext->mTargetGainmB/2000.0f); // mB to linear amplification
76 ALOGV("LE_reset(): Target gain=%dmB <=> factor=%.2fX", pContext->mTargetGainmB, targetAmp);
77 pContext->mCompressor->Initialize(targetAmp, pContext->mConfig.inputCfg.samplingRate);
79 ALOGE("LE_reset(%p): null compressors, can't apply target gain", pContext);
96 // pContext: effect engine context
104 int LE_setConfig(LoudnessEnhancerContext *pContext, effect_config_t *pConfig
    [all...]
  /external/pdfium/fpdfsdk/
fpdf_progressive.cpp 50 CPDF_PageRenderContext* pContext = pOwnedContext.get();
56 pContext->m_pDevice = std::move(pOwnedDevice);
60 FPDF_RenderPage_Retail(pContext, page, start_x, start_y, size_x, size_y,
67 if (pContext->m_pRenderer) {
69 pContext->m_pRenderer->GetStatus());
83 CPDF_PageRenderContext* pContext = pPage->GetRenderContext();
84 if (pContext && pContext->m_pRenderer) {
86 pContext->m_pRenderer->Continue(&IPauseAdapter);
88 CFX_RenderDevice* pDevice = pContext->m_pDevice.get()
    [all...]
  /external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
threads.h 47 SWR_CONTEXT *pContext;
62 void CreateThreadPool(SWR_CONTEXT *pContext, THREAD_POOL *pPool);
63 void StartThreadPool(SWR_CONTEXT* pContext, THREAD_POOL* pPool);
64 void DestroyThreadPool(SWR_CONTEXT *pContext, THREAD_POOL *pPool);
67 void WorkOnFifoFE(SWR_CONTEXT *pContext, uint32_t workerId, uint32_t &curDrawFE);
68 bool WorkOnFifoBE(SWR_CONTEXT *pContext, uint32_t workerId, uint32_t &curDrawBE, TileSet &usedTiles, uint32_t numaNode, uint32_t numaMask);
69 void WorkOnCompute(SWR_CONTEXT *pContext, uint32_t workerId, uint32_t &curDrawBE);
70 int32_t CompleteDrawContext(SWR_CONTEXT* pContext, DRAW_CONTEXT* pDC);
api.cpp 51 void SetupDefaultState(SWR_CONTEXT *pContext);
58 void WakeAllThreads(SWR_CONTEXT *pContext)
60 pContext->FifosNotEmpty.notify_all();
74 SWR_CONTEXT *pContext = new (pContextMem) SWR_CONTEXT();
76 pContext->privateStateSize = pCreateInfo->privateStateSize;
78 pContext->dcRing.Init(KNOB_MAX_DRAWS_IN_FLIGHT);
79 pContext->dsRing.Init(KNOB_MAX_DRAWS_IN_FLIGHT);
81 pContext->pMacroTileManagerArray = (MacroTileMgr*)AlignedMalloc(sizeof(MacroTileMgr) * KNOB_MAX_DRAWS_IN_FLIGHT, 64);
82 pContext->pDispatchQueueArray = (DispatchQueue*)AlignedMalloc(sizeof(DispatchQueue) * KNOB_MAX_DRAWS_IN_FLIGHT, 64);
86 pContext->dcRing[dc].pArena = new CachingArena(pContext->cachingArenaAllocator)
    [all...]
threads.cpp 248 void bindThread(SWR_CONTEXT* pContext, uint32_t threadId, uint32_t procGroupId = 0, bool bindProcGroup=false)
251 if (pContext->threadInfo.MAX_WORKER_THREADS && bindProcGroup == false)
278 if (!pContext->threadInfo.MAX_WORKER_THREADS)
299 uint32_t GetEnqueuedDraw(SWR_CONTEXT *pContext)
301 return pContext->dcRing.GetHead();
305 DRAW_CONTEXT *GetDC(SWR_CONTEXT *pContext, uint32_t drawId)
307 return &pContext->dcRing[(drawId-1) % KNOB_MAX_DRAWS_IN_FLIGHT];
320 bool CheckDependency(SWR_CONTEXT *pContext, DRAW_CONTEXT *pDC, uint32_t lastRetiredDraw)
325 bool CheckDependencyFE(SWR_CONTEXT *pContext, DRAW_CONTEXT *pDC, uint32_t lastRetiredDraw)
332 INLINE void UpdateClientStats(SWR_CONTEXT* pContext, uint32_t workerId, DRAW_CONTEXT* pDC
    [all...]
  /external/pdfium/core/fpdfapi/parser/
cpdf_crypto_handler.cpp 125 AESCryptContext* pContext = FX_Alloc(AESCryptContext, 1);
126 pContext->m_bIV = true;
127 pContext->m_BlockOffset = 0;
128 CRYPT_AESSetKey(&pContext->m_Context, 16, m_EncryptKey, 32, bEncrypt);
131 pContext->m_Block[i] = (uint8_t)rand();
133 CRYPT_AESSetIV(&pContext->m_Context, pContext->m_Block);
135 return pContext;
151 AESCryptContext* pContext = FX_Alloc(AESCryptContext, 1);
152 pContext->m_bIV = true
    [all...]
  /hardware/intel/img/psb_video/src/
pnw_hostjpeg.c 517 IMG_ERRORCODE AllocateCodedDataBuffers(TOPAZSC_JPEG_ENCODER_CONTEXT *pContext)
521 for (ui8Loop = 0 ; ui8Loop < pContext->sScan_Encode_Info.ui8NumberOfCodedBuffers; ui8Loop ++)
522 if (pContext->sScan_Encode_Info.aBufferTable[ui8Loop].pMemInfo == NULL) {
523 pContext->sScan_Encode_Info.aBufferTable[ui8Loop].ui32DataBufferSizeBytes = ((DATA_BUFFER_SIZE(pContext->sScan_Encode_Info.ui32NumberMCUsToEncodePerScan) + sizeof(BUFFER_HEADER)) + 3) & ~3;
524 pContext->sScan_Encode_Info.aBufferTable[ui8Loop].ui32DataBufferUsedBytes = 0;
525 pContext->sScan_Encode_Info.aBufferTable[ui8Loop].i8MTXNumber = 0; // Indicates buffer is idle
526 pContext->sScan_Encode_Info.aBufferTable[ui8Loop].ui16ScanNumber = 0; // Indicates buffer is idle
527 pContext->sScan_Encode_Info.aBufferTable[ui8Loop].pMemInfo =
528 (unsigned char *)pContext->jpeg_coded_buf.pMemInfo + PNW_JPEG_HEADER_MAX_SIZE + ui8Loop * pContext->ui32SizePerCodedBuffer
    [all...]
  /frameworks/av/media/libeffects/testlibs/
EffectEqualizer.cpp 119 int Equalizer_init(EqualizerContext *pContext);
120 int Equalizer_setConfig(EqualizerContext *pContext, effect_config_t *pConfig);
146 EqualizerContext *pContext = new EqualizerContext;
148 pContext->itfe = &gEqualizerInterface;
149 pContext->pEqualizer = NULL;
150 pContext->state = EQUALIZER_STATE_UNINITIALIZED;
152 ret = Equalizer_init(pContext);
155 delete pContext;
159 *pHandle = (effect_handle_t)pContext;
160 pContext->state = EQUALIZER_STATE_INITIALIZED
    [all...]
  /cts/tests/tests/security/testeffect/
CTSTestEffect.cpp 56 CTSEffectsContext *pContext = new CTSEffectsContext;
58 pContext->mItfe = &gCTSEffectInterface;
60 *pHandle = (effect_handle_t)pContext;
67 CTSEffectsContext * pContext = (CTSEffectsContext *)handle;
69 if (pContext == NULL) {
72 delete pContext;
105 CTSEffectsContext * pContext = (CTSEffectsContext *)self;
107 if (pContext == NULL) {
123 memcpy(&pContext->mConfig, pCmdData, cmdSize);
131 memcpy(pReplyData, &pContext->mConfig, *replySize)
    [all...]
  /hardware/nxp/nfc/halimpl/dnld/
phDnldNfc.h 30 * pContext - Upper layer context
34 typedef void (*pphDnldNfc_RspCb_t)(void* pContext, NFCSTATUS wStatus,
99 extern NFCSTATUS phDnldNfc_Reset(pphDnldNfc_RspCb_t pNotify, void* pContext);
102 void* pContext);
106 void* pContext);
109 void* pContext);
111 pphDnldNfc_RspCb_t pNotify, void* pContext);
113 pphDnldNfc_RspCb_t pNotify, void* pContext);
115 pphDnldNfc_RspCb_t pNotify, void* pContext);
117 pphDnldNfc_RspCb_t pNotify, void* pContext);
    [all...]
phNxpNciHal_Dnld.cc 100 static NFCSTATUS phNxpNciHal_fw_dnld_reset(void* pContext, NFCSTATUS status,
103 static void phNxpNciHal_fw_dnld_reset_cb(void* pContext, NFCSTATUS status,
106 static NFCSTATUS phNxpNciHal_fw_dnld_force(void* pContext, NFCSTATUS status,
109 static void phNxpNciHal_fw_dnld_force_cb(void* pContext, NFCSTATUS status,
112 static void phNxpNciHal_fw_dnld_normal_cb(void* pContext, NFCSTATUS status,
115 static NFCSTATUS phNxpNciHal_fw_dnld_normal(void* pContext, NFCSTATUS status,
118 static void phNxpNciHal_fw_dnld_get_version_cb(void* pContext, NFCSTATUS status,
121 static NFCSTATUS phNxpNciHal_fw_dnld_get_version(void* pContext,
124 static void phNxpNciHal_fw_dnld_get_sessn_state_cb(void* pContext,
128 static NFCSTATUS phNxpNciHal_fw_dnld_get_sessn_state(void* pContext,
    [all...]
  /external/pdfium/core/fxcodec/codec/
ccodec_bmpmodule.h 36 uint32_t GetAvailInput(Context* pContext, uint8_t** avail_buf_ptr);
37 void Input(Context* pContext, const uint8_t* src_buf, uint32_t src_size);
38 int32_t ReadHeader(Context* pContext,
46 int32_t LoadImage(Context* pContext);
ccodec_bmpmodule.cpp 34 int32_t CCodec_BmpModule::ReadHeader(Context* pContext,
42 auto* ctx = static_cast<CBmpContext*>(pContext);
65 int32_t CCodec_BmpModule::LoadImage(Context* pContext) {
66 auto* ctx = static_cast<CBmpContext*>(pContext);
73 uint32_t CCodec_BmpModule::GetAvailInput(Context* pContext,
75 auto* ctx = static_cast<CBmpContext*>(pContext);
79 void CCodec_BmpModule::Input(Context* pContext,
82 auto* ctx = static_cast<CBmpContext*>(pContext);
ccodec_jpegmodule.h 46 void Input(Context* pContext, const uint8_t* src_buf, uint32_t src_size);
49 int ReadHeader(Context* pContext, int* width, int* height, int* nComps);
51 int ReadHeader(Context* pContext,
58 bool StartScanline(Context* pContext, int down_scale);
59 bool ReadScanline(Context* pContext, uint8_t* dest_buf);
60 uint32_t GetAvailInput(Context* pContext, uint8_t** avail_buf_ptr);
ccodec_gifmodule.cpp 25 CFX_GifDecodeStatus CCodec_GifModule::ReadHeader(Context* pContext,
32 auto* context = static_cast<CFX_GifContext*>(pContext);
47 Context* pContext) {
48 auto* context = static_cast<CFX_GifContext*>(pContext);
55 CFX_GifDecodeStatus CCodec_GifModule::LoadFrame(Context* pContext,
58 auto* context = static_cast<CFX_GifContext*>(pContext);
79 uint32_t CCodec_GifModule::GetAvailInput(Context* pContext,
81 auto* context = static_cast<CFX_GifContext*>(pContext);
85 void CCodec_GifModule::Input(Context* pContext,
88 auto* context = static_cast<CFX_GifContext*>(pContext);
    [all...]
  /frameworks/av/media/libeffects/dynamicsproc/
EffectDynamicsProcessing.cpp 85 int DP_setParameter(DynamicsProcessingContext *pContext,
90 int DP_getParameter(DynamicsProcessingContext *pContext,
106 void DP_reset(DynamicsProcessingContext *pContext)
108 ALOGV("> DP_reset(%p)", pContext);
109 if (pContext->mPDynamics != NULL) {
110 pContext->mPDynamics->reset();
112 ALOGE("DP_reset(%p): null DynamicsProcessing", pContext);
122 // pContext: effect engine context
130 int DP_setConfig(DynamicsProcessingContext *pContext, effect_config_t *pConfig)
132 ALOGV("DP_setConfig(%p)", pContext);
    [all...]
  /frameworks/wilhelm/src/desktop/
SLSndFile.h 19 extern void SndFile_Callback(SLBufferQueueItf caller, void *pContext);
  /hardware/nxp/nfc/halimpl/tml/
phOsalNfc_Timer.h 36 * pContext - Parameter to be passed to the callback function
38 typedef void (*pphOsalNfc_TimerCallbck_t)(uint32_t TimerId, void* pContext);
76 void* pContext);

Completed in 368 milliseconds

1 2 3 4 5 6 7 8 9