Home
last modified time | relevance | path

Searched refs:packetSize (Results 1 – 4 of 4) sorted by relevance

/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/ipc_server/
H A DMessageParser.cpp326 pkt_size = CALC_32BIT_LITTLE(aiq_pkt->packetSize); in findValidSection2()
334 int packetSize = (tmpArray[2] & 0xff) | ((tmpArray[3] & 0xff) << 8) | in findValidSection2() local
337 if (packetSize >= 102400) { in findValidSection2()
342 char *receivedPacket = (char *)malloc(packetSize); in findValidSection2()
343 memset(receivedPacket, 0, packetSize); in findValidSection2()
344 memcpy(receivedPacket, tmpArray, packetSize); in findValidSection2()
352 memcpy(receivedData.packetSize, receivedPacket + offset, 4); in findValidSection2()
H A Dsocket_server.cpp73 unsigned int packetSize = in ProcessText() local
75 memcpy(dataReply.packetSize, &packetSize, 4); in ProcessText()
76 char *dataToSend = (char *)malloc(packetSize); in ProcessText()
79 memset(dataToSend, 0, packetSize); in ProcessText()
82 memcpy(dataToSend + offset, dataReply.packetSize, 4); in ProcessText()
98 send(client_socket, dataToSend, packetSize, 0); in ProcessText()
H A DMessageParser.hpp47 unsigned char packetSize[4]; member
/OK3568_Linux_fs/buildroot/dl/rtmpdump/git/librtmp/
H A Drtmp.c72 static const int packetSize[] = { 12, 8, 4, 1 }; variable
3596 nSize = packetSize[packet->m_headerType]; in RTMP_ReadPacket()
3945 nSize = packetSize[packet->m_headerType]; in RTMP_SendPacket()