Home
last modified time | relevance | path

Searched refs:psData (Results 1 – 12 of 12) sorted by relevance

/external/aac/libSBRenc/src/
Dps_encode.cpp336 static void processIidData(PS_DATA *psData, in processIidData() argument
371 psData->iidEnable = 0; in processIidData()
380 psData->iidEnable = 1; in processIidData()
384 if(psData->iidEnable==0) { in processIidData()
385 psData->iidTimeCnt = MAX_TIME_DIFF_FRAMES; in processIidData()
387 psData->iidDiffMode[env] = PS_DELTA_FREQ; in processIidData()
388 FDKmemclear(psData->iidIdx[env], sizeof(INT)*psBands); in processIidData()
396 if( (psData->iidTimeCnt>=MAX_TIME_DIFF_FRAMES) || (psData->iidQuantModeLast==PS_IID_RES_FINE) ) { in processIidData()
400 …bitsIidTime = FDKsbrEnc_EncodeIid(NULL, iidIdxCoarse[0], psData->iidIdxLast, psBands, PS_IID_R… in processIidData()
433 …if( (psData->iidTimeCnt>=MAX_TIME_DIFF_FRAMES) || (psData->iidQuantModeLast==PS_IID_RES_COARSE) ) { in processIidData()
[all …]
Dps_encode.h146 PS_DATA psData; member
/external/libnfc-nxp/src/
DphFriNfc_LlcpMacNfcip.c36 phNfc_sData_t *psData,
272 phNfc_sData_t *psData, in phFriNfc_LlcpMac_Nfcip_Send() argument
278 if(NULL == LlcpMac || NULL == psData || NULL == LlcpMacSend_Cb || NULL == pContext) in phFriNfc_LlcpMac_Nfcip_Send()
316 psData->buffer, in phFriNfc_LlcpMac_Nfcip_Send()
317 (uint16_t)psData->length, in phFriNfc_LlcpMac_Nfcip_Send()
324 LlcpMac->psSendBuffer = psData; in phFriNfc_LlcpMac_Nfcip_Send()
333 LlcpMac->psSendBuffer = psData; in phFriNfc_LlcpMac_Nfcip_Send()
344 psData->buffer, in phFriNfc_LlcpMac_Nfcip_Send()
345 (uint16_t)psData->length); in phFriNfc_LlcpMac_Nfcip_Send()
358 phNfc_sData_t *psData, in phFriNfc_LlcpMac_Nfcip_Receive() argument
[all …]
DphFriNfc_LlcpMac.h114 phNfc_sData_t *psData,
123 phNfc_sData_t *psData);
137 phNfc_sData_t *psData,
142 phNfc_sData_t *psData,
233 phNfc_sData_t *psData,
242 phNfc_sData_t *psData,
DphFriNfc_LlcpMac.c148 phNfc_sData_t *psData, in phFriNfc_LlcpMac_Send() argument
154 …if(NULL== LlcpMac->LlcpMacInterface.send || NULL==psData || NULL==LlcpMacSend_Cb || NULL==pContext) in phFriNfc_LlcpMac_Send()
160 status = LlcpMac->LlcpMacInterface.send(LlcpMac,psData,LlcpMacSend_Cb,pContext); in phFriNfc_LlcpMac_Send()
166 phNfc_sData_t *psData, in phFriNfc_LlcpMac_Receive() argument
172 …if(LlcpMac->LlcpMacInterface.receive == NULL || NULL==psData || NULL==ReceiveLlcpMac_Cb || NULL==p… in phFriNfc_LlcpMac_Receive()
178 status = LlcpMac->LlcpMacInterface.receive(LlcpMac,psData,ReceiveLlcpMac_Cb,pContext); in phFriNfc_LlcpMac_Receive()
DphFriNfc_LlcpTransport_Connection.c464 phNfc_sData_t *psData, in Handle_ConnectionFrame() argument
481 status = phFriNfc_Llcp_GetSocket_Params(psData, in Handle_ConnectionFrame()
639 phNfc_sData_t *psData, in Handle_ConnectionCompleteFrame() argument
650 status = phFriNfc_Llcp_GetSocket_Params(psData, in Handle_ConnectionCompleteFrame()
804 phNfc_sData_t *psData, in Handle_DisconnetModeFrame() argument
815 if(psData->length != PHFRINFC_LLCP_DM_LENGTH) in Handle_DisconnetModeFrame()
855 dmOpCode = psData->buffer[0]; in Handle_DisconnetModeFrame()
895 phNfc_sData_t *psData, in Handle_Receive_IFrame() argument
917 phFriNfc_Llcp_Buffer2Sequence( psData->buffer, offset, &sLlcpLocalSequence); in Handle_Receive_IFrame()
921 psData->buffer = psData->buffer + PHFRINFC_LLCP_PACKET_SEQUENCE_SIZE; in Handle_Receive_IFrame()
[all …]
DphFriNfc_LlcpTransport_Connectionless.c69 phNfc_sData_t *psData, in Handle_Connectionless_IncommingFrame() argument
92 memcpy(pSocket->sSocketRecvBuffer->buffer, psData->buffer, psData->length); in Handle_Connectionless_IncommingFrame()
95 *pSocket->receivedLength = psData->length; in Handle_Connectionless_IncommingFrame()
111 psData->buffer, in Handle_Connectionless_IncommingFrame()
112 psData->length); in Handle_Connectionless_IncommingFrame()
113 pSocket->sSocketRwBufferTable[writeIndex].length = psData->length; in Handle_Connectionless_IncommingFrame()
DphFriNfc_LlcpTransport.c315 phNfc_sData_t *psData) in Handle_Discovery_IncomingFrame() argument
336 while(nInTlvOffset < psData->length) in Handle_Discovery_IncomingFrame()
338 result = phFriNfc_Llcp_DecodeTLV(psData, in Handle_Discovery_IncomingFrame()
445 phNfc_sData_t *psData, in phFriNfc_LlcpTransport__Recv_CB() argument
461 phFriNfc_Llcp_Buffer2Header( psData->buffer,0x00, &sLlcpLocalHeader); in phFriNfc_LlcpTransport__Recv_CB()
468 psData->length = psData->length - PHFRINFC_LLCP_PACKET_HEADER_SIZE; in phFriNfc_LlcpTransport__Recv_CB()
471 psData->buffer = psData->buffer + PHFRINFC_LLCP_PACKET_HEADER_SIZE; in phFriNfc_LlcpTransport__Recv_CB()
479 psData, in phFriNfc_LlcpTransport__Recv_CB()
490 psData); in phFriNfc_LlcpTransport__Recv_CB()
513 psData, in phFriNfc_LlcpTransport__Recv_CB()
DphFriNfc_Llcp.c86 phNfc_sData_t *psData);
966 phNfc_sData_t *psData) in phFriNfc_Llcp_Receive_CB() argument
985 phFriNfc_Llcp_Buffer2Header(psData->buffer, 0, &sPacketHeader); in phFriNfc_Llcp_Receive_CB()
989 LLCP_PRINT_BUFFER("\nReceived LLCP packet :", psData->buffer, psData->length); in phFriNfc_Llcp_Receive_CB()
1007 result = phFriNfc_Llcp_InternalActivate(Llcp, psData+PHFRINFC_LLCP_PACKET_HEADER_SIZE); in phFriNfc_Llcp_Receive_CB()
1029 result = phFriNfc_Llcp_HandleIncomingPacket(Llcp, psData); in phFriNfc_Llcp_Receive_CB()
DphFriNfc_LlcpTransport_Connectionless.h35 phNfc_sData_t *psData,
DphFriNfc_LlcpTransport_Connection.h34 phNfc_sData_t *psData,
DphFriNfc_Llcp.h237 phNfc_sData_t *psData,