Searched refs:packetLen (Results 1 – 8 of 8) sorted by relevance
/hardware/google/gfxstream/guest/OpenglCodecCommon/ |
D | ChecksumCalculator.cpp | 88 void ChecksumCalculator::addBuffer(const void*, size_t packetLen) { in addBuffer() argument 92 m_v1BufferTotalLength += packetLen; in addBuffer()
|
/hardware/google/gfxstream/host/apigen-codec-common/ |
D | ChecksumCalculator.cpp | 71 void ChecksumCalculator::addBuffer(const void* buf, size_t packetLen) { in addBuffer() argument 75 m_v1BufferTotalLength += packetLen; in addBuffer()
|
/hardware/google/gfxstream/host/vulkan/ |
D | VkSubDecoder.cpp | 46 uint32_t packetLen = *(uint32_t*)(ptr + 4); in subDecode() local 50 if (packetLen < 8 || packetLen > MAX_PACKET_LENGTH) { in subDecode() 51 WARN("Bad packet length %d detected, subdecode may fail", packetLen); in subDecode() 52 metricsLogger.logMetricEvent(MetricEventBadPacketLength{.len = packetLen}); in subDecode() 55 if (end - ptr < packetLen) return ptr - (unsigned char*)buf; in subDecode() 3202 ptr += packetLen; in subDecode()
|
D | VkDecoder.cpp | 136 uint32_t packetLen = *(uint32_t*)(ptr + 4); in decode() local 140 if (packetLen < 8 || packetLen > MAX_PACKET_LENGTH) { in decode() 141 WARN("Bad packet length %d detected, decode may fail", packetLen); in decode() 142 metricsLogger.logMetricEvent(MetricEventBadPacketLength{.len = packetLen}); in decode() 145 if (end - ptr < packetLen) return ptr - (unsigned char*)buf; in decode() 146 gfx_logger.record(ptr, std::min(size_t(packetLen + 8), size_t(end - ptr))); in decode() 160 {{"packet_length", std::to_string(packetLen)}, {"opcode", std::to_string(opcode)}}); in decode() 1938 packetLen += 8 + readStream; in decode() 21943 ptr += packetLen; in decode()
|
/hardware/google/gfxstream/host/magma/magma_dec/ |
D | magma_dec.cpp | 39 uint32_t packetLen = *(uint32_t *)(ptr + 4); in decode() local 40 if (end - ptr < packetLen) return ptr - (unsigned char*)buf; in decode() 1216 ptr += packetLen; in decode()
|
/hardware/google/gfxstream/host/renderControl_dec/ |
D | renderControl_dec.cpp | 37 uint32_t packetLen = *(uint32_t *)(ptr + 4); in decode() local 38 if (end - ptr < packetLen) return ptr - (unsigned char*)buf; in decode() 1468 ptr += packetLen; in decode()
|
/hardware/google/gfxstream/host/gl/gles1_dec/ |
D | gles1_dec.cpp | 39 uint32_t packetLen = *(uint32_t *)(ptr + 4); in decode() local 40 if (end - ptr < packetLen) return ptr - (unsigned char*)buf; in decode() 6184 ptr += packetLen; in decode()
|
/hardware/google/gfxstream/host/gl/gles2_dec/ |
D | gles2_dec.cpp | 39 uint32_t packetLen = *(uint32_t *)(ptr + 4); in decode() local 40 if (end - ptr < packetLen) return ptr - (unsigned char*)buf; in decode() 9754 ptr += packetLen; in decode()
|