22 #ifndef PSP_PNG_IMAGE_H 23 #define PSP_PNG_IMAGE_H 29 bool basicImageLoad();
30 bool findImageDimensions();
31 bool loadImageIntoBuffer();
33 static void warningFn(png_structp png_ptr, png_const_charp warning_msg);
34 static void libReadFunc(png_structp pngPtr, png_bytep data, png_size_t length);
43 Buffer::HowToSize _sizeBy;
60 Buffer::HowToSize sizeBy = Buffer::kSizeByTextureSize) :
61 _file(file), _buffer(&buffer), _palette(&palette),
62 _width(0), _height(0), _paletteSize(0),
63 _bitDepth(0), _sizeBy(sizeBy), _pngPtr(0),
64 _infoPtr(0), _colorType(0), _channels(0) {}
66 PngLoader::Status allocate();
Definition: display_client.h:113
Definition: png_loader.h:27
Definition: atari-screen.h:44