PNGImageDecoder.cpp | 106 m_png = png_create_read_struct(PNG_LIBPNG_VER_STRING, 0, decodingFailed, decodingWarning); 107 m_info = png_create_info_struct(m_png); 108 png_set_progressive_read_fn(m_png, decoder, headerAvailable, rowAvailable, pngComplete); 118 if (m_png && m_info) 120 png_destroy_read_struct(&m_png, &m_info, 0); 131 PNGImageDecoder* decoder = static_cast<PNGImageDecoder*>(png_get_progressive_ptr(m_png)); 134 if (setjmp(JMPBUF(m_png))) 141 png_process_data(m_png, m_info, reinterpret_cast<png_bytep>(const_cast<char*>(segment)), segmentLength); 152 png_structp pngPtr() const { return m_png; } 165 png_structp m_png; member in class:WebCore::PNGImageReader [all...] |