Namespaces | Functions

wave-png.cpp File Reference

#include "wave-png.h"
#include "png.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <fstream>
#include "nstream/nstream.h"
#include "perf/perf.h"
#include "util/file.h"
Include dependency graph for wave-png.cpp:

Go to the source code of this file.

Namespaces

namespace  media

Functions

static void media::pngReadFromStream (png_structp ctx, png_bytep data, png_size_t bytes)
static int media::getBytesPerPixel (IN int ct) throw ()
static eColorFormat media::getColorFormat (IN int pngColorType) throw ()
void media::readPngFromStream (IO std::istream &stream, OUT image_t &png)

smart_ptr< ImageLoader > media::createPngImageLoader (void)
 creates an image loader for use by the Image Library library.