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

1 2 3 4 5 6 7 8 91011>>

  /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...]
  /frameworks/av/media/libeffects/lvm/wrapper/Bundle/
EffectBundle.cpp 146 int LvmBundle_init (EffectContext *pContext);
147 int LvmEffect_enable (EffectContext *pContext);
148 int LvmEffect_disable (EffectContext *pContext);
149 void LvmEffect_free (EffectContext *pContext);
150 int Effect_setConfig (EffectContext *pContext, effect_config_t *pConfig);
151 void Effect_getConfig (EffectContext *pContext, effect_config_t *pConfig);
152 int BassBoost_setParameter (EffectContext *pContext,
157 int BassBoost_getParameter (EffectContext *pContext,
162 int Virtualizer_setParameter (EffectContext *pContext,
167 int Virtualizer_getParameter (EffectContext *pContext,
    [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/core/fxcodec/codec/
ccodec_bmpmodule.h 19 void Finish(FXBMP_Context* pContext) override;
20 uint32_t GetAvailInput(FXBMP_Context* pContext,
22 void Input(FXBMP_Context* pContext,
25 int32_t ReadHeader(FXBMP_Context* pContext,
33 int32_t LoadImage(FXBMP_Context* pContext) override;
ccodec_gifmodule.h 20 void Finish(FXGIF_Context* pContext) override;
21 uint32_t GetAvailInput(FXGIF_Context* pContext,
24 void Input(FXGIF_Context* pContext,
28 int32_t ReadHeader(FXGIF_Context* pContext,
36 int32_t LoadFrameInfo(FXGIF_Context* pContext, int* frame_num) override;
37 int32_t LoadFrame(FXGIF_Context* pContext,
ccodec_pngmodule.h 21 void Finish(FXPNG_Context* pContext) override;
22 bool Input(FXPNG_Context* pContext,
icodec_bmpmodule.h 28 virtual void Finish(FXBMP_Context* pContext) = 0;
29 virtual uint32_t GetAvailInput(FXBMP_Context* pContext,
31 virtual void Input(FXBMP_Context* pContext,
34 virtual int32_t ReadHeader(FXBMP_Context* pContext,
42 virtual int32_t LoadImage(FXBMP_Context* pContext) = 0;
ccodec_jpegmodule.h 40 void Finish(FXJPEG_Context* pContext);
41 void Input(FXJPEG_Context* pContext,
46 int ReadHeader(FXJPEG_Context* pContext,
51 int ReadHeader(FXJPEG_Context* pContext,
58 bool StartScanline(FXJPEG_Context* pContext, int down_scale);
59 bool ReadScanline(FXJPEG_Context* pContext, uint8_t* dest_buf);
60 uint32_t GetAvailInput(FXJPEG_Context* pContext, uint8_t** avail_buf_ptr);
icodec_gifmodule.h 40 virtual void Finish(FXGIF_Context* pContext) = 0;
41 virtual uint32_t GetAvailInput(FXGIF_Context* pContext,
44 virtual void Input(FXGIF_Context* pContext,
48 virtual int32_t ReadHeader(FXGIF_Context* pContext,
56 virtual int32_t LoadFrameInfo(FXGIF_Context* pContext, int* frame_num) = 0;
57 virtual int32_t LoadFrame(FXGIF_Context* pContext,
icodec_pngmodule.h 34 virtual void Finish(FXPNG_Context* pContext) = 0;
35 virtual bool Input(FXPNG_Context* pContext,
  /frameworks/av/media/libeffects/lvm/wrapper/Reverb/
EffectReverb.cpp 187 int Reverb_init (ReverbContext *pContext);
188 void Reverb_free (ReverbContext *pContext);
189 int Reverb_setConfig (ReverbContext *pContext, effect_config_t *pConfig);
190 void Reverb_getConfig (ReverbContext *pContext, effect_config_t *pConfig);
191 int Reverb_setParameter (ReverbContext *pContext, void *pParam, void *pValue, int vsize);
192 int Reverb_getParameter (ReverbContext *pContext,
196 int Reverb_LoadPreset (ReverbContext *pContext);
230 ReverbContext *pContext = new ReverbContext;
232 pContext->itfe = &gReverbInterface;
233 pContext->hInstance = NULL
    [all...]
  /external/pdfium/fpdfsdk/
fpdf_progressive.cpp 47 CPDF_PageRenderContext* pContext = new CPDF_PageRenderContext;
48 pPage->SetRenderContext(pdfium::WrapUnique(pContext));
50 pContext->m_pDevice.reset(pDevice);
55 FPDF_RenderPage_Retail(pContext, page, start_x, start_y, size_x, size_y,
58 if (pContext->m_pRenderer) {
60 pContext->m_pRenderer->GetStatus());
74 CPDF_PageRenderContext* pContext = pPage->GetRenderContext();
75 if (pContext && pContext->m_pRenderer) {
77 pContext->m_pRenderer->Continue(&IPauseAdapter)
    [all...]
  /external/pdfium/core/fpdfapi/parser/
cpdf_crypto_handler.cpp 91 AESCryptContext* pContext = FX_Alloc(AESCryptContext, 1);
92 pContext->m_bIV = true;
93 pContext->m_BlockOffset = 0;
94 CRYPT_AESSetKey(pContext->m_Context, 16, m_EncryptKey, 32, bEncrypt);
97 pContext->m_Block[i] = (uint8_t)rand();
99 CRYPT_AESSetIV(pContext->m_Context, pContext->m_Block);
101 return pContext;
117 AESCryptContext* pContext = FX_Alloc(AESCryptContext, 1);
118 pContext->m_bIV = true
    [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...]
  /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...]
  /system/nfc/halimpl/pn54x/dnld/
phDnldNfc.h 30 * pContext - Upper layer context
34 typedef void (*pphDnldNfc_RspCb_t)(void* pContext, NFCSTATUS wStatus,
101 extern NFCSTATUS phDnldNfc_Reset(pphDnldNfc_RspCb_t pNotify, void* pContext);
104 void* pContext);
108 void* pContext);
111 void* pContext);
113 pphDnldNfc_RspCb_t pNotify, void* pContext);
115 pphDnldNfc_RspCb_t pNotify, void* pContext);
117 pphDnldNfc_RspCb_t pNotify, void* pContext);
119 pphDnldNfc_RspCb_t pNotify, void* pContext);
    [all...]
phNxpNciHal_Dnld.c 102 static NFCSTATUS phNxpNciHal_fw_dnld_reset(void* pContext, NFCSTATUS status,
105 static void phNxpNciHal_fw_dnld_reset_cb(void* pContext, NFCSTATUS status,
108 static NFCSTATUS phNxpNciHal_fw_dnld_force(void* pContext, NFCSTATUS status,
111 static void phNxpNciHal_fw_dnld_force_cb(void* pContext, NFCSTATUS status,
114 static void phNxpNciHal_fw_dnld_normal_cb(void* pContext, NFCSTATUS status,
117 static NFCSTATUS phNxpNciHal_fw_dnld_normal(void* pContext, NFCSTATUS status,
120 static void phNxpNciHal_fw_dnld_get_version_cb(void* pContext, NFCSTATUS status,
123 static NFCSTATUS phNxpNciHal_fw_dnld_get_version(void* pContext,
126 static void phNxpNciHal_fw_dnld_get_sessn_state_cb(void* pContext,
130 static NFCSTATUS phNxpNciHal_fw_dnld_get_sessn_state(void* pContext,
    [all...]
  /external/pdfium/fxjs/
cfxjse_class.h 19 static CFXJSE_Class* Create(CFXJSE_Context* pContext,
22 static CFXJSE_Class* GetClassFromContext(CFXJSE_Context* pContext,
  /frameworks/wilhelm/src/desktop/
SLSndFile.h 19 extern void SndFile_Callback(SLBufferQueueItf caller, void *pContext);

Completed in 2127 milliseconds

1 2 3 4 5 6 7 8 91011>>