Home
last modified time | relevance | path

Searched refs:chunkReader (Results 1 – 6 of 6) sorted by relevance

/external/skia/src/codec/
DSkAndroidCodec.cpp68 SkAndroidCodec* SkAndroidCodec::NewFromStream(SkStream* stream, SkPngChunkReader* chunkReader) { in NewFromStream() argument
69 std::unique_ptr<SkCodec> codec(SkCodec::NewFromStream(stream, chunkReader)); in NewFromStream()
99 SkAndroidCodec* SkAndroidCodec::NewFromData(sk_sp<SkData> data, SkPngChunkReader* chunkReader) { in NewFromData() argument
104 return NewFromStream(new SkMemoryStream(data), chunkReader); in NewFromData()
DSkPngCodec.cpp57 SkPngChunkReader* chunkReader = (SkPngChunkReader*)png_get_user_chunk_ptr(png_ptr); in sk_read_user_chunk() local
59 return chunkReader->readChunk((const char*)chunk->name, chunk->data, chunk->size) ? 1 : -1; in sk_read_user_chunk()
783 static bool read_header(SkStream* stream, SkPngChunkReader* chunkReader, SkCodec** outCodec, in read_header() argument
792 AutoCleanPng autoClean(png_ptr, stream, chunkReader, outCodec); in read_header()
811 if (chunkReader) { in read_header()
813 png_set_read_user_chunk_fn(png_ptr, (png_voidp) chunkReader, sk_read_user_chunk); in read_header()
959 SkStream* stream, SkPngChunkReader* chunkReader, void* png_ptr, in SkPngCodec() argument
962 , fPngChunkReader(SkSafeRef(chunkReader)) in SkPngCodec()
1174 SkCodec* SkPngCodec::NewFromStream(SkStream* stream, SkPngChunkReader* chunkReader) { in NewFromStream() argument
1178 if (read_header(streamDeleter.get(), chunkReader, &outCodec, nullptr, nullptr)) { in NewFromStream()
DSkCodec.cpp51 SkPngChunkReader* chunkReader) { in NewFromStream() argument
91 return SkPngCodec::NewFromStream(streamDeleter.release(), chunkReader); in NewFromStream()
/external/skia/tests/
DCodecTest.cpp842 ChunkReader chunkReader(r); in DEF_TEST() local
845 std::unique_ptr<SkCodec> codec(SkCodec::NewFromData(wStream.detachAsData(), &chunkReader)); in DEF_TEST()
871 REPORTER_ASSERT(r, chunkReader.allHaveBeenSeen()); in DEF_TEST()
874 chunkReader.reset(); in DEF_TEST()
875 REPORTER_ASSERT(r, !chunkReader.allHaveBeenSeen()); in DEF_TEST()
878 REPORTER_ASSERT(r, chunkReader.allHaveBeenSeen()); in DEF_TEST()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...