📄 g3g4.h
字号:
/* $Id: g3g4.h 1.2 90/06/09 18:21:50 marking Exp $
*
NAME
* g3g4.h -- definitions for decoding group 3 and group 4 images
*
USED WITH
* builddec.c -- build decode tables
* group 3 and group 4 encoding and decoding routines
*
DESCRIPTION
* Common definitions for group 3 and group 4 utilities.
*
LEGAL
* Copyright 1989, 1990 Michael P. Marking, Post Office Box 8039,
* Scottsdale, Arizona 85252-8039. All rights reserved.
*
* License is granted by the copyright holder to distribute and use this
* code without payment of royalties or the necessity of notification as
* long as this notice (all the text under "LEGAL") is included.
*
* Reference: $Id: g3g4.h 1.2 90/06/09 18:21:50 marking Exp $
*
* This program is offered without any warranty of any kind. It includes
* no warranty of merchantability or fitness for any purpose. Testing and
* suitability for any use are the sole responsibility of the user.
*
PORTABILITY
*
* There is a non-portable use of "global" variables in this file,
* about which a minority of compilers will justifiably complain. Certain
* variables are declared here without extern keywords. Strictly
* speaking, they should be declared extern in all but one module, but
* that would require complication of this file. If it gets past your
* compiler and linker, you can probably ignore it.
*
HISTORY
* $Log: g3g4.h $
* Revision 1.2 90/06/09 18:21:50 marking
* clean up comments for release
*
* Revision 1.1 89/06/30 17:00:00 marking
* Initial revision
*
*
INFORMATION
* Although there is no support offered with this program, the author will
* endeavor to correct errors. Updates will also be made available from
* time to time.
*
* Contact: Michael P. Marking, Post Office Box 8039, Scottsdale, Arizona
* 85252-8039 USA. Replies are not guaranteed to be swift. Beginning
* July 1990, e-mail may be sent to uunet!ipel!marking.
*
* Also beginning in July 1990, this code will be archived at the
* ipel!phoenix BBS in file g3g4.zoo. The 24-hour telephone number
* for 300/1200/2400 is (602)274-0462. When logging in, specify user
* "public", system "bbs", and password "public".
*
* This code is also available from the C Users Group in volume 317.
*/
#define WHITE 0
#define BLACK 1
#define EOL_CODE -1
#define INVALID_CODE -2
char (*p_decode_black)(short);
char (*p_decode_new_row)(void);
short(*p_decode_next_byte)(void);
char (*p_decode_white)(short);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -