Home
last modified time | relevance | path

Searched refs:packetLen (Results 1 – 8 of 8) sorted by relevance

/hardware/google/gfxstream/guest/OpenglCodecCommon/
DChecksumCalculator.cpp88 void ChecksumCalculator::addBuffer(const void*, size_t packetLen) { in addBuffer() argument
92 m_v1BufferTotalLength += packetLen; in addBuffer()
/hardware/google/gfxstream/host/apigen-codec-common/
DChecksumCalculator.cpp71 void ChecksumCalculator::addBuffer(const void* buf, size_t packetLen) { in addBuffer() argument
75 m_v1BufferTotalLength += packetLen; in addBuffer()
/hardware/google/gfxstream/host/vulkan/
DVkSubDecoder.cpp46 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()
DVkDecoder.cpp136 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/
Dmagma_dec.cpp39 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/
DrenderControl_dec.cpp37 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/
Dgles1_dec.cpp39 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/
Dgles2_dec.cpp39 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()