Home
last modified time | relevance | path

Searched refs:RkAiqSocketPacket_t (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/ipc_server/
H A DMessageParser.cpp67 RkAiqSocketPacket_t *newpkt = (RkAiqSocketPacket_t *)packet; in freePacket()
85 RkAiqSocketPacket_t *temp = (RkAiqSocketPacket_t *)from; in clonePacket()
86 RkAiqSocketPacket_t *opkt = in clonePacket()
87 (RkAiqSocketPacket_t *)malloc(sizeof(RkAiqSocketPacket_t)); in clonePacket()
92 memcpy(opkt, temp, sizeof(RkAiqSocketPacket_t)); in clonePacket()
148 RkAiqSocketPacket_t *new_pkt = nullptr; in process()
237 RkAiqSocketPacket_t *MessageParser::findValidSection(uint8_t *buffer, int len, in findValidSection()
240 RkAiqSocketPacket_t *aiq_pkt; in findValidSection()
261 if (remain_size < (int)sizeof(RkAiqSocketPacket_t)) { in findValidSection()
278 aiq_pkt = (RkAiqSocketPacket_t *)start_pos; in findValidSection()
[all …]
H A Dsocket_server.cpp25 RkAiqSocketPacket_t *aiq_data;
139 uint32_t out_len = sizeof(RkAiqSocketPacket_t) - sizeof(char *) + data_len; in rkaiq_ipc_send()
141 RkAiqSocketPacket_t *out_res = (RkAiqSocketPacket_t *)out_data; in rkaiq_ipc_send()
206 int rkaiq_packet_parse(RkAiqSocketPacket_t *aiq_data, uint8_t *buffer, in rkaiq_packet_parse()
210 RkAiqSocketPacket_t *aiq_pkt = NULL; in rkaiq_packet_parse()
216 if ((len - (start_pos - buffer)) < (int)sizeof(RkAiqSocketPacket_t)) { in rkaiq_packet_parse()
221 aiq_pkt = (RkAiqSocketPacket_t *)start_pos; in rkaiq_packet_parse()
224 memcpy(aiq_data, aiq_pkt, sizeof(RkAiqSocketPacket_t)); in rkaiq_packet_parse()
252 RkAiqSocketPacket_t *aiq_data = NULL; in rkaiq_params_tuning()
305 RkAiqSocketPacket_t *aiq_data = (RkAiqSocketPacket_t *)packet; in packetHandle()
H A DMessageParser.hpp64 } __attribute__((packed)) RkAiqSocketPacket_t; typedef
111 RkAiqSocketPacket_t *findValidSection(uint8_t *buffer, int len,