rle_getraw.h

Go to the documentation of this file.
00001 /*
00002  * This software is copyrighted as noted below.  It may be freely copied,
00003  * modified, and redistributed, provided that the copyright notice is 
00004  * preserved on all copies.
00005  * 
00006  * There is no warranty or other guarantee of fitness for this software,
00007  * it is provided solely "as is".  Bug reports or fixes may be sent
00008  * to the author, who may or may not act on them as he desires.
00009  *
00010  * You may not include this software in a program or other software product
00011  * without supplying the source, or without informing the end-user that the 
00012  * source is available for no extra charge.
00013  *
00014  * If you modify this software, you should include a notice giving the
00015  * name of the person performing the modification, the date of modification,
00016  * and the reason for such modification.
00017  */
00018 /** @addtogroup utahrle */
00019 /*@{*/
00020 /* 
00021  * rle_getraw.h - Definitions for rle_getraw
00022  * 
00023  * Author:      Spencer W. Thomas
00024  *              Computer Science Dept.
00025  *              University of Utah
00026  * Date:        Mon Jul  7 1986
00027  * Copyright (c) 1986, Spencer W. Thomas
00028  */
00029 
00030 #ifndef RLEGETRAW
00031 #define RLEGETRAW
00032 
00033 #include <XtndRunsv.h>
00034 
00035 /*****************************************************************
00036  * TAG( rle_op )
00037  *
00038  * Struct representing one rle opcode.
00039  */
00040 
00041 typedef struct rle_op rle_op;
00042 
00043 struct rle_op {
00044     int opcode;                 /* one of RByteDataOp or RRunDataOp */
00045     int xloc;                   /* X location this op starts at */
00046     int length;                 /* length of run or data */
00047     union {
00048         rle_pixel * pixels;     /* for ByteData */
00049         int run_val;            /* for RunData */
00050     } u;
00051 };
00052 
00053 #endif
00054 
00055 /*@}*/
00056 /*
00057  * Local Variables:
00058  * mode: C
00059  * tab-width: 8
00060  * c-basic-offset: 4
00061  * indent-tabs-mode: t
00062  * End:
00063  * ex: shiftwidth=4 tabstop=8
00064  */

Generated on Mon Sep 18 01:24:42 2006 for BRL-CAD by  doxygen 1.4.6