Utah Raster Toolkit
9999-git
URT Development version (post-3.1b)
|
#include <stdio.h>
#include <math.h>
#include "rle.h"
#include "/sys/ins/base.ins.c"
#include "/sys/ins/gpr.ins.c"
#include "/sys/ins/error.ins.c"
#include "/sys/ins/pad.ins.c"
Go to the source code of this file.
Macros | |
#define | RASTERSIZE 1023 |
#define | COLMAP_OFFSET 16 |
#define | sysdebug if ((status.all)!=0) error_$print(status) |
#define | DMAP(v, x, y) (modN[v]>dm16[x][y] ? divN[v] + 1 : divN[v]) |
Functions | |
main (int argc, char **argv) | |
borrow_setup () | |
borrow_color_map () | |
window_color_map () | |
setup_scr (int hsize, int vsize) | |
put_line_borrow (int y) | |
put_line4 (int y) | |
put_line8 (int y) | |
put_linebw (int y) | |
Variables | |
rle_pixel ** | rows |
int | dm16 [16][16] |
int | modN [256] |
int | divN [256] |
float | gam = 2.0 |
int | inverse_flag = false |
int | gray_flag = false |
int | borrow_mode = false |
int | linear_flag = false |
int | gam_flag = true |
int | four_flag = false |
int | bw_flag = false |
int | x_flag = false |
int | y_flag = false |
int | no_border_flag = false |
int | left = 0 |
int | top = 0 |
gpr_ $pixel_value_t | dest_pixels [1023] |
gpr_ $offset_t | size |
short | font_id |
short | middle |
status_ $t | status |
gpr_ $keyset_t | keyset |
char | key |
gpr_ $position_t | position |
boolean | obs |
gpr_ $event_t | event |
gpr_ $version_t | version |
gpr_ $offset_t | dump_size |
gpr_ $window_t | dump_window |
gpr_ $attribute_desc_t | attribs |
gpr_ $bitmap_desc_t | bitmap |
gpr_ $bitmap_desc_t | dump_bitmap |
boolean | created |
gpr_ $bmf_group_header_array_t | header |
gpr_ $color_vector_t | color_map |
short | map [3][256] |
rle_hdr | hdr |
borrow_color_map | ( | ) |
Definition at line 318 of file getap.c.
References rle_hdr::cmap, rle_hdr::cmaplen, gam, gam_flag, hdr, and rle_hdr::ncmap.
main | ( | int | argc, |
char ** | argv | ||
) |
window_color_map | ( | ) |
Definition at line 375 of file getap.c.
References bw_flag, rle_hdr::cmap, rle_hdr::cmaplen, divN, dm16, four_flag, gam, gam_flag, gray_flag, hdr, make_square(), map, modN, and rle_hdr::ncmap.
int bw_flag = false |
Definition at line 89 of file getap.c.
Referenced by window_color_map().
int four_flag = false |
Definition at line 88 of file getap.c.
Referenced by window_color_map().
int gam_flag = true |
Definition at line 87 of file getap.c.
Referenced by borrow_color_map(), and window_color_map().
int gray_flag = false |
Definition at line 83 of file getap.c.
Referenced by window_color_map().
gpr_ $keyset_t keyset |