Home
last modified time | relevance | path

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

/hardware/nxp/uwb/halimpl/hal/sr1xx/
DphNxpUciHal_fwd.cc238 uint16_t lrc, dataSz, payloadSz, segment; in phHbci_QueryInfo() local
268 dataSz = payloadSz - lrc; in phHbci_QueryInfo()
270 if (!dataSz) in phHbci_QueryInfo()
295 else if (dataSz > maxSz) in phHbci_QueryInfo()
297 ALOGD("ERROR: Total Size (%u) Greater Than Max. Size (%u)!\n", dataSz, maxSz); in phHbci_QueryInfo()
300 else if (matchMaxSz && (dataSz != maxSz)) in phHbci_QueryInfo()
302 ALOGD("ERROR: Total Size (%u) Not Equal To Expected Size (%u)!\n", dataSz, maxSz); in phHbci_QueryInfo()
321 …if (gphHbci_MisoApdu.payload[dataSz] != phHbci_CalcLrc((uint8_t *)&gphHbci_MisoApdu, PHHBCI_LEN_HD… in phHbci_QueryInfo()
327 memcpy(&pInfo[*pInfoSz], gphHbci_MisoApdu.payload, dataSz); in phHbci_QueryInfo()
328 *pInfoSz += dataSz; in phHbci_QueryInfo()
[all …]
/hardware/google/aemu/host-common/
DMediaVideoToolBoxVideoHelper.cpp211 uint32_t dataSz = szBytes - startHeaderSz; in handleIDRFrame() local
212 std::unique_ptr<uint8_t> idr(new uint8_t[dataSz + 4]); in handleIDRFrame()
213 uint32_t dataSzNl = htonl(dataSz); in handleIDRFrame()
219 memcpy(idr.get() + 4, ptr + startHeaderSz, dataSz); in handleIDRFrame()
222 sampleBuf = createSampleBuffer(mCmFmtDesc, (void*)idr.get(), dataSz + 4); in handleIDRFrame()
DMediaH264DecoderVideoToolBox.cpp434 uint32_t dataSz = szBytes - startHeaderSz; in handleIDRFrame() local
435 std::unique_ptr<uint8_t> idr(new uint8_t[dataSz + 4]); in handleIDRFrame()
436 uint32_t dataSzNl = htonl(dataSz); in handleIDRFrame()
442 memcpy(idr.get() + 4, ptr + startHeaderSz, dataSz); in handleIDRFrame()
445 sampleBuf = createSampleBuffer(mCmFmtDesc, (void*)idr.get(), dataSz + 4); in handleIDRFrame()