Home
last modified time | relevance | path

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

/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/flv/
DFlvExtractor.java72 private final ParsableByteArray headerBuffer; field in FlvExtractor
91 headerBuffer = new ParsableByteArray(FLV_HEADER_SIZE); in FlvExtractor()
185 if (!input.readFully(headerBuffer.data, 0, FLV_HEADER_SIZE, true)) { in readFlvHeader()
190 headerBuffer.setPosition(0); in readFlvHeader()
191 headerBuffer.skipBytes(4); in readFlvHeader()
192 int flags = headerBuffer.readUnsignedByte(); in readFlvHeader()
206 bytesToNextTagHeader = headerBuffer.readInt() - FLV_HEADER_SIZE + 4; in readFlvHeader()
/external/u-boot/lib/zstd/
Dentropy_common.c29 …malizedCounter, unsigned *maxSVPtr, unsigned *tableLogPtr, const void *headerBuffer, size_t hbSize) in FSE_readNCount() argument
31 const BYTE *const istart = (const BYTE *)headerBuffer; in FSE_readNCount()
Ddecompress.c91 BYTE headerBuffer[ZSTD_FRAMEHEADERSIZE_MAX]; member
1746 memcpy(dctx->headerBuffer, src, ZSTD_frameHeaderSize_prefix); in ZSTD_decompressContinue()
1754 memcpy(dctx->headerBuffer, src, ZSTD_frameHeaderSize_prefix); in ZSTD_decompressContinue()
1763 memcpy(dctx->headerBuffer + ZSTD_frameHeaderSize_prefix, src, dctx->expected); in ZSTD_decompressContinue()
1764 CHECK_F(ZSTD_decodeFrameHeader(dctx, dctx->headerBuffer, dctx->headerSize)); in ZSTD_decompressContinue()
1836 memcpy(dctx->headerBuffer + ZSTD_frameHeaderSize_prefix, src, dctx->expected); in ZSTD_decompressContinue()
1837 dctx->expected = ZSTD_readLE32(dctx->headerBuffer + 4); in ZSTD_decompressContinue()
2164 BYTE headerBuffer[ZSTD_FRAMEHEADERSIZE_MAX]; /* tmp buffer to store frame header */ member
2304 size_t const hSize = ZSTD_getFrameParams(&zds->fParams, zds->headerBuffer, zds->lhSize); in ZSTD_decompressStream()
2310 memcpy(zds->headerBuffer + zds->lhSize, ip, iend - ip); in ZSTD_decompressStream()
[all …]
/external/webrtc/webrtc/examples/objc/AppRTCDemo/third_party/SocketRocket/
DSRWebSocket.m980 const uint8_t *headerBuffer = data.bytes;
983 if (headerBuffer[0] & SRRsvMask) {
988 uint8_t receivedOpcode = (SROpCodeMask & headerBuffer[0]);
1004 header.fin = !!(SRFinMask & headerBuffer[0]);
1007 header.masked = !!(SRMaskMask & headerBuffer[1]);
1008 header.payload_length = SRPayloadLenMask & headerBuffer[1];
1010 headerBuffer = NULL;