Home
last modified time | relevance | path

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

/external/skia/src/codec/
DSkWebpCodec.cpp91 WebPChunkIterator chunkIterator; in MakeFromStream() local
92 SkAutoTCallVProc<WebPChunkIterator, WebPDemuxReleaseChunkIterator> autoCI(&chunkIterator); in MakeFromStream()
93 if (WebPDemuxGetChunk(demux, "ICCP", 1, &chunkIterator)) { in MakeFromStream()
95 auto chunk = SkData::MakeWithCopy(chunkIterator.chunk.bytes, chunkIterator.chunk.size); in MakeFromStream()
105 WebPChunkIterator chunkIterator; in MakeFromStream() local
106 SkAutoTCallVProc<WebPChunkIterator, WebPDemuxReleaseChunkIterator> autoCI(&chunkIterator); in MakeFromStream()
107 if (WebPDemuxGetChunk(demux, "EXIF", 1, &chunkIterator)) { in MakeFromStream()
108 SkParseEncodedOrigin(chunkIterator.chunk.bytes, chunkIterator.chunk.size, &origin); in MakeFromStream()
/external/skqp/src/codec/
DSkWebpCodec.cpp92 WebPChunkIterator chunkIterator; in MakeFromStream() local
93 SkAutoTCallVProc<WebPChunkIterator, WebPDemuxReleaseChunkIterator> autoCI(&chunkIterator); in MakeFromStream()
94 if (WebPDemuxGetChunk(demux, "ICCP", 1, &chunkIterator)) { in MakeFromStream()
96 auto chunk = SkData::MakeWithCopy(chunkIterator.chunk.bytes, chunkIterator.chunk.size); in MakeFromStream()
106 WebPChunkIterator chunkIterator; in MakeFromStream() local
107 SkAutoTCallVProc<WebPChunkIterator, WebPDemuxReleaseChunkIterator> autoCI(&chunkIterator); in MakeFromStream()
108 if (WebPDemuxGetChunk(demux, "EXIF", 1, &chunkIterator)) { in MakeFromStream()
109 is_orientation_marker(chunkIterator.chunk.bytes, chunkIterator.chunk.size, &origin); in MakeFromStream()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp4/
DAtomParsers.java203 ChunkIterator chunkIterator = new ChunkIterator(stsc, chunkOffsets, chunkOffsetsAreLongs); in parseStbl() local
260 while (remainingSamplesInChunk == 0 && (chunkDataComplete = chunkIterator.moveNext())) { in parseStbl()
261 offset = chunkIterator.offset; in parseStbl()
262 remainingSamplesInChunk = chunkIterator.numSamples; in parseStbl()
360 long[] chunkOffsetsBytes = new long[chunkIterator.length]; in parseStbl()
361 int[] chunkSampleCounts = new int[chunkIterator.length]; in parseStbl()
362 while (chunkIterator.moveNext()) { in parseStbl()
363 chunkOffsetsBytes[chunkIterator.index] = chunkIterator.offset; in parseStbl()
364 chunkSampleCounts[chunkIterator.index] = chunkIterator.numSamples; in parseStbl()