/frameworks/av/media/libeffects/lvm/lib/Bundle/src/ |
LVM_Buffers.c | 63 LVM_Buffer_t *pBuffer; 71 pBuffer = pInstance->pBufferManagement; 72 pDest = pBuffer->pScratch; 73 *pToProcess = pBuffer->pScratch; 74 *pProcessed = pBuffer->pScratch; 84 pInstance->SamplesToProcess = (LVM_INT16)(*pNumSamples + pBuffer->InDelaySamples); 86 pBuffer->BufferState = LVM_FIRSTCALL; 89 pBuffer->SamplesToOutput = 0; /* Samples to output is same as number read for inplace processing */ 117 if (pBuffer->BufferState == LVM_FIRSTCALL) 119 pBuffer->BufferState = LVM_FIRSTLASTCALL [all...] |
/external/quake/quake/src/WinQuake/ |
conproc.cpp | 35 void ReleaseMappedBuffer (LPVOID pBuffer);
97 int *pBuffer;
113 pBuffer = (int *) GetMappedBuffer (hfileBuffer);
116 if (!pBuffer)
122 switch (pBuffer[0])
126 pBuffer[0] = WriteText ((LPCTSTR) (pBuffer + 1));
132 iBeginLine = pBuffer[1];
133 iEndLine = pBuffer[2];
134 pBuffer[0] = ReadText ((LPTSTR) (pBuffer + 1), iBeginLine, [all...] |
/external/skia/src/core/ |
SkPictureFlat.cpp | 47 char pBuffer[DUMP_BUFFER_SIZE]; 48 char* bufferPtr = pBuffer; 49 bufferPtr += snprintf(bufferPtr, DUMP_BUFFER_SIZE - (bufferPtr - pBuffer), 55 bufferPtr += snprintf(bufferPtr, DUMP_BUFFER_SIZE - (bufferPtr - pBuffer), 59 bufferPtr += snprintf(bufferPtr, DUMP_BUFFER_SIZE - (bufferPtr - pBuffer), 63 bufferPtr += snprintf(bufferPtr, DUMP_BUFFER_SIZE - (bufferPtr - pBuffer), 67 bufferPtr += snprintf(bufferPtr, DUMP_BUFFER_SIZE - (bufferPtr - pBuffer), 71 bufferPtr += snprintf(bufferPtr, DUMP_BUFFER_SIZE - (bufferPtr - pBuffer), 75 bufferPtr += snprintf(bufferPtr, DUMP_BUFFER_SIZE - (bufferPtr - pBuffer), 79 bufferPtr += snprintf(bufferPtr, DUMP_BUFFER_SIZE - (bufferPtr - pBuffer), [all...] |
SkPicturePlayback.cpp | [all...] |
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/system/lwjgl/ |
LwjglCanvas.java | 48 import org.lwjgl.opengl.Pbuffer;
78 private Pbuffer pbuffer;
field in class:LwjglCanvas 298 // Use 0 samples for pbuffer format, prevents
325 * Makes sure the pbuffer is available and ready for use
328 if (pbuffer != null && pbuffer.isBufferLost()){
329 logger.log(Level.WARNING, "PBuffer was lost!");
330 pbuffer.destroy();
331 pbuffer = null; 459 Display.create(acquirePixelFormat(false), pbuffer); local [all...] |
LwjglOffscreenBuffer.java | 51 private Pbuffer pbuffer;
field in class:LwjglOffscreenBuffer 58 if ((Pbuffer.getCapabilities() & Pbuffer.PBUFFER_SUPPORTED) == 0){
82 pbuffer = new Pbuffer(width, height, pixelFormat, null, null, createContextAttribs());
83 pbuffer.makeCurrent();
113 if (pbuffer.isBufferLost()){
114 pbuffer.destroy();
116 pbuffer = new Pbuffer(width, height, pixelFormat, null); [all...] |
/hardware/ti/wlan/wl1271/stad/src/Sta_Management/ |
templates.c | 85 nullDataTemplate_t *pBuffer = (nullDataTemplate_t *)pTemplate->ptr; 89 os_memoryZero(pSiteMgr->hOs, pBuffer, sizeof(nullDataTemplate_t)); 95 MAC_COPY (pBuffer->hdr.DA, pPrimarySite->bssid); 98 MAC_COPY (pBuffer->hdr.BSSID, pPrimarySite->bssid); 103 MAC_COPY (pBuffer->hdr.SA, param.content.ctrlDataDeviceMacAddress); 108 COPY_WLAN_WORD(&pBuffer->hdr.fc, &fc); /* copy with endianess handling. */ 136 disconnTemplate_t *pBuffer = (disconnTemplate_t *)pTemplate->ptr; 140 os_memoryZero(pSiteMgr->hOs, pBuffer, sizeof(disconnTemplate_t)); 146 MAC_COPY (pBuffer->hdr.DA, pPrimarySite->bssid); 149 MAC_COPY (pBuffer->hdr.BSSID, pPrimarySite->bssid); [all...] |
/hardware/ti/wlan/wl1271/stad/src/Data_link/ |
rx.c | 82 static void rxData_ReceivePacket (TI_HANDLE hRxData, void *pBuffer); 93 static TI_STATUS rxData_convertWlanToEthHeader (TI_HANDLE hRxData, void *pBuffer, TI_UINT16 * etherType); 94 static TI_STATUS rxData_ConvertAmsduToEthPackets (TI_HANDLE hRxData, void *pBuffer, TRxAttr* pRxAttr); 95 static void rxData_dataPacketDisptcher (TI_HANDLE hRxData, void *pBuffer, TRxAttr* pRxAttr); 96 static void rxData_discardPacket (TI_HANDLE hRxData, void *pBuffer, TRxAttr* pRxAttr); 97 static void rxData_discardPacketVlan (TI_HANDLE hRxData, void *pBuffer, TRxAttr* pRxAttr); 98 static void rxData_rcvPacketInOpenNotify (TI_HANDLE hRxData, void *pBuffer, TRxAttr* pRxAttr); 99 static void rxData_rcvPacketEapol (TI_HANDLE hRxData, void *pBuffer, TRxAttr* pRxAttr); 100 static void rxData_rcvPacketData (TI_HANDLE hRxData, void *pBuffer, TRxAttr* pRxAttr); 108 static void rxData_rcvPacketIapp(TI_HANDLE hRxData, void *pBuffer, TRxAttr* pRxAttr) [all...] |
/frameworks/av/libvideoeditor/vss/src/ |
VideoEditorResampler.cpp | 56 status_t VideoEditorResampler::getNextBuffer(AudioBufferProvider::Buffer *pBuffer, int64_t pts) { 58 uint32_t dataSize = pBuffer->frameCount * this->nbChannels * sizeof(int16_t); 61 pBuffer->raw = (void*)mTmpInBuffer; 66 void VideoEditorResampler::releaseBuffer(AudioBufferProvider::Buffer *pBuffer) { 68 if(pBuffer->raw != NULL) { 69 free(pBuffer->raw); 70 pBuffer->raw = NULL; 73 pBuffer->frameCount = 0;
|
/external/libnfc-nxp/src/ |
phFriNfc_LlcpUtils.c | 257 uint8_t *pBuffer, 284 *pBuffer++ = *pNext; 357 uint32_t phFriNfc_Llcp_Header2Buffer( phFriNfc_Llcp_sPacketHeader_t *psHeader, uint8_t *pBuffer, uint32_t nOffset ) 360 pBuffer[nOffset++] = (uint8_t)((psHeader->dsap << 2) | (psHeader->ptype >> 2)); 361 pBuffer[nOffset++] = (uint8_t)((psHeader->ptype << 6) | psHeader->ssap); 365 uint32_t phFriNfc_Llcp_Sequence2Buffer( phFriNfc_Llcp_sPacketSequence_t *psSequence, uint8_t *pBuffer, uint32_t nOffset ) 368 pBuffer[nOffset++] = (uint8_t)((psSequence->ns << 4) | (psSequence->nr)); 372 uint32_t phFriNfc_Llcp_Buffer2Header( uint8_t *pBuffer, uint32_t nOffset, phFriNfc_Llcp_sPacketHeader_t *psHeader ) 374 psHeader->dsap = (pBuffer[nOffset] & 0xFC) >> 2; 375 psHeader->ptype = ((pBuffer[nOffset] & 0x03) << 2) | ((pBuffer[nOffset+1] & 0xC0) >> 6) [all...] |
phFriNfc_LlcpUtils.h | 108 uint8_t *pBuffer, 122 uint8_t *pBuffer, 126 uint8_t *pBuffer, 129 uint32_t phFriNfc_Llcp_Buffer2Header( uint8_t *pBuffer, 133 uint32_t phFriNfc_Llcp_Buffer2Sequence( uint8_t *pBuffer,
|
/frameworks/av/libvideoeditor/lvpp/ |
VideoEditorSRC.cpp | 201 status_t VideoEditorSRC::getNextBuffer(AudioBufferProvider::Buffer *pBuffer, int64_t pts) { 202 ALOGV("getNextBuffer %d, chan = %d", pBuffer->frameCount, mChannelCnt); 204 uint32_t want = pBuffer->frameCount * mChannelCnt * 2; 205 pBuffer->raw = malloc(want); 224 free(pBuffer->raw); 225 pBuffer->raw = NULL; 226 pBuffer->frameCount = 0; 268 memcpy((uint8_t*)pBuffer->raw + done, end - mLeftover, todo); 280 pBuffer->frameCount = done / (mChannelCnt * 2); 281 ALOGV("getNextBuffer done %d", pBuffer->frameCount) [all...] |
/external/icu4c/tools/toolutil/ |
flagparser.c | 93 char *pBuffer; 100 pBuffer = buffer+offset; 106 if (pBuffer[i+1] == 0) { 112 flag[i] = pBuffer[i];
|
/external/srec/seti/sltsEngine/src/ |
SWIslts.c | 316 pTranscription->pBuffer = MALLOC(MAX_PHONE_LEN * (num_phones + 1+1), MTAG); 317 if( pTranscription->pBuffer == NULL ) { 323 nRes = GetPhoneStr(pEng, phone_string, num_phones, (char *)pTranscription->pBuffer, &(pTranscription->nSizeOfBuffer)); 337 if(pTranscription[i].pBuffer) { 338 FREE(pTranscription[i].pBuffer); 353 LCHAR * pBuffer = NULL; 359 pBuffer = ((LCHAR *)pTranscriptions - sizeof(int)); 360 nNbrOfTranscriptions = (int)*pBuffer; 363 if( pTranscriptions[i].pBuffer ) { 364 FREE(pTranscriptions[i].pBuffer); [all...] |
/external/libnfc-nxp/Linux_x86/ |
phDal4Nfc_i2c.h | 37 int phDal4Nfc_i2c_read(uint8_t * pBuffer, int nNbBytesToRead); 38 int phDal4Nfc_i2c_write(uint8_t * pBuffer, int nNbBytesToWrite);
|
phDal4Nfc_link.h | 41 typedef int (*phDal4Nfc_link_read_CB_t) (uint8_t * pBuffer, int nNbBytesToRead); 42 typedef int (*phDal4Nfc_link_write_CB_t) (uint8_t * pBuffer, int nNbBytesToWrite);
|
phDal4Nfc_uart.h | 41 int phDal4Nfc_uart_read(uint8_t * pBuffer, int nNbBytesToRead); 42 int phDal4Nfc_uart_write(uint8_t * pBuffer, int nNbBytesToWrite);
|
/frameworks/av/media/libstagefright/codecs/common/include/ |
voMem.h | 37 VO_PTR PBuffer; /*!< user data pointer */ 47 VO_U32 (VO_API * Check) (VO_S32 uID, VO_PTR pBuffer, VO_U32 uSize);
|
/frameworks/base/core/jni/ |
android_nfc.h | 47 uint16_t phFriNfc_NdefRecord_GetRecords(uint8_t* pBuffer, 57 uint8_t* pBuffer,
|
/frameworks/wilhelm/src/desktop/ |
OutputMixExt.h | 32 void (*FillBuffer)(SLOutputMixExtItf self, void *pBuffer, SLuint32 size); 48 extern void IOutputMixExt_FillBuffer(SLOutputMixExtItf self, void *pBuffer, SLuint32 size);
|
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/ |
MediaBufferPuller.cpp | 132 MediaBuffer* pBuffer; 134 status_t result = mSource->read(&pBuffer, NULL); 140 mBuffers.push(pBuffer); 167 MediaBuffer* pBuffer = mReleaseBuffers.itemAt(0); 170 pBuffer->release();
|
/frameworks/av/media/libstagefright/omx/ |
OMX.cpp | 406 node_id node, OMX_IN OMX_BUFFERHEADERTYPE *pBuffer) { 407 ALOGV("OnEmptyBufferDone buffer=%p", pBuffer); 412 msg.u.buffer_data.buffer = pBuffer; 420 node_id node, OMX_IN OMX_BUFFERHEADERTYPE *pBuffer) { 421 ALOGV("OnFillBufferDone buffer=%p", pBuffer); 426 msg.u.extended_buffer_data.buffer = pBuffer; 427 msg.u.extended_buffer_data.range_offset = pBuffer->nOffset; 428 msg.u.extended_buffer_data.range_length = pBuffer->nFilledLen; 429 msg.u.extended_buffer_data.flags = pBuffer->nFlags; 430 msg.u.extended_buffer_data.timestamp = pBuffer->nTimeStamp [all...] |
/external/sonivox/arm-hybrid-22k/lib_src/ |
ARM-E_filter_gnu.s | 40 pBuffer .req r2
67 LDR pBuffer, [pWTFrame, #m_pAudioBuffer]
88 LDRSH tmp0, [pBuffer] @ fetch sample
98 LDRSH tmp1, [pBuffer, #NEXT_OUTPUT_PCM] @ fetch next sample
101 STRH z1, [pBuffer], #NEXT_OUTPUT_PCM @ write back to buffer
115 LDRGTSH tmp0, [pBuffer, #NEXT_OUTPUT_PCM] @ fetch next sample
117 STRH z1, [pBuffer], #NEXT_OUTPUT_PCM @ write back to buffer
|
/external/sonivox/arm-wt-22k/lib_src/ |
ARM-E_filter_gnu.s | 40 pBuffer .req r2
67 LDR pBuffer, [pWTFrame, #m_pAudioBuffer]
88 LDRSH tmp0, [pBuffer] @ fetch sample
98 LDRSH tmp1, [pBuffer, #NEXT_OUTPUT_PCM] @ fetch next sample
101 STRH z1, [pBuffer], #NEXT_OUTPUT_PCM @ write back to buffer
115 LDRGTSH tmp0, [pBuffer, #NEXT_OUTPUT_PCM] @ fetch next sample
117 STRH z1, [pBuffer], #NEXT_OUTPUT_PCM @ write back to buffer
|
/hardware/ti/omap4xxx/security/smc_pa_ctrl/ |
smc_pa_ctrl_linux.c | 71 uint8_t* pBuffer = NULL; 95 pBuffer = (uint8_t*)malloc(nBytesToAllocate); 96 if (pBuffer == NULL) 109 nBytesRead = fread(pBuffer, 1, statFile.st_size, pFile); 130 pBuffer[nBytesRead] = 0; 135 return pBuffer; 142 free(pBuffer);
|