#include "wave-image.h"#include "common/wave_ex.h"#include "nstream/nstream.h"#include "perf/perf.h"#include "threadsafe/smart_ptr.h"#include "wave-jpeg/wave-jpeg.h"#include "wave-png/wave-png.h"
Go to the source code of this file.
Namespaces | |
| namespace | media |
Defines | |
| #define | ADD_IMAGE_LOADER(reg, type) |
Functions | |
| static Registry * | media::getRegistry (void) |
| bool | media::loadImage (IN nstream::Manager *mgr, IN const char *name, OUT image_t &image) |
| use this nstream-based routine to load images (see Named Stream Management). | |
| #define ADD_IMAGE_LOADER | ( | reg, | ||
| type | ||||
| ) |
{ \
DPRINTF("Adding image loader: '%s'...", #type ); \
smart_ptr<ImageLoader> loader = \
create ##type ##ImageLoader(); \
ASSERT(loader, "Failed to create loader of type: %s", \
#type ); \
reg->addLoader(loader); \
}
Definition at line 139 of file wave-image.cpp.
1.7.1