Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

rgb_io_sgi.c File Reference

#include "config.h"
#include <volume_io/internal_volume_io.h>
#include <bicpl/objects.h>
#include <bicpl/images.h>
#include <image.h>

Include dependency graph for rgb_io_sgi.c:

Include dependency graph

Go to the source code of this file.

Functions

unsigned short * ibufalloc (IMAGE *image)
IMAGE * iopen (char *file, char *mode, unsigned int type, unsigned int dim, unsigned int xsize, unsigned int ysize, unsigned int zsize)
int getrow (IMAGE *image, unsigned short *buffer, unsigned int y, unsigned int z)
int iclose (IMAGE *image)
int putrow (IMAGE *image, unsigned short *buffer, unsigned int y, unsigned int z)
int i_seterror (void(*func)())
public Status input_rgb_file (STRING filename, pixels_struct *pixels)
public Status output_rgb_file (STRING filename, pixels_struct *pixels)


Function Documentation

int getrow IMAGE *  image,
unsigned short *  buffer,
unsigned int  y,
unsigned int  z
 

Referenced by input_rgb_file().

int i_seterror void(*  func)()  ) 
 

Referenced by input_rgb_file(), and output_rgb_file().

unsigned short* ibufalloc IMAGE *  image  ) 
 

int iclose IMAGE *  image  ) 
 

Referenced by input_rgb_file(), and output_rgb_file().

public Status input_rgb_file STRING  filename,
pixels_struct pixels
 

Definition at line 35 of file rgb_io_sgi.c.

References getrow(), i_seterror(), iclose(), initialize_pixels(), iopen(), PIXEL_RGB_COLOUR, RGB_PIXEL, and y.

IMAGE* iopen char *  file,
char *  mode,
unsigned int  type,
unsigned int  dim,
unsigned int  xsize,
unsigned int  ysize,
unsigned int  zsize
 

Referenced by input_rgb_file(), and output_rgb_file().

public Status output_rgb_file STRING  filename,
pixels_struct pixels
 

Definition at line 93 of file rgb_io_sgi.c.

References i_seterror(), iclose(), iopen(), PIXEL_RGB_COLOUR, putrow(), pixels_struct::x_size, y, and pixels_struct::y_size.

int putrow IMAGE *  image,
unsigned short *  buffer,
unsigned int  y,
unsigned int  z
 

Referenced by output_rgb_file().


Generated on Wed Jul 28 09:11:17 2004 for BICPL by doxygen 1.3.7