Main Page | Data Structures | File List | Data Fields | Globals

mr_image.c File Reference

#include <stdlib.h>
#include <string.h>
#include "mr_error.h"
#include "mr_image.h"

Functions

MrImagemr_image_new (unsigned int w, unsigned int h)
MrImagemr_image_new_from_data (unsigned int w, unsigned int h, unsigned char *data)
void mr_image_free (void *p)

Function Documentation

void mr_image_free void *  p  ) 
 

Destroys an image.

MrImage* mr_image_new unsigned int  w,
unsigned int  h
 

Creates a new image with a specified size.

MrImage* mr_image_new_from_data unsigned int  w,
unsigned int  h,
unsigned char *  data
 

Creates a new image with the specified size and data. !! COPY THE DATA !!


Generated on Sun Apr 9 17:29:41 2006 for MusicReco by  doxygen 1.4.4