|
void | init_img_info (image_information *i) |
|
void | main (int argc, char **argv) |
|
void | handle_exposure (register image_information *img, int x, int y, int width, int height, int img_h) |
|
image_information * | action_flip_forward (image_information *img, image_information *img_info, int flip_book_udelay, int n, unsigned long mask, XEvent *event, Boolean *found_event) |
|
image_information * | action_flip_backward (image_information *img, image_information *img_info, int flip_book_udelay, int n, unsigned long mask, XEvent *event, Boolean *found_event) |
|
image_information * | action_flip_book_cycle (image_information *img, image_information *img_info, int n, Boolean flip_forward, int flip_book_udelay) |
|
int | resize_window (image_information *img, int new_w, int new_h) |
|
void | set_watch_cursor (Window window) |
|
void | set_circle_cursor (Window window) |
|
void | set_left_ptr_cursor (Window window) |
|
void | get_cursors (Window window) |
|
XImage * | get_X_image (image_information *img, int width, int height, Boolean share) |
|
void | destroy_X_image (image_information *img, XImage *image) |
|
void | check_pixmap_allocation (image_information *img) |
|
int | allocate_ximage (image_information *img, Boolean reallocate) |
|
void | allocate_pixmap (image_information *img, Boolean reallocate) |
|
void | free_X_pixmap (image_information *img, Pixmap pix) |
|
void | put_X_image (image_information *img, Drawable d, GC gc, XImage *image, int src_x, int src_y, int dest_x, int dest_y, unsigned int width, unsigned int height) |
|
void | determine_icon_size (int image_width, int image_height, int *icon_width, int *icon_height, int *icon_factor) |
|
void | get_x_colormap (image_information *img) |
|
void | open_x_display (char *display_name) |
|
void | calc_view_origin (image_information *img) |
|
void | create_windows (register image_information *img, char *window_geometry) |
|
void | init_color (register image_information *img) |
|
void | free_unique_colors (image_information *img, Pixel *pixels, int npixels) |
|
void | free_image_colors (image_information *img) |
|
void | find_appropriate_visual (register image_information *img) |
|
void | MapPixWindow (image_information *img, int use_top) |
|
void | DrawPixWindow (image_information *img, int x, int y) |
|
void | DrawSpeedWindow (image_information *img, int s) |
|
void | UnmapPixWindow (image_information *img) |
|
void | set_timer (unsigned n) |
|
void | wait_timer (void) |
|
void | choose_scanline_converter (image_information *img) |
|
void | map_rgb_to_bw (image_information *img, rle_pixel **rows, register rle_pixel *bw_row) |
|
void | map_rgb_to_rgb (image_information *img, rle_pixel **in_rows, rle_pixel **out_rows) |
|
void | get_dither_arrays (register image_information *img) |
|
int | shift_match_left (Pixel mask, int high_bit_index) |
|
int | shift_match_right (Pixel mask) |
|
void | check_mono_color (image_information *img, rle_hdr *img_hdr) |
|
void | get_dither_colors (register image_information *img, rle_hdr *img_hdr) |
|
int | eq_cmap (register rle_pixel **cm1, int len1, register rle_pixel **cm2, int len2) |
|
int | XCopyImage (XImage *image, int src_x, int src_y, int width, int height, int dst_x, int dst_y) |
|
int | XAllocColors (register Display *dpy, Colormap cmap, XColor *defs, int ndefs, int *statuses) |
|
void main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 121 of file aliastorle.c.
References B, bw, flip, fnam, forceham, G, ifd, IFFBase, infile, IntuitionBase, isham, mktemp(), nused, optarg, optind, R, s1, s2, s3, sd, sh, sw, tfd, tfile, threescreens, vp1, vp2, vp3, and width.
126 char *outname = NULL;
136 if ( !
scanargs( argc, argv,
"% v%- o%-outfile!s infile%s",
137 &
verbose, &oflag, &outname, &inname ))
int scanargs(int argc, char **argv, const char *format,...)
static int read_alias(FILE *, bitmap_hdr *)
static void write_rle(FILE *, bitmap_hdr *)
void rle_names(rle_hdr *the_hdr, const char *pgmname, const char *fname, int img_num)
void rle_close_f(FILE *fd)
gpr_ $bitmap_desc_t bitmap
FILE * rle_open_f(const char *prog_name, const char *f_name, const char *mode)
char * cmd_name(char **argv)
rle_hdr * rle_hdr_init(rle_hdr *the_hdr)