Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

imf.c File Reference

#include "config.h"
#include "misc.h"
#include "lisp.h"
#include "imf.h"
#include "module.h"
#include "system.h"

Include dependency graph for imf.c:

Include dependency graph

Classes

struct  _MFEntry

Defines

#define WHITE_THRESHOLD   (65535 - 256)
#define BLACK_THRESHOLD   (0 + 255)

Typedefs

typedef _MFEntry MFEntry
typedef MFEntryModeFilter

Enumerations

enum  {
  K_MONO_, K_MASK_, K_COLR_, K_FILE_,
  K_OTHER_
}

Functions

ImageFamilyclone_imf (ImageFamily *imf)
int valid_imf_name (char *name)
void validify_imf_name (char *buf)
ImageFamilyget_imf (char *name)
ImageFileget_image_file (char *name)
void load_image_families (FILE *fp, int loadnow, void(*callback)(ImageFamily *imf, int loadnow))
int load_imf_file (char *filename, void(*callback)(ImageFamily *imf, int loadnow))
void interp_imf_form (Obj *form, char *filename, void(*imf_callback)(ImageFamily *imf, int loadnow))
ImageFamilyfind_imf (char *name)
Imageget_img (ImageFamily *imf, int w, int h)
Imagefind_img (ImageFamily *imf, int w, int h)
ImageFamilyinterp_imf (Obj *form)
void interp_imf_contents (ImageFamily *imf, Obj *clauses)
void interp_image (ImageFamily *imf, Obj *size, Obj *parts)
void compute_image_bboxes (ImageFamily *imf)
void compute_image_bbox (Image *img)
void make_raw_mono_data (Image *img, int force)
void interp_bytes (Obj *datalist, int numbytes, char *destaddr, int jump)
Imagebest_image_in_range (ImageFamily *imf, int w, int h, int wmin, int hmin, int wmax, int hmax)
Imagesmallest_image (ImageFamily *imf)
int emblem_position (Image *uimg, char *ename, ImageFamily *eimf, int sw, int sh, int vpuh, int vphh, int *exxp, int *eyyp, int *ewp, int *ehp)
void blacken_masked_area (ImageFamily *imf, Image *img, int rd, int g, int b)
void blacken_mono_masked_area (ImageFamily *imf, Image *img, int rd, int g, int b)
void make_raw_palette (Image *img)
void sort_all_images (void)
void check_imf (ImageFamily *imf)
void write_imf_dir (char *filename, ImageFamily **imfimages, int num)
void write_imf (FILE *fp, ImageFamily *imf)
char * find_color_name (int r, int g, int b)
void parse_lisp_palette_entry (Obj *palentry, int *col, int *red, int *grn, int *blu)
FileImageget_file_image (char *fname)
void make_image_from_file_image (ImageFamily *imf, Image *img, Image *subimg, int subi)
void copy_from_file_image (Image *img, FileImage *fimg, int xoffset, int yoffset, int actualw, int actualh)
void load_file_image (FileImage *fimg)
ImageFamilyget_generic_images (char *name)

Variables

ImageFamily ** images
int numimages = 0
ImageFileimage_files
FileImagefile_images
ImageFamily *(* imf_load_hook )(ImageFamily *imf)
ImageFamily *(* imf_interp_hook )(ImageFamily *imf, Image *img, int force)
short write_synthetic_also
int use_clip_mask = TRUE
short poor_memory = FALSE

Define Documentation

#define BLACK_THRESHOLD   (0 + 255)
 

#define WHITE_THRESHOLD   (65535 - 256)
 


Typedef Documentation

typedef struct _MFEntry MFEntry
 

typedef MFEntry* ModeFilter
 


Enumeration Type Documentation

anonymous enum
 

Enumeration values:
K_MONO_ 
K_MASK_ 
K_COLR_ 
K_FILE_ 
K_OTHER_ 


Function Documentation

Image* best_image_in_range ImageFamily imf,
int  w,
int  h,
int  wmin,
int  hmin,
int  wmax,
int  hmax
 

void blacken_masked_area ImageFamily imf,
Image img,
int  rd,
int  g,
int  b
 

void blacken_mono_masked_area ImageFamily imf,
Image img,
int  rd,
int  g,
int  b
 

void check_imf ImageFamily imf  ) 
 

ImageFamily* clone_imf ImageFamily imf  ) 
 

void compute_image_bbox Image img  ) 
 

void compute_image_bboxes ImageFamily imf  ) 
 

void copy_from_file_image Image img,
FileImage fimg,
int  xoffset,
int  yoffset,
int  actualw,
int  actualh
 

int emblem_position Image uimg,
char *  ename,
ImageFamily eimf,
int  sw,
int  sh,
int  vpuh,
int  vphh,
int *  exxp,
int *  eyyp,
int *  ewp,
int *  ehp
 

char* find_color_name int  r,
int  g,
int  b
 

ImageFamily* find_imf char *  name  ) 
 

Image* find_img ImageFamily imf,
int  w,
int  h
 

FileImage* get_file_image char *  fname  ) 
 

ImageFamily* get_generic_images char *  name  ) 
 

ImageFile* get_image_file char *  name  ) 
 

ImageFamily* get_imf char *  name  ) 
 

Image* get_img ImageFamily imf,
int  w,
int  h
 

void interp_bytes Obj datalist,
int  numbytes,
char *  destaddr,
int  jump
 

void interp_image ImageFamily imf,
Obj size,
Obj parts
 

ImageFamily* interp_imf Obj form  ) 
 

void interp_imf_contents ImageFamily imf,
Obj clauses
 

void interp_imf_form Obj form,
char *  filename,
void(*  imf_callback)(ImageFamily *imf, int loadnow)
 

void load_file_image FileImage fimg  ) 
 

void load_image_families FILE *  fp,
int  loadnow,
void(*  callback)(ImageFamily *imf, int loadnow)
 

int load_imf_file char *  filename,
void(*  callback)(ImageFamily *imf, int loadnow)
 

void make_image_from_file_image ImageFamily imf,
Image img,
Image subimg,
int  subi
 

void make_raw_mono_data Image img,
int  force
 

void make_raw_palette Image img  ) 
 

void parse_lisp_palette_entry Obj palentry,
int *  col,
int *  red,
int *  grn,
int *  blu
 

Image* smallest_image ImageFamily imf  ) 
 

void sort_all_images void   ) 
 

int valid_imf_name char *  name  ) 
 

void validify_imf_name char *  buf  ) 
 

void write_imf FILE *  fp,
ImageFamily imf
 

void write_imf_dir char *  filename,
ImageFamily **  imfimages,
int  num
 


Variable Documentation

FileImage* file_images
 

ImageFile* image_files
 

ImageFamily** images
 

ImageFamily*(* imf_interp_hook)(ImageFamily *imf, Image *img, int force)
 

ImageFamily*(* imf_load_hook)(ImageFamily *imf)
 

int numimages = 0
 

short poor_memory = FALSE
 

int use_clip_mask = TRUE
 

short write_synthetic_also
 


Generated on Sat Sep 17 10:29:14 2005 for XconqKernel by doxygen 1.3.6