Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DPngCrunch.cpp34 PngReadStructDeleter(png_structp read_ptr, png_infop info_ptr) in PngReadStructDeleter()
43 png_structp read_ptr_;
52 PngWriteStructDeleter(png_structp write_ptr, png_infop info_ptr) in PngWriteStructDeleter()
61 png_structp write_ptr_;
68 static void LogWarning(png_structp png_ptr, png_const_charp warning_msg) { in LogWarning()
74 static void LogError(png_structp png_ptr, png_const_charp error_msg) { in LogError()
84 static void ReadDataFromStream(png_structp png_ptr, png_bytep buffer, png_size_t len) { in ReadDataFromStream()
109 static void WriteDataToStream(png_structp png_ptr, png_bytep buffer, png_size_t len) { in WriteDataToStream()
170 png_structp read_ptr = png_create_read_struct(PNG_LIBPNG_VER_STRING, nullptr, nullptr, nullptr); in ReadPng()
367 static void WritePalette(png_structp write_ptr, png_infop write_info_ptr, in WritePalette()
[all …]
DPng.cpp80 static void readDataFromStream(png_structp readPtr, png_bytep data, png_size_t length) { in readDataFromStream()
87 static void writeDataToStream(png_structp writePtr, png_bytep data, png_size_t length) { in writeDataToStream()
93 static void flushDataToStream(png_structp /*writePtr*/) { in flushDataToStream() argument
96 static void logWarning(png_structp readPtr, png_const_charp warningMessage) { in logWarning()
101 static bool readPng(IDiagnostics* diag, png_structp readPtr, png_infop infoPtr, PngInfo* outInfo) { in readPng()
419 static bool writePng(IDiagnostics* diag, png_structp writePtr, png_infop infoPtr, PngInfo* info, in writePng()
1191 png_structp readPtr = nullptr; in process()
1193 png_structp writePtr = nullptr; in process()
/frameworks/base/tools/aapt/
DImages.cpp22 png_write_aapt_file(png_structp png_ptr, png_bytep data, png_size_t length) in png_write_aapt_file()
33 png_flush_aapt_file(png_structp /* png_ptr */) in png_flush_aapt_file() argument
94 static void log_warning(png_structp png_ptr, png_const_charp warning_message) in log_warning()
101 png_structp read_ptr, png_infop read_info, in read_png()
1140 png_structp write_ptr, png_infop write_info, in write_png()
1324 static bool read_png_protected(png_structp read_ptr, String8& printableName, png_infop read_info, in read_png_protected()
1347 static bool write_png_protected(png_structp write_ptr, String8& printableName, png_infop write_info, in write_png_protected()
1378 png_structp read_ptr = NULL; in preProcessImage()
1384 png_structp write_ptr = NULL; in preProcessImage()
1461 png_structp read_ptr = NULL; in preProcessImageToCache()
[all …]