Searched refs:fPng_ptr (Results 1 – 4 of 4) sorted by relevance
/external/skia/src/codec/ |
D | SkPngCodec.cpp | 82 : 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 …]
|
D | SkPngCodec.h | 60 voidp png_ptr() { return fPng_ptr; } in png_ptr() 81 voidp fPng_ptr; variable
|
/external/skqp/src/codec/ |
D | SkPngCodec.cpp | 78 : fPng_ptr(png_ptr) in AutoCleanPng() 87 if (fPng_ptr) { in ~AutoCleanPng() 89 png_destroy_read_struct(&fPng_ptr, info_pp, nullptr); in ~AutoCleanPng() 113 png_structp fPng_ptr; member in AutoCleanPng 122 fPng_ptr = nullptr; in releasePngPtrs() 147 if (setjmp(PNG_JMPBUF(fPng_ptr))) { in decodeBounds() 151 png_set_progressive_read_fn(fPng_ptr, nullptr, nullptr, nullptr, nullptr); in decodeBounds() 165 png_process_data(fPng_ptr, fInfo_ptr, (png_bytep) buffer, 8); in decodeBounds() 183 png_process_data(fPng_ptr, fInfo_ptr, chunk, 8); in decodeBounds() 185 if (!process_data(fPng_ptr, fInfo_ptr, fStream, buffer, kBufferSize, length + 4)) { in decodeBounds() [all …]
|
D | SkPngCodec.h | 60 voidp png_ptr() { return fPng_ptr; } in png_ptr() 81 voidp fPng_ptr; variable
|