Searched defs:pBuf (Results 1 - 25 of 47) sorted by relevance

12

/hardware/ti/wlan/wl1271/utils/
H A Dstack.h55 void *pBuf; member in struct:_Stack_t
67 unsigned stackInit (Stack_t *pStack, TI_HANDLE hOs, unsigned uElemSize, unsigned uDep, void *pBuf, void (*fCpy) (TI_HANDLE, void*, void*, unsigned));
H A Dstack.c63 * \param pBuf - pointer to the stack buffer; if NULL a memory for the stack buffer will be dynamically allocated\n
73 void *pBuf,
82 if (pBuf)
84 pStack->pBuf = pBuf;
90 pStack->pBuf = _os_memoryAlloc (hOs, pStack->uDep);
114 _os_memoryFree (pStack->hOs, pStack->pBuf, pStack->uDep);
133 pStack->fCpy (pStack->hOs, (unsigned char*)pStack->pBuf + pStack->uPtr, pVal, pStack->uElemSize);
157 pStack->fCpy (pStack->hOs, pVal, (unsigned char*)pStack->pBuf + pStack->uPtr, pStack->uElemSize);
67 stackInit( Stack_t *pStack, TI_HANDLE hOs, unsigned uElemSize, unsigned uDep, void *pBuf, void (*fCpy) (TI_HANDLE, void*, void*, unsigned) ) argument
/hardware/ti/wlan/wl1271/platforms/os/linux/src/
H A DRxBuf.c74 inline void RxBufFree(TI_HANDLE hOs, void *pBuf) argument
76 unsigned char *pdata = (unsigned char *)((TI_UINT32)pBuf & ~(TI_UINT32)0x3);
81 if ((TI_UINT32)pBuf & 0x3)
83 if ((TI_UINT32)pBuf - (TI_UINT32)skb->data != 2)
85 printk("RxBufFree() address error skb=0x%x skb->data=0x%x pPacket=0x%x !!!\n",(int)skb, (int)skb->data, (int)pBuf);
90 if ((TI_UINT32)skb->data != (TI_UINT32)pBuf)
92 printk("RxBufFree() address error skb=0x%x skb->data=0x%x pPacket=0x%x !!!\n",(int)skb, (int)skb->data, (int)pBuf);
/hardware/ti/omap3/dspbridge/libbridge/
H A DDSPManager.c378 DBAPI DSPManager_GetProcResourceInfo(UINT *pBuf, UINT *pSize) argument
385 if (pBuf == NULL)
390 tempStruct.ARGS_PROC_GETTRACE.pBuf = (BYTE *)pBuf;
H A DDSPStrm.c116 PVOID pBuf = NULL; local
162 pBuf = MEM_Alloc(uSize, MEM_NONPAGED);
163 if (!pBuf) {
168 apBuffer[i] = pBuf;
/hardware/ti/wlan/wl1271/stad/src/Sta_Management/
H A Dtemplates.c224 char *pBuf; local
261 pBuf = (char *)&(pBuffer->infoElements);
276 ((dot11_SSID_t *)(pBuf))->hdr[0] = DOT11_SSID_ELE_ID;
277 ((dot11_SSID_t *)(pBuf))->hdr[1] = pSsid->len;
278 os_memoryCopy(pSiteMgr->hOs, pBuf + sizeof(dot11_eleHdr_t), (void *)pSsid->str, pSsid->len);
280 pBuf += sizeof(dot11_eleHdr_t) + pSsid->len;
283 pDot11Rates = (dot11_RATES_t *) pBuf;
333 pBuf += pDot11Rates->hdr[1] + sizeof(dot11_eleHdr_t);
341 pDot11Rates = (dot11_RATES_t *) (pBuf + suppRatesLen);
347 pBuf
403 TI_UINT8 *pBuf; local
[all...]
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_dec/src/
H A DOMX_G722Dec_Utils.c1619 OMX_BUFFERHEADERTYPE *pBuf = NULL; local
1625 pBuf = pComponentPrivate->pInputBufferList->pBufHdr[i];
1626 if(pBufHeader == pBuf) {
1637 pBuf = pComponentPrivate->pOutputBufferList->pBufHdr[i];
1638 if(pBufHeader == pBuf) {
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_dec/src/
H A DOMX_G729Dec_Utils.c1665 OMX_BUFFERHEADERTYPE *pBuf = NULL; local
1673 pBuf = pComponentPrivate->pInputBufferList->pBufHdr[i];
1674 if(pBufHeader == pBuf) {
1685 pBuf = pComponentPrivate->pOutputBufferList->pBufHdr[i];
1686 if(pBufHeader == pBuf) {
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_enc/src/
H A DOMX_G729Enc_Utils.c1740 OMX_BUFFERHEADERTYPE *pBuf = NULL; local
1748 pBuf = pComponentPrivate->pInputBufferList->pBufHdr[i];
1749 if(pBufHeader == pBuf)
1752 G729ENC_DPRINT("pBufHeader = %p is INPUT BUFFER pBuf = %p\n",
1753 pBufHeader, pBuf);
1762 pBuf = pComponentPrivate->pOutputBufferList->pBufHdr[i];
1763 if(pBufHeader == pBuf)
1766 G729ENC_DPRINT("pBufHeader = %p is OUTPUT BUFFER pBuf = %p\n",
1767 pBufHeader, pBuf);
/hardware/ti/wlan/wl1271/Test/
H A DTWD_Debug.c134 TI_UINT8 *pBuf; local
160 for (i=0, pBuf = pTWD->tPrintRegsBuf.value; i < 256; i += 16, pBuf += 16)
164 pBuf[0], pBuf[1], pBuf[2], pBuf[3], pBuf[4], pBuf[5], pBuf[
[all...]
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_dec/src/
H A DOMX_AacDec_Utils.c2473 OMX_BUFFERHEADERTYPE *pBuf = NULL; local
2478 pBuf = pComponentPrivate->pInputBufferList->pBufHdr[i];
2479 if(pBufHeader == pBuf) {
2490 pBuf = pComponentPrivate->pOutputBufferList->pBufHdr[i];
2491 if(pBufHeader == pBuf) {
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_enc/src/
H A DOMX_AacEnc_Utils.c2252 OMX_BUFFERHEADERTYPE *pBuf = NULL; local
2262 pBuf = pComponentPrivate->pInputBufferList->pBufHdr[i];
2263 if(pBufHeader == pBuf)
2277 pBuf = pComponentPrivate->pOutputBufferList->pBufHdr[i];
2278 if(pBufHeader == pBuf)
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/src/
H A DOMX_G711Dec_Utils.c1866 OMX_BUFFERHEADERTYPE *pBuf = NULL; local
1876 pBuf = pComponentPrivate->pInputBufferList->pBufHdr[i];
1877 if(pBufHeader == pBuf) {
1889 pBuf = pComponentPrivate->pOutputBufferList->pBufHdr[i];
1890 if(pBufHeader == pBuf) {
2712 G711DEC_PRINT("pBuf is NULL\n");
2719 G711DEC_PRINT("pBuf is NULL\n");
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_enc/src/
H A DOMX_G711Enc_Utils.c1779 OMX_BUFFERHEADERTYPE *pBuf = NULL; local
1785 pBuf = pComponentPrivate->pInputBufferList->pBufHdr[i];
1786 if(pBufHeader == pBuf) {
1788 G711ENC_DPRINT("%d :: pBufHeader = %p is INPUT BUFFER pBuf = %p\n",__LINE__,pBufHeader,pBuf);
1797 pBuf = pComponentPrivate->pOutputBufferList->pBufHdr[i];
1798 if(pBufHeader == pBuf) {
1800 G711ENC_DPRINT("%d :: pBufHeader = %p is OUTPUT BUFFER pBuf = %p\n",__LINE__,pBufHeader,pBuf);
2536 G711ENC_DPRINT("pBuf i
[all...]
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_enc/src/
H A DOMX_G722Enc_Utils.c1417 OMX_BUFFERHEADERTYPE *pBuf = NULL; local
1424 pBuf = pComponentPrivate->pInputBufferList->pBufHdr[i];
1425 if(pBufHeader == pBuf) {
1435 pBuf = pComponentPrivate->pOutputBufferList->pBufHdr[i];
1436 if(pBufHeader == pBuf) {
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_enc/tests/
H A DG722EncTest.c121 int fill_data (OMX_BUFFERHEADERTYPE *pBuf, FILE *fIn);
1089 OMX_BUFFERHEADERTYPE* pBuf = NULL; local
1090 read(OpBuf_Pipe[0], &pBuf, sizeof(pBuf));
1092 if (pBuf->nAllocLen != pBuf->nFilledLen) {
1093 APP_DPRINT("%d :: WARNING: Different Size, %ld\n", __LINE__, pBuf->nFilledLen);
1096 fwrite(pBuf->pBuffer, 1, pBuf->nFilledLen, fOut);
1100 OMX_FillThisBuffer(pHandle, pBuf);
1381 fill_data(OMX_BUFFERHEADERTYPE *pBuf,FILE *fIn) argument
[all...]
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/src/
H A DOMX_G726Dec_Utils.c1524 OMX_BUFFERHEADERTYPE *pBuf = NULL; local
1530 pBuf = pComponentPrivate->pInputBufferList->pBufHdr[i];
1531 if(pBufHeader == pBuf) {
1542 pBuf = pComponentPrivate->pOutputBufferList->pBufHdr[i];
1543 if(pBufHeader == pBuf) {
1991 G726DEC_DPRINT("pBuf is NULL\n");
1998 G726DEC_DPRINT("pBuf is NULL\n");
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/tests/
H A DG726DecTest.c135 int fill_data (OMX_BUFFERHEADERTYPE *pBuf, FILE *fIn);
1172 OMX_BUFFERHEADERTYPE* pBuf = NULL; local
1173 read(OpBuf_Pipe[0], &pBuf, sizeof(pBuf));
1174 if(pBuf->nFilledLen == 0){
1175 APP_DPRINT("%d :: APP: output buffer received, filled length = %d, totalfilled = %d\n",__LINE__,(int)pBuf->nFilledLen,totalFilled);
1177 APP_DPRINT("%d :: APP: output buffer received, filled length = %d, totalfilled = %d\n",__LINE__,(int)pBuf->nFilledLen,totalFilled);
1178 fwrite(pBuf->pBuffer, 1, pBuf->nFilledLen, fOut);
1181 APP_DPRINT("Output time stamp = %d\n", (int)pBuf
1409 fill_data(OMX_BUFFERHEADERTYPE *pBuf,FILE *fIn) argument
[all...]
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/src/
H A DOMX_G726Enc_Utils.c1550 OMX_BUFFERHEADERTYPE *pBuf = NULL; local
1556 pBuf = pComponentPrivate->pInputBufferList->pBufHdr[i];
1557 if(pBufHeader == pBuf) {
1559 G726ENC_DPRINT("%d :: pBufHeader = %p is INPUT BUFFER pBuf = %p\n",__LINE__,pBufHeader,pBuf);
1567 pBuf = pComponentPrivate->pOutputBufferList->pBufHdr[i];
1568 if(pBufHeader == pBuf) {
1570 G726ENC_DPRINT("%d :: pBufHeader = %p is OUTPUT BUFFER pBuf = %p\n",__LINE__,pBufHeader,pBuf);
/hardware/ti/omap3/omx/audio/src/openmax_il/mp3_dec/src/
H A DOMX_Mp3Dec_Utils.c2274 OMX_BUFFERHEADERTYPE *pBuf = NULL; local
2280 pBuf = pComponentPrivate->pInputBufferList->pBufHdr[i];
2281 if(pBufHeader == pBuf) {
2292 pBuf = pComponentPrivate->pOutputBufferList->pBufHdr[i];
2293 if(pBufHeader == pBuf) {
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_enc/src/
H A DOMX_AmrEnc_Utils.c1991 OMX_BUFFERHEADERTYPE *pBuf = NULL; local
1997 pBuf = pComponentPrivate->pInputBufferList->pBufHdr[i];
1998 if(pBufHeader == pBuf) {
2000 OMX_PRBUFFER2(pComponentPrivate->dbg, "%d :: pBufHeader = %p is INPUT BUFFER pBuf = %p\n",__LINE__,pBufHeader,pBuf);
2008 pBuf = pComponentPrivate->pOutputBufferList->pBufHdr[i];
2009 if(pBufHeader == pBuf) {
2011 OMX_PRBUFFER2(pComponentPrivate->dbg, "%d :: pBufHeader = %p is OUTPUT BUFFER pBuf = %p\n",__LINE__,pBufHeader,pBuf);
2992 OMX_ERROR4 (dbg, "pBuf i
[all...]
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_enc/src/
H A DOMX_WbAmrEnc_Utils.c2142 OMX_BUFFERHEADERTYPE *pBuf = NULL; local
2149 pBuf = pComponentPrivate->pInputBufferList->pBufHdr[i];
2151 if (pBufHeader == pBuf) {
2154 "pBufHeader = %p is INPUT BUFFER pBuf = %p\n",
2156 pBuf);
2166 pBuf = pComponentPrivate->pOutputBufferList->pBufHdr[i];
2168 if (pBufHeader == pBuf) {
2170 OMX_PRBUFFER2(pComponentPrivate->dbg, "pBufHeader = %p is OUTPUT BUFFER pBuf = %p\n",
2172 pBuf);
3227 OMX_ERROR4 (dbg, "pBuf i
[all...]
/hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/src/
H A DOMX_WmaDec_Utils.c1698 OMX_BUFFERHEADERTYPE *pBuf = NULL; local
1714 pBuf = pComponentPrivate->pInputBufferList->pBufHdr[i];
1715 if(pBufHeader == pBuf)
1729 pBuf = pComponentPrivate->pOutputBufferList->pBufHdr[i];
1730 if(pBufHeader == pBuf)
/hardware/ti/omap4xxx/camera/
H A DBaseCameraAdapter.cpp225 unsigned int *pBuf = (unsigned int *)buf; local
228 if ((frameBuf != NULL) && ( pBuf != NULL) )
232 frame->mYuv[0] = pBuf[0];
233 frame->mYuv[1] = pBuf[1];
/hardware/ti/wlan/wl1271/stad/src/Ctrl_Interface/
H A DDrvMain.c865 * \param pBuf - The ini-file data.
870 static TI_STATUS drvMain_SetDefaults (TI_HANDLE hDrvMain, TI_UINT8 *pBuf, TI_UINT32 uLength) argument
879 eStatus = osInitTable_IniFile (pDrvMain->tStadHandles.hOs, pInitTable, (char*)pBuf, (int)uLength);
1073 * \param pBuf - The file data (NVS for HW-init, FW-Image for FW-init).

Completed in 613 milliseconds

12