Home
last modified time | relevance | path

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

/third_party/skia/src/codec/
DSkPngCodec.cpp81 : fPng_ptr(png_ptr) in AutoCleanPng()
90 if (fPng_ptr) { in ~AutoCleanPng()
92 png_destroy_read_struct(&fPng_ptr, info_pp, nullptr); in ~AutoCleanPng()
116 png_structp fPng_ptr; member in AutoCleanPng
125 fPng_ptr = nullptr; in releasePngPtrs()
149 if (setjmp(PNG_JMPBUF(fPng_ptr))) { in decodeBounds()
153 png_set_progressive_read_fn(fPng_ptr, nullptr, nullptr, nullptr, nullptr); in decodeBounds()
167 png_process_data(fPng_ptr, fInfo_ptr, (png_bytep) buffer, 8); in decodeBounds()
185 png_process_data(fPng_ptr, fInfo_ptr, chunk, 8); in decodeBounds()
187 if (!process_data(fPng_ptr, fInfo_ptr, fStream, buffer, kBufferSize, length + 4)) { in decodeBounds()
[all …]
DSkPngCodec.h58 voidp png_ptr() { return fPng_ptr; } in png_ptr()
79 voidp fPng_ptr; variable
/third_party/flutter/skia/src/codec/
DSkPngCodec.cpp82 : fPng_ptr(png_ptr) in AutoCleanPng()
91 if (fPng_ptr) { in ~AutoCleanPng()
93 png_destroy_read_struct(&fPng_ptr, info_pp, nullptr); in ~AutoCleanPng()
117 png_structp fPng_ptr; member in AutoCleanPng
126 fPng_ptr = nullptr; in releasePngPtrs()
151 if (setjmp(PNG_JMPBUF(fPng_ptr))) { in decodeBounds()
155 png_set_progressive_read_fn(fPng_ptr, nullptr, nullptr, nullptr, nullptr); in decodeBounds()
169 png_process_data(fPng_ptr, fInfo_ptr, (png_bytep) buffer, 8); in decodeBounds()
187 png_process_data(fPng_ptr, fInfo_ptr, chunk, 8); in decodeBounds()
189 if (!process_data(fPng_ptr, fInfo_ptr, fStream, buffer, kBufferSize, length + 4)) { in decodeBounds()
[all …]
DSkPngCodec.h58 voidp png_ptr() { return fPng_ptr; } in png_ptr()
79 voidp fPng_ptr; variable