Home
last modified time | relevance | path

Searched refs:chunkHeader (Results 1 – 2 of 2) sorted by relevance

/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/wav/
DWavHeaderReader.java52 ChunkHeader chunkHeader = ChunkHeader.peek(input, scratch); in peek() local
53 if (chunkHeader.id != WavUtil.RIFF_FOURCC) { in peek()
66 chunkHeader = ChunkHeader.peek(input, scratch); in peek()
67 while (chunkHeader.id != WavUtil.FMT_FOURCC) { in peek()
68 input.advancePeekPosition((int) chunkHeader.size); in peek()
69 chunkHeader = ChunkHeader.peek(input, scratch); in peek()
72 Assertions.checkState(chunkHeader.size >= 16); in peek()
82 int bytesLeft = (int) chunkHeader.size - 16; in peek()
119 ChunkHeader chunkHeader = ChunkHeader.peek(input, scratch); in skipToData() local
120 while (chunkHeader.id != WavUtil.DATA_FOURCC) { in skipToData()
[all …]
/external/wayland/cursor/
Dxcursor.c384 XcursorChunkHeader *chunkHeader) in _XcursorFileReadChunkHeader() argument
386 if (!file || !fileHeader || !chunkHeader) in _XcursorFileReadChunkHeader()
390 if (!_XcursorReadUInt (file, &chunkHeader->header)) in _XcursorFileReadChunkHeader()
392 if (!_XcursorReadUInt (file, &chunkHeader->type)) in _XcursorFileReadChunkHeader()
394 if (!_XcursorReadUInt (file, &chunkHeader->subtype)) in _XcursorFileReadChunkHeader()
396 if (!_XcursorReadUInt (file, &chunkHeader->version)) in _XcursorFileReadChunkHeader()
399 if (chunkHeader->type != fileHeader->tocs[toc].type || in _XcursorFileReadChunkHeader()
400 chunkHeader->subtype != fileHeader->tocs[toc].subtype) in _XcursorFileReadChunkHeader()
469 XcursorChunkHeader chunkHeader; in _XcursorReadImage() local
478 if (!_XcursorFileReadChunkHeader (file, fileHeader, toc, &chunkHeader)) in _XcursorReadImage()
[all …]