w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

pts_fax.c File Reference
#include "pts_fax.h"
Include dependency graph for pts_fax.c:

Go to the source code of this file.

Classes

struct  hc_definition_s
 
struct  hce_code_s
 
struct  hce_table_s
 
struct  hcd_code_s
 
struct  hcd_table_s
 
struct  cf_runs_s
 

Macros

#define intern   static
 
#define impl   static
 
#define intern_const   extern const
 
#define impl_const   const
 
#define MISC_TYPES_H   1
 
#define BEGIN   do {
 
#define END   } while (0)
 
#define DO_NOTHING   BEGIN END
 
#define if_debug0(c, s)   DO_NOTHING
 
#define if_debug1(c, s, a1)   DO_NOTHING
 
#define if_debug2(c, s, a1, a2)   DO_NOTHING
 
#define if_debug3(c, s, a1, a2, a3)   DO_NOTHING
 
#define if_debug4(c, s, a1, a2, a3, a4)   DO_NOTHING
 
#define if_debug5(c, s, a1, a2, a3, a4, a5)   DO_NOTHING
 
#define if_debug6(c, s, a1, a2, a3, a4, a5, a6)   DO_NOTHING
 
#define if_debug7(c, s, a1, a2, a3, a4, a5, a6, a7)   DO_NOTHING
 
#define if_debug8(c, s, a1, a2, a3, a4, a5, a6, a7, a8)   DO_NOTHING
 
#define if_debug9(c, s, a1, a2, a3, a4, a5, a6, a7, a8, a9)   DO_NOTHING
 
#define if_debug10(c, s, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10)   DO_NOTHING
 
#define if_debug11(c, s, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11)   DO_NOTHING
 
#define if_debug12(c, s, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12)   DO_NOTHING
 
#define min(a, b)   (((a) < (b)) ? (a) : (b))
 
#define max(a, b)   (((a) > (b)) ? (a) : (b))
 
#define ROUND_DOWN(value, modulus)
 
#define ROUND_UP(value, modulus)
 
#define countof(a)   (sizeof(a) / sizeof((a)[0]))
 
#define gs_alloc_bytes(a, n, c)   ss->xalloc_(n)
 
#define gs_free_object(a, ptr, c)   ss->free_(ptr)
 
#define gsbittab_INCLUDED
 
#define btab2_(v0, v2, v1)    v0,v1+v0,v2+v0,v2+v1+v0
 
#define bit_table_2(v0, v2, v1)   btab2_(v0,v2,v1)
 
#define btab4_(v0, v8, v4, v2, v1)
 
#define bit_table_4(v0, v8, v4, v2, v1)   btab4_(v0,v8,v4,v2,v1)
 
#define btab6_(v0, v20, v10, v8, v4, v2, v1)
 
#define bit_table_6(v0, v20, v10, v8, v4, v2, v1)   btab6_(v0,v20,v10,v8,v4,v2,v1)
 
#define bit_table_8(v0, v80, v40, v20, v10, v8, v4, v2, v1)
 
#define shc_INCLUDED
 
#define hc_bits_size   (SIZEOF_INT * 8)
 
#define s_hce_init_inline(ss)    ((ss)->bits = 0, (ss)->bits_left = hc_bits_size)
 
#define s_hcd_init_inline(ss)    ((ss)->bits = 0, (ss)->bits_left = 0)
 
#define max_hc_length   16
 
#define hce_entry(c, len)   { c, len }
 
#define hce_bits_available(n)    (ss->bits_left >= (n) || wlimit - q > ((n) - ss->bits_left - 1) >> 3)
 
#define hc_print_value(code, clen)   0
 
#define hc_print_value_then(code, clen)   /* */
 
#define hc_print_code(rp)   hc_print_value((rp)->code, (rp)->code_length)
 
#define hce_declare_state
 
#define hce_load_state()    bits = ss->bits, bits_left = ss->bits_left
 
#define hce_store_state()    ss->bits = bits, ss->bits_left = bits_left
 
#define hc_put_value(ss, q, code, clen)
 
#define hc_put_code(ss, q, cp)    hc_put_value(ss, q, (cp)->code, (cp)->code_length)
 
#define hc_put_last_bits(ss, q)    hc_put_last_bits_proc(ss, q, bits, bits_left)
 
#define hcd_declare_state
 
#define hcd_load_state()
 
#define hcd_store_state()
 
#define hcd_bits_available(n)    (bits_left >= (n) || rlimit - p > ((n) - bits_left - 1) >> 3)
 
#define HCD_ENSURE_BITS_ELSE(n)
 
#define hcd_ensure_bits(n, outl)    BEGIN HCD_ENSURE_BITS_ELSE(n) goto outl; END
 
#define HCD_MORE_BITS_1_ELSE
 
#define HCD_MORE_BITS_ELSE
 
#define hcd_more_bits(outl)    BEGIN HCD_MORE_BITS_ELSE goto outl; END
 
#define hcd_peek_bits(n)   ((bits >> (bits_left - (n))) & ((1 << (n)) - 1))
 
#define hcd_peek_var_bits(n)    ((bits >> (bits_left - (n))) & byte_right_mask[n])
 
#define hcd_peek_bits_left()    (bits & byte_right_mask[bits_left])
 
#define hcd_skip_bits(n)   (bits_left -= (n))
 
#define scf_INCLUDED
 
#define cfe_max_width   (2560 * 32000 * 2 / 3)
 
#define cfe_max_code_bytes(width)   ((width) / 2560 * 3 / 2 + 5)
 
#define run_eol_code_length   12
 
#define run_eol_code_value   1
 
#define cf2_run_pass_length   4
 
#define cf2_run_pass_value   0x1
 
#define cf2_run_vertical_offset   3
 
#define cf2_run_horizontal_value   1
 
#define cf2_run_horizontal_length   3
 
#define run_length   value
 
#define run_error   (-1)
 
#define run_zeros   (-2) /* EOL follows, possibly with more padding first */
 
#define run_uncompressed   (-3)
 
#define run2_pass   (-4)
 
#define run2_horizontal   (-5)
 
#define cfd_white_initial_bits   8
 
#define cfd_white_min_bits   4 /* shortest white run */
 
#define cfd_black_initial_bits   7
 
#define cfd_black_min_bits   2 /* shortest black run */
 
#define cfd_2d_initial_bits   7
 
#define cfd_2d_min_bits   4 /* shortest non-H/V 2-D run */
 
#define cfd_uncompressed_initial_bits   6 /* must be 6 */
 
#define cf_byte_run_length   byte_bit_run_length_neg
 
#define cf_byte_run_length_0   byte_bit_run_length_0
 
#define skip_white_pixels(data, p, count, white_byte, rlen)
 
#define skip_black_pixels(data, p, count, white_byte, rlen)
 
#define COUNT_RUN(cnt, i)   DO_NOTHING
 
#define CF_PUT_RUN(ss, lenv, rt, stats)
 
#define CF_PUT_WHITE_RUN(ss, lenv)    CF_PUT_RUN(ss, lenv, cf_white_runs, stats_white_runs)
 
#define CF_PUT_BLACK_RUN(ss, lenv)    CF_PUT_RUN(ss, lenv, cf_black_runs, stats_black_runs)
 
#define b1   (a1 - diff) /* only for printing */
 
#define RUN(c, len)   hce_entry(c,len)
 
#define cb(n)   ((unsigned char)(cw >> (n * 8)))
 
#define t8(n)   n,n,n,n,n+1,n+1,n+2,n+11
 
#define r8(n)   n,n,n,n,n,n,n,n
 
#define r16(n)   r8(n),r8(n)
 
#define r32(n)   r16(n),r16(n)
 
#define r64(n)   r32(n),r32(n)
 
#define r128(n)   r64(n),r64(n)
 
#define rr8(a, b, c, d, e, f, g, h)
 

Typedefs

typedef struct hc_definition_s hc_definition
 
typedef struct hce_code_s hce_code
 
typedef struct hce_table_s hce_table
 
typedef struct hcd_code_s hcd_code
 
typedef struct hcd_table_s hcd_table
 
typedef hce_code cfe_run
 
typedef struct cf_runs_s cf_runs
 
typedef hcd_code cfd_node
 

Functions

static void hc_put_code_proc ()
 
static unsigned char * hc_put_last_bits_proc ()
 
static unsigned char * cf_put_long_run (stream_CFE_state *ss, unsigned char *q, int lenv, const cf_runs *prt)
 
static void s_CFE_release ()
 
static void s_CFE_set_defaults (register stream_state *st)
 
static int s_CFE_init (register stream_state *st)
 
static void s_CFE_release (stream_state *st)
 
static void cf_encode_1d ()
 
static void cf_encode_2d ()
 
static int s_CFE_process (stream_state *st, stream_cursor_read *pr, stream_cursor_write *pw, bool last)
 
static void cf_encode_1d (stream_CFE_state *ss, const unsigned char *lbuf, stream_cursor_write *pw)
 
static void cf_encode_2d (stream_CFE_state *ss, const unsigned char *lbuf, stream_cursor_write *pw, const unsigned char *lprev)
 
static void hc_put_code_proc (bool reverse_bits, unsigned char *q, unsigned int cw)
 
static unsigned char * hc_put_last_bits_proc (stream_hc_state *ss, unsigned char *q, unsigned int bits, int bits_left)
 

Variables

const unsigned char byte_reverse_bits [256]
 
const unsigned char byte_right_mask [9]
 
const unsigned char byte_count_bits [256]
 
const unsigned char byte_bit_run_length_0 [256]
 
const unsigned char byte_bit_run_length_1 [256]
 
const unsigned char byte_bit_run_length_2 [256]
 
const unsigned char byte_bit_run_length_3 [256]
 
const unsigned char byte_bit_run_length_4 [256]
 
const unsigned char byte_bit_run_length_5 [256]
 
const unsigned char byte_bit_run_length_6 [256]
 
const unsigned char byte_bit_run_length_7 [256]
 
const unsigned char *const byte_bit_run_length [8]
 
const unsigned char *const byte_bit_run_length_neg [8]
 
const unsigned char byte_acegbdfh_to_abcdefgh [256]
 
const cfe_run cf_run_eol
 
const cf_runs cf_white_runs
 
const cf_runs cf_black_runs
 
const cfe_run cf_uncompressed [6]
 
const cfe_run cf_uncompressed_exit [10]
 
const cfe_run cf1_run_uncompressed
 
const cfe_run cf2_run_pass
 
const cfe_run cf2_run_vertical [7]
 
const cfe_run cf2_run_horizontal
 
const cfe_run cf2_run_uncompressed
 
const cfe_run cf2_run_eol_1d
 
const cfe_run cf2_run_eol_2d
 
const stream_template s_CFE_template
 

Macro Definition Documentation

◆ b1

#define b1   (a1 - diff) /* only for printing */

◆ BEGIN

#define BEGIN   do {

Definition at line 52 of file pts_fax.c.

◆ bit_table_2

#define bit_table_2 (   v0,
  v2,
  v1 
)    btab2_(v0,v2,v1)

Definition at line 110 of file pts_fax.c.

◆ bit_table_4

#define bit_table_4 (   v0,
  v8,
  v4,
  v2,
  v1 
)    btab4_(v0,v8,v4,v2,v1)

Definition at line 114 of file pts_fax.c.

◆ bit_table_6

#define bit_table_6 (   v0,
  v20,
  v10,
  v8,
  v4,
  v2,
  v1 
)    btab6_(v0,v20,v10,v8,v4,v2,v1)

Definition at line 118 of file pts_fax.c.

◆ bit_table_8

#define bit_table_8 (   v0,
  v80,
  v40,
  v20,
  v10,
  v8,
  v4,
  v2,
  v1 
)
Value:
btab6_(v0,v20,v10,v8,v4,v2,v1), btab6_(v40+v0,v20,v10,v8,v4,v2,v1),\
btab6_(v80+v0,v20,v10,v8,v4,v2,v1), btab6_(v80+v40+v0,v20,v10,v8,v4,v2,v1)
#define v0
#define v1
#define v2
#define btab6_(v0, v20, v10, v8, v4, v2, v1)
Definition: pts_fax.c:115

Definition at line 119 of file pts_fax.c.

◆ btab2_

#define btab2_ (   v0,
  v2,
  v1 
)     v0,v1+v0,v2+v0,v2+v1+v0

Definition at line 108 of file pts_fax.c.

◆ btab4_

#define btab4_ (   v0,
  v8,
  v4,
  v2,
  v1 
)
Value:
btab2_(v0,v2,v1), btab2_(v4+v0,v2,v1),\
btab2_(v8+v0,v2,v1), btab2_(v8+v4+v0,v2,v1)
#define btab2_(v0, v2, v1)
Definition: pts_fax.c:108

Definition at line 111 of file pts_fax.c.

◆ btab6_

#define btab6_ (   v0,
  v20,
  v10,
  v8,
  v4,
  v2,
  v1 
)
Value:
btab4_(v0,v8,v4,v2,v1), btab4_(v10+v0,v8,v4,v2,v1),\
btab4_(v20+v0,v8,v4,v2,v1), btab4_(v20+v10+v0,v8,v4,v2,v1)
#define btab4_(v0, v8, v4, v2, v1)
Definition: pts_fax.c:111

Definition at line 115 of file pts_fax.c.

◆ cb

#define cb (   n)    ((unsigned char)(cw >> (n * 8)))

◆ cf2_run_horizontal_length

#define cf2_run_horizontal_length   3

Definition at line 458 of file pts_fax.c.

◆ cf2_run_horizontal_value

#define cf2_run_horizontal_value   1

Definition at line 457 of file pts_fax.c.

◆ cf2_run_pass_length

#define cf2_run_pass_length   4

Definition at line 451 of file pts_fax.c.

◆ cf2_run_pass_value

#define cf2_run_pass_value   0x1

Definition at line 452 of file pts_fax.c.

◆ cf2_run_vertical_offset

#define cf2_run_vertical_offset   3

Definition at line 453 of file pts_fax.c.

◆ cf_byte_run_length

#define cf_byte_run_length   byte_bit_run_length_neg

Definition at line 507 of file pts_fax.c.

◆ cf_byte_run_length_0

#define cf_byte_run_length_0   byte_bit_run_length_0

Definition at line 508 of file pts_fax.c.

◆ CF_PUT_BLACK_RUN

#define CF_PUT_BLACK_RUN (   ss,
  lenv 
)     CF_PUT_RUN(ss, lenv, cf_black_runs, stats_black_runs)

Definition at line 682 of file pts_fax.c.

◆ CF_PUT_RUN

#define CF_PUT_RUN (   ss,
  lenv,
  rt,
  stats 
)
Value:
BEGIN\
cfe_run rr;\
if ( lenv >= 64 ) {\
hce_store_state();\
q = cf_put_long_run(ss, q, lenv, &rt);\
hce_load_state();\
lenv &= 63;\
}\
rr = rt.termination[lenv];\
COUNT_RUN(stats.termination, lenv);\
hc_put_value(ss, q, rr.code, rr.code_length);\
END
q
Definition: afm2pl.c:2287
static struct statistic stats[]
Definition: lstatslib.c:289
set set set set set set set macro pixldst1 abits if abits op else op endif endm macro pixldst2 abits if abits op else op endif endm macro pixldst4 abits if abits op else op endif endm macro pixldst0 abits op endm macro pixldst3 mem_operand op endm macro pixldst30 mem_operand op endm macro pixldst abits if abits elseif abits elseif abits elseif abits elseif abits pixldst0 abits else pixldst0 abits pixldst0 abits pixldst0 abits pixldst0 abits endif elseif abits else pixldst0 abits pixldst0 abits endif elseif abits else error unsupported bpp *numpix else pixst endif endm macro pixld1_s mem_operand if asr adds SRC_WIDTH_FIXED bpl add asl mov asr adds SRC_WIDTH_FIXED bpl add asl mov asr adds SRC_WIDTH_FIXED bpl add asl mov asr adds SRC_WIDTH_FIXED bpl add asl elseif asr adds SRC_WIDTH_FIXED bpl add asl mov asr adds SRC_WIDTH_FIXED bpl add asl else error unsupported endif endm macro pixld2_s mem_operand if mov asr add asl add asl mov asr sub UNIT_X add asl mov asr add asl add asl mov asr add UNIT_X add asl else pixld1_s mem_operand pixld1_s mem_operand endif endm macro pixld0_s mem_operand if asr adds SRC_WIDTH_FIXED bpl add asl elseif asr adds SRC_WIDTH_FIXED bpl add asl endif endm macro pixld_s_internal mem_operand if mem_operand pixld2_s mem_operand pixdeinterleave basereg elseif mem_operand elseif mem_operand elseif mem_operand elseif mem_operand pixld0_s mem_operand else pixld0_s mem_operand pixld0_s mem_operand pixld0_s mem_operand pixld0_s mem_operand endif elseif mem_operand else pixld0_s mem_operand pixld0_s mem_operand endif elseif mem_operand else error unsupported mem_operand if bpp mem_operand endif endm macro vuzp8 reg2 vuzp d d &reg2 endm macro vzip8 reg2 vzip d d &reg2 endm macro pixdeinterleave basereg basereg basereg basereg basereg endif endm macro pixinterleave basereg basereg basereg basereg basereg endif endm macro PF boost_increment endif if endif PF tst PF addne PF subne PF cmp ORIG_W if endif if endif if endif PF subge ORIG_W PF subges if endif if endif if endif endif endm macro cache_preload_simple endif if dst_r_bpp pld[DST_R, #(PREFETCH_DISTANCE_SIMPLE *dst_r_bpp/8)] endif if mask_bpp pld if[MASK, #(PREFETCH_DISTANCE_SIMPLE *mask_bpp/8)] endif endif endm macro fetch_mask_pixblock pixld mask_basereg pixblock_size MASK endm macro ensure_destination_ptr_alignment process_pixblock_tail_head if beq irp skip1(dst_w_bpp<=(lowbit *8)) &&((lowbit *8)<(pixblock_size *dst_w_bpp)) .if lowbit< 16 tst DST_R
static unsigned char * cf_put_long_run(stream_CFE_state *ss, unsigned char *q, int lenv, const cf_runs *prt)
Definition: pts_fax.c:654

Definition at line 638 of file pts_fax.c.

◆ CF_PUT_WHITE_RUN

#define CF_PUT_WHITE_RUN (   ss,
  lenv 
)     CF_PUT_RUN(ss, lenv, cf_white_runs, stats_white_runs)

Definition at line 679 of file pts_fax.c.

◆ cfd_2d_initial_bits

#define cfd_2d_initial_bits   7

Definition at line 490 of file pts_fax.c.

◆ cfd_2d_min_bits

#define cfd_2d_min_bits   4 /* shortest non-H/V 2-D run */

Definition at line 491 of file pts_fax.c.

◆ cfd_black_initial_bits

#define cfd_black_initial_bits   7

Definition at line 486 of file pts_fax.c.

◆ cfd_black_min_bits

#define cfd_black_min_bits   2 /* shortest black run */

Definition at line 487 of file pts_fax.c.

◆ cfd_uncompressed_initial_bits

#define cfd_uncompressed_initial_bits   6 /* must be 6 */

Definition at line 494 of file pts_fax.c.

◆ cfd_white_initial_bits

#define cfd_white_initial_bits   8

Definition at line 482 of file pts_fax.c.

◆ cfd_white_min_bits

#define cfd_white_min_bits   4 /* shortest white run */

Definition at line 483 of file pts_fax.c.

◆ cfe_max_code_bytes

#define cfe_max_code_bytes (   width)    ((width) / 2560 * 3 / 2 + 5)

Definition at line 426 of file pts_fax.c.

◆ cfe_max_width

#define cfe_max_width   (2560 * 32000 * 2 / 3)

Definition at line 421 of file pts_fax.c.

◆ COUNT_RUN

#define COUNT_RUN (   cnt,
  i 
)    DO_NOTHING

Definition at line 631 of file pts_fax.c.

◆ countof

#define countof (   a)    (sizeof(a) / sizeof((a)[0]))

Definition at line 90 of file pts_fax.c.

◆ DO_NOTHING

#define DO_NOTHING   BEGIN END

Definition at line 55 of file pts_fax.c.

◆ END

#define END   } while (0)

Definition at line 53 of file pts_fax.c.

◆ gs_alloc_bytes

#define gs_alloc_bytes (   a,
  n,
  c 
)    ss->xalloc_(n)

Definition at line 92 of file pts_fax.c.

◆ gs_free_object

#define gs_free_object (   a,
  ptr,
  c 
)    ss->free_(ptr)

Definition at line 93 of file pts_fax.c.

◆ gsbittab_INCLUDED

#define gsbittab_INCLUDED

Definition at line 103 of file pts_fax.c.

◆ hc_bits_size

#define hc_bits_size   (SIZEOF_INT * 8)

Definition at line 177 of file pts_fax.c.

◆ hc_print_code

#define hc_print_code (   rp)    hc_print_value((rp)->code, (rp)->code_length)

Definition at line 250 of file pts_fax.c.

◆ hc_print_value

#define hc_print_value (   code,
  clen 
)    0

Definition at line 247 of file pts_fax.c.

◆ hc_print_value_then

#define hc_print_value_then (   code,
  clen 
)    /* */

Definition at line 248 of file pts_fax.c.

◆ hc_put_code

#define hc_put_code (   ss,
  q,
  cp 
)     hc_put_value(ss, q, (cp)->code, (cp)->code_length)

Definition at line 278 of file pts_fax.c.

◆ hc_put_last_bits

#define hc_put_last_bits (   ss,
  q 
)     hc_put_last_bits_proc(ss, q, bits, bits_left)

Definition at line 287 of file pts_fax.c.

◆ hc_put_value

#define hc_put_value (   ss,
  q,
  code,
  clen 
)
Value:
((bits_left -= (clen)) >= 0 ?\
(bits += (code) << bits_left) :\
(hc_put_code_proc((ss)->FirstBitLowOrder,\
q += hc_bits_size >> 3,\
(bits + ((code) >> -bits_left))),\
bits = (code) << (bits_left += hc_bits_size))))
int code
Definition: aftopl.c:52
register bit_buf_type register int bits_left
Definition: jdhuff.h:156
static void hc_put_code_proc()
#define hc_bits_size
Definition: pts_fax.c:177
#define hc_print_value_then(code, clen)
Definition: pts_fax.c:248
Definition: namelist.c:170
Definition: inftrees.h:24

Definition at line 270 of file pts_fax.c.

◆ hcd_bits_available

#define hcd_bits_available (   n)     (bits_left >= (n) || rlimit - p > ((n) - bits_left - 1) >> 3)

Definition at line 342 of file pts_fax.c.

◆ hcd_declare_state

#define hcd_declare_state
Value:
register const unsigned char *p;\
const unsigned char *rlimit;\
unsigned int bits;\
small capitals from c petite p
Definition: afcover.h:72
#define bits
Definition: infblock.c:15

Definition at line 316 of file pts_fax.c.

◆ hcd_ensure_bits

#define hcd_ensure_bits (   n,
  outl 
)     BEGIN HCD_ENSURE_BITS_ELSE(n) goto outl; END

Definition at line 349 of file pts_fax.c.

◆ HCD_ENSURE_BITS_ELSE

#define HCD_ENSURE_BITS_ELSE (   n)
Value:
if (bits_left >= n)\
DO_NOTHING;\
#define n
Definition: t4ht.c:1290
#define HCD_MORE_BITS_ELSE
Definition: pts_fax.c:364

Definition at line 345 of file pts_fax.c.

◆ hcd_load_state

#define hcd_load_state ( )
Value:
p = pr->ptr,\
rlimit = pr->limit,\
bits = ss->bits,\
bits_left = ss->bits_left
static int pr(int(*writeFunc)(void *stream, const char *data, int size), void *stream, const char *data)
Definition: HTMLGen.cc:249

Definition at line 324 of file pts_fax.c.

◆ hcd_more_bits

#define hcd_more_bits (   outl)     BEGIN HCD_MORE_BITS_ELSE goto outl; END

Definition at line 373 of file pts_fax.c.

◆ HCD_MORE_BITS_1_ELSE

#define HCD_MORE_BITS_1_ELSE
Value:
if (p < rlimit) {\
int c = *++p;\
if (ss->FirstBitLowOrder)\
bits = (bits << 8) + c, bits_left += 8;\
} else
#define c(n)
Definition: gpos-common.c:150
const unsigned char byte_reverse_bits[256]
Definition: pts_fax.c:3108

Definition at line 353 of file pts_fax.c.

◆ HCD_MORE_BITS_ELSE

#define HCD_MORE_BITS_ELSE
Value:
if (rlimit - p >= 3) {\
if (ss->FirstBitLowOrder)\
bits = (bits << 24) + ((unsigned int)byte_reverse_bits[p[1]] << 16) + ((unsigned int)byte_reverse_bits[p[2]] << 8) + byte_reverse_bits[p[3]];\
else\
bits = (bits << 24) + ((unsigned int)p[1] << 16) + ((unsigned int)p[2] << 8) + p[3];\
bits_left += 24, p += 3;\
#define HCD_MORE_BITS_1_ELSE
Definition: pts_fax.c:353

Definition at line 364 of file pts_fax.c.

◆ hcd_peek_bits

#define hcd_peek_bits (   n)    ((bits >> (bits_left - (n))) & ((1 << (n)) - 1))

Definition at line 376 of file pts_fax.c.

◆ hcd_peek_bits_left

#define hcd_peek_bits_left ( )     (bits & byte_right_mask[bits_left])

Definition at line 383 of file pts_fax.c.

◆ hcd_peek_var_bits

#define hcd_peek_var_bits (   n)     ((bits >> (bits_left - (n))) & byte_right_mask[n])

Definition at line 379 of file pts_fax.c.

◆ hcd_skip_bits

#define hcd_skip_bits (   n)    (bits_left -= (n))

Definition at line 386 of file pts_fax.c.

◆ hcd_store_state

#define hcd_store_state ( )
Value:
pr->ptr = p -= (bits_left >> 3),\
ss->bits = bits >>= (bits_left & ~7),\
ss->bits_left = bits_left &= 7

Definition at line 333 of file pts_fax.c.

◆ hce_bits_available

#define hce_bits_available (   n)     (ss->bits_left >= (n) || wlimit - q > ((n) - ss->bits_left - 1) >> 3)

Definition at line 231 of file pts_fax.c.

◆ hce_declare_state

#define hce_declare_state
Value:
register unsigned int bits;\
register int bits_left

Definition at line 253 of file pts_fax.c.

◆ hce_entry

#define hce_entry (   c,
  len 
)    { c, len }

Definition at line 224 of file pts_fax.c.

◆ hce_load_state

#define hce_load_state ( )     bits = ss->bits, bits_left = ss->bits_left

Definition at line 259 of file pts_fax.c.

◆ hce_store_state

#define hce_store_state ( )     ss->bits = bits, ss->bits_left = bits_left

Definition at line 264 of file pts_fax.c.

◆ if_debug0

#define if_debug0 (   c,
  s 
)    DO_NOTHING

Definition at line 58 of file pts_fax.c.

◆ if_debug1

#define if_debug1 (   c,
  s,
  a1 
)    DO_NOTHING

Definition at line 59 of file pts_fax.c.

◆ if_debug10

#define if_debug10 (   c,
  s,
  a1,
  a2,
  a3,
  a4,
  a5,
  a6,
  a7,
  a8,
  a9,
  a10 
)    DO_NOTHING

Definition at line 68 of file pts_fax.c.

◆ if_debug11

#define if_debug11 (   c,
  s,
  a1,
  a2,
  a3,
  a4,
  a5,
  a6,
  a7,
  a8,
  a9,
  a10,
  a11 
)    DO_NOTHING

Definition at line 69 of file pts_fax.c.

◆ if_debug12

#define if_debug12 (   c,
  s,
  a1,
  a2,
  a3,
  a4,
  a5,
  a6,
  a7,
  a8,
  a9,
  a10,
  a11,
  a12 
)    DO_NOTHING

Definition at line 70 of file pts_fax.c.

◆ if_debug2

#define if_debug2 (   c,
  s,
  a1,
  a2 
)    DO_NOTHING

Definition at line 60 of file pts_fax.c.

◆ if_debug3

#define if_debug3 (   c,
  s,
  a1,
  a2,
  a3 
)    DO_NOTHING

Definition at line 61 of file pts_fax.c.

◆ if_debug4

#define if_debug4 (   c,
  s,
  a1,
  a2,
  a3,
  a4 
)    DO_NOTHING

Definition at line 62 of file pts_fax.c.

◆ if_debug5

#define if_debug5 (   c,
  s,
  a1,
  a2,
  a3,
  a4,
  a5 
)    DO_NOTHING

Definition at line 63 of file pts_fax.c.

◆ if_debug6

#define if_debug6 (   c,
  s,
  a1,
  a2,
  a3,
  a4,
  a5,
  a6 
)    DO_NOTHING

Definition at line 64 of file pts_fax.c.

◆ if_debug7

#define if_debug7 (   c,
  s,
  a1,
  a2,
  a3,
  a4,
  a5,
  a6,
  a7 
)    DO_NOTHING

Definition at line 65 of file pts_fax.c.

◆ if_debug8

#define if_debug8 (   c,
  s,
  a1,
  a2,
  a3,
  a4,
  a5,
  a6,
  a7,
  a8 
)    DO_NOTHING

Definition at line 66 of file pts_fax.c.

◆ if_debug9

#define if_debug9 (   c,
  s,
  a1,
  a2,
  a3,
  a4,
  a5,
  a6,
  a7,
  a8,
  a9 
)    DO_NOTHING

Definition at line 67 of file pts_fax.c.

◆ impl

#define impl   static

Definition at line 34 of file pts_fax.c.

◆ impl_const

#define impl_const   const

Definition at line 36 of file pts_fax.c.

◆ intern

#define intern   static

Definition at line 33 of file pts_fax.c.

◆ intern_const

#define intern_const   extern const

Definition at line 35 of file pts_fax.c.

◆ max

#define max (   a,
  b 
)    (((a) > (b)) ? (a) : (b))

Definition at line 77 of file pts_fax.c.

◆ max_hc_length

#define max_hc_length   16

Definition at line 204 of file pts_fax.c.

◆ min

#define min (   a,
  b 
)    (((a) < (b)) ? (a) : (b))

Definition at line 74 of file pts_fax.c.

◆ MISC_TYPES_H

#define MISC_TYPES_H   1

Definition at line 48 of file pts_fax.c.

◆ r128

#define r128 (   n)    r64(n),r64(n)

Definition at line 3141 of file pts_fax.c.

◆ r16

#define r16 (   n)    r8(n),r8(n)

Definition at line 3138 of file pts_fax.c.

◆ r32

#define r32 (   n)    r16(n),r16(n)

Definition at line 3139 of file pts_fax.c.

◆ r64

#define r64 (   n)    r32(n),r32(n)

Definition at line 3140 of file pts_fax.c.

◆ r8

#define r8 (   n)    n,n,n,n,n,n,n,n

Definition at line 3137 of file pts_fax.c.

◆ ROUND_DOWN

#define ROUND_DOWN (   value,
  modulus 
)
Value:
( (modulus) & ((modulus) - 1) ? /* not a power of 2 */\
(value) - (value) % (modulus) :\
(value) & -(modulus) )
union value value
Definition: obx.h:44
Definition: obx.h:51

Definition at line 81 of file pts_fax.c.

◆ ROUND_UP

#define ROUND_UP (   value,
  modulus 
)
Value:
( (modulus) & ((modulus) - 1) ? /* not a power of 2 */\
((value) + ((modulus) - 1)) / (modulus) * (modulus) :\
((value) + ((modulus) - 1)) & -(modulus) )

Definition at line 85 of file pts_fax.c.

◆ rr8

#define rr8 (   a,
  b,
  c,
  d,
  e,
  f,
  g,
  h 
)
Value:
a,b,c,d,e,f,g,h, a,b,c,d,e,f,g,h, a,b,c,d,e,f,g,h, a,b,c,d,e,f,g,h,\
a,b,c,d,e,f,g,h, a,b,c,d,e,f,g,h, a,b,c,d,e,f,g,h, a,b,c,d,e,f,g,h,\
a,b,c,d,e,f,g,h, a,b,c,d,e,f,g,h, a,b,c,d,e,f,g,h, a,b,c,d,e,f,g,h,\
a,b,c,d,e,f,g,h, a,b,c,d,e,f,g,h, a,b,c,d,e,f,g,h, a,b,c,d,e,f,g,h,\
a,b,c,d,e,f,g,h, a,b,c,d,e,f,g,h, a,b,c,d,e,f,g,h, a,b,c,d,e,f,g,h,\
a,b,c,d,e,f,g,h, a,b,c,d,e,f,g,h, a,b,c,d,e,f,g,h, a,b,c,d,e,f,g,h,\
a,b,c,d,e,f,g,h, a,b,c,d,e,f,g,h, a,b,c,d,e,f,g,h, a,b,c,d,e,f,g,h,\
a,b,c,d,e,f,g,h, a,b,c,d,e,f,g,h, a,b,c,d,e,f,g,h, a,b,c,d,e,f,g,h
#define b
Definition: jpegint.h:372
int h
Definition: dviconv.c:9
mpz_t * f
Definition: gen-fib.c:34
#define a(n)
Definition: gpos-common.c:148
#define d(n)
Definition: gpos-common.c:151
int g
Definition: ppmqvga.c:68
ShellFileEnvironment e
Definition: sh6.c:388

Definition at line 3168 of file pts_fax.c.

◆ RUN

#define RUN (   c,
  len 
)    hce_entry(c,len)

Definition at line 1116 of file pts_fax.c.

◆ run2_horizontal

#define run2_horizontal   (-5)

Definition at line 480 of file pts_fax.c.

◆ run2_pass

#define run2_pass   (-4)

Definition at line 479 of file pts_fax.c.

◆ run_eol_code_length

#define run_eol_code_length   12

Definition at line 432 of file pts_fax.c.

◆ run_eol_code_value

#define run_eol_code_value   1

Definition at line 433 of file pts_fax.c.

◆ run_error

#define run_error   (-1)

Definition at line 475 of file pts_fax.c.

◆ run_length

#define run_length   value

Definition at line 469 of file pts_fax.c.

◆ run_uncompressed

#define run_uncompressed   (-3)

Definition at line 477 of file pts_fax.c.

◆ run_zeros

#define run_zeros   (-2) /* EOL follows, possibly with more padding first */

Definition at line 476 of file pts_fax.c.

◆ s_hcd_init_inline

#define s_hcd_init_inline (   ss)     ((ss)->bits = 0, (ss)->bits_left = 0)

Definition at line 180 of file pts_fax.c.

◆ s_hce_init_inline

#define s_hce_init_inline (   ss)     ((ss)->bits = 0, (ss)->bits_left = hc_bits_size)

Definition at line 178 of file pts_fax.c.

◆ scf_INCLUDED

#define scf_INCLUDED

Definition at line 397 of file pts_fax.c.

◆ shc_INCLUDED

#define shc_INCLUDED

Definition at line 173 of file pts_fax.c.

◆ skip_black_pixels

#define skip_black_pixels (   data,
  p,
  count,
  white_byte,
  rlen 
)
Value:
BEGIN\
rlen = cf_byte_run_length[count & 7][data];\
if ( rlen >= 8 ) {\
if ( white_byte == 0 )\
for ( ; ; p += 4, rlen += 32 ) {\
if ( p[0] != 0xff ) { data = p[0]; p += 1; rlen -= 8; break; }\
if ( p[1] != 0xff ) { data = p[1]; p += 2; break; }\
if ( p[2] != 0xff ) { data = p[2]; p += 3; rlen += 8; break; }\
if ( p[3] != 0xff ) { data = p[3]; p += 4; rlen += 16; break; }\
}\
for ( ; ; p += 4, rlen += 32 ) {\
if ( p[0] ) { data = (unsigned char)~p[0]; p += 1; rlen -= 8; break; }\
if ( p[1] ) { data = (unsigned char)~p[1]; p += 2; break; }\
if ( p[2] ) { data = (unsigned char)~p[2]; p += 3; rlen += 8; break; }\
if ( p[3] ) { data = (unsigned char)~p[3]; p += 4; rlen += 16; break; }\
}\
}\
count -= rlen;\
END
#define count(a)
Definition: aptex-macros.h:781
struct rect data
Definition: dvipdfm.c:64
for(n=0;n< outline->n_points;n++)
Definition: ftbbox.c:494
#define cf_byte_run_length_0
Definition: pts_fax.c:508
#define cf_byte_run_length
Definition: pts_fax.c:507

Definition at line 561 of file pts_fax.c.

◆ skip_white_pixels

#define skip_white_pixels (   data,
  p,
  count,
  white_byte,
  rlen 
)

Definition at line 516 of file pts_fax.c.

◆ t8

#define t8 (   n)    n,n,n,n,n+1,n+1,n+2,n+11

Definition at line 3136 of file pts_fax.c.

Typedef Documentation

◆ cf_runs

typedef struct cf_runs_s cf_runs

◆ cfd_node

typedef hcd_code cfd_node

Definition at line 467 of file pts_fax.c.

◆ cfe_run

typedef hce_code cfe_run

Definition at line 428 of file pts_fax.c.

◆ hc_definition

◆ hcd_code

typedef struct hcd_code_s hcd_code

◆ hcd_table

typedef struct hcd_table_s hcd_table

◆ hce_code

typedef struct hce_code_s hce_code

◆ hce_table

typedef struct hce_table_s hce_table

Function Documentation

◆ cf_encode_1d() [1/2]

static void cf_encode_1d ( )
static

Referenced by s_CFE_process().

◆ cf_encode_1d() [2/2]

◆ cf_encode_2d() [1/2]

static void cf_encode_2d ( )
static

Referenced by s_CFE_process().

◆ cf_encode_2d() [2/2]

◆ cf_put_long_run()

static unsigned char* cf_put_long_run ( stream_CFE_state ss,
unsigned char *  q,
int  lenv,
const cf_runs prt 
)
static

◆ hc_put_code_proc() [1/2]

static void hc_put_code_proc ( )
static

◆ hc_put_code_proc() [2/2]

static void hc_put_code_proc ( bool  reverse_bits,
unsigned char *  q,
unsigned int  cw 
)
static

Definition at line 3054 of file pts_fax.c.

References byte_reverse_bits, cb, and q.

◆ hc_put_last_bits_proc() [1/2]

static unsigned char* hc_put_last_bits_proc ( )
static

◆ hc_put_last_bits_proc() [2/2]

static unsigned char* hc_put_last_bits_proc ( stream_hc_state ss,
unsigned char *  q,
unsigned int  bits,
int  bits_left 
)
static

◆ s_CFE_init()

◆ s_CFE_process()

◆ s_CFE_release() [1/2]

static void s_CFE_release ( )
static

Referenced by s_CFE_init().

◆ s_CFE_release() [2/2]

static void s_CFE_release ( stream_state st)
static

◆ s_CFE_set_defaults()

static void s_CFE_set_defaults ( register stream_state st)
static

Definition at line 693 of file pts_fax.c.

References s_CFE_set_defaults_inline.

Variable Documentation

◆ byte_acegbdfh_to_abcdefgh

const unsigned char byte_acegbdfh_to_abcdefgh
Initial value:
= {
0 , 0x01 + 0 , 0x04 + 0 , 0x04 + 0x01 + 0 , 0x10 + 0 , 0x01 + 0x10 + 0 , 0x04 + 0x10 + 0 , 0x04 + 0x01 + 0x10 + 0 , 0x40 + 0 , 0x01 + 0x40 + 0 , 0x04 + 0x40 + 0 , 0x04 + 0x01 + 0x40 + 0 , 0x40 + 0x10 + 0 , 0x01 + 0x40 + 0x10 + 0 , 0x04 + 0x40 + 0x10 + 0 , 0x04 + 0x01 + 0x40 + 0x10 + 0 , 0x02 + 0 , 0x01 + 0x02 + 0 , 0x04 + 0x02 + 0 , 0x04 + 0x01 + 0x02 + 0 , 0x10 + 0x02 + 0 , 0x01 + 0x10 + 0x02 + 0 , 0x04 + 0x10 + 0x02 + 0 , 0x04 + 0x01 + 0x10 + 0x02 + 0 , 0x40 + 0x02 + 0 , 0x01 + 0x40 + 0x02 + 0 , 0x04 + 0x40 + 0x02 + 0 , 0x04 + 0x01 + 0x40 + 0x02 + 0 , 0x40 + 0x10 + 0x02 + 0 , 0x01 + 0x40 + 0x10 + 0x02 + 0 , 0x04 + 0x40 + 0x10 + 0x02 + 0 , 0x04 + 0x01 + 0x40 + 0x10 + 0x02 + 0 , 0x08 + 0 , 0x01 + 0x08 + 0 , 0x04 + 0x08 + 0 , 0x04 + 0x01 + 0x08 + 0 , 0x10 + 0x08 + 0 , 0x01 + 0x10 + 0x08 + 0 , 0x04 + 0x10 + 0x08 + 0 , 0x04 + 0x01 + 0x10 + 0x08 + 0 , 0x40 + 0x08 + 0 , 0x01 + 0x40 + 0x08 + 0 , 0x04 + 0x40 + 0x08 + 0 , 0x04 + 0x01 + 0x40 + 0x08 + 0 , 0x40 + 0x10 + 0x08 + 0 , 0x01 + 0x40 + 0x10 + 0x08 + 0 , 0x04 + 0x40 + 0x10 + 0x08 + 0 , 0x04 + 0x01 + 0x40 + 0x10 + 0x08 + 0 , 0x08 + 0x02 + 0 , 0x01 + 0x08 + 0x02 + 0 , 0x04 + 0x08 + 0x02 + 0 , 0x04 + 0x01 + 0x08 + 0x02 + 0 , 0x10 + 0x08 + 0x02 + 0 , 0x01 + 0x10 + 0x08 + 0x02 + 0 , 0x04 + 0x10 + 0x08 + 0x02 + 0 , 0x04 + 0x01 + 0x10 + 0x08 + 0x02 + 0 , 0x40 + 0x08 + 0x02 + 0 , 0x01 + 0x40 + 0x08 + 0x02 + 0 , 0x04 + 0x40 + 0x08 + 0x02 + 0 , 0x04 + 0x01 + 0x40 + 0x08 + 0x02 + 0 , 0x40 + 0x10 + 0x08 + 0x02 + 0 , 0x01 + 0x40 + 0x10 + 0x08 + 0x02 + 0 , 0x04 + 0x40 + 0x10 + 0x08 + 0x02 + 0 , 0x04 + 0x01 + 0x40 + 0x10 + 0x08 + 0x02 + 0 , 0x20 + 0 , 0x01 + 0x20 + 0 , 0x04 + 0x20 + 0 , 0x04 + 0x01 + 0x20 + 0 , 0x10 + 0x20 + 0 , 0x01 + 0x10 + 0x20 + 0 , 0x04 + 0x10 + 0x20 + 0 , 0x04 + 0x01 + 0x10 + 0x20 + 0 , 0x40 + 0x20 + 0 , 0x01 + 0x40 + 0x20 + 0 , 0x04 + 0x40 + 0x20 + 0 , 0x04 + 0x01 + 0x40 + 0x20 + 0 , 0x40 + 0x10 + 0x20 + 0 , 0x01 + 0x40 + 0x10 + 0x20 + 0 , 0x04 + 0x40 + 0x10 + 0x20 + 0 , 0x04 + 0x01 + 0x40 + 0x10 + 0x20 + 0 , 0x02 + 0x20 + 0 , 0x01 + 0x02 + 0x20 + 0 , 0x04 + 0x02 + 0x20 + 0 , 0x04 + 0x01 + 0x02 + 0x20 + 0 , 0x10 + 0x02 + 0x20 + 0 , 0x01 + 0x10 + 0x02 + 0x20 + 0 , 0x04 + 0x10 + 0x02 + 0x20 + 0 , 0x04 + 0x01 + 0x10 + 0x02 + 0x20 + 0 , 0x40 + 0x02 + 0x20 + 0 , 0x01 + 0x40 + 0x02 + 0x20 + 0 , 0x04 + 0x40 + 0x02 + 0x20 + 0 , 0x04 + 0x01 + 0x40 + 0x02 + 0x20 + 0 , 0x40 + 0x10 + 0x02 + 0x20 + 0 , 0x01 + 0x40 + 0x10 + 0x02 + 0x20 + 0 , 0x04 + 0x40 + 0x10 + 0x02 + 0x20 + 0 , 0x04 + 0x01 + 0x40 + 0x10 + 0x02 + 0x20 + 0 , 0x08 + 0x20 + 0 , 0x01 + 0x08 + 0x20 + 0 , 0x04 + 0x08 + 0x20 + 0 , 0x04 + 0x01 + 0x08 + 0x20 + 0 , 0x10 + 0x08 + 0x20 + 0 , 0x01 + 0x10 + 0x08 + 0x20 + 0 , 0x04 + 0x10 + 0x08 + 0x20 + 0 , 0x04 + 0x01 + 0x10 + 0x08 + 0x20 + 0 , 0x40 + 0x08 + 0x20 + 0 , 0x01 + 0x40 + 0x08 + 0x20 + 0 , 0x04 + 0x40 + 0x08 + 0x20 + 0 , 0x04 + 0x01 + 0x40 + 0x08 + 0x20 + 0 , 0x40 + 0x10 + 0x08 + 0x20 + 0 , 0x01 + 0x40 + 0x10 + 0x08 + 0x20 + 0 , 0x04 + 0x40 + 0x10 + 0x08 + 0x20 + 0 , 0x04 + 0x01 + 0x40 + 0x10 + 0x08 + 0x20 + 0 , 0x08 + 0x02 + 0x20 + 0 , 0x01 + 0x08 + 0x02 + 0x20 + 0 , 0x04 + 0x08 + 0x02 + 0x20 + 0 , 0x04 + 0x01 + 0x08 + 0x02 + 0x20 + 0 , 0x10 + 0x08 + 0x02 + 0x20 + 0 , 0x01 + 0x10 + 0x08 + 0x02 + 0x20 + 0 , 0x04 + 0x10 + 0x08 + 0x02 + 0x20 + 0 , 0x04 + 0x01 + 0x10 + 0x08 + 0x02 + 0x20 + 0 , 0x40 + 0x08 + 0x02 + 0x20 + 0 , 0x01 + 0x40 + 0x08 + 0x02 + 0x20 + 0 , 0x04 + 0x40 + 0x08 + 0x02 + 0x20 + 0 , 0x04 + 0x01 + 0x40 + 0x08 + 0x02 + 0x20 + 0 , 0x40 + 0x10 + 0x08 + 0x02 + 0x20 + 0 , 0x01 + 0x40 + 0x10 + 0x08 + 0x02 + 0x20 + 0 , 0x04 + 0x40 + 0x10 + 0x08 + 0x02 + 0x20 + 0 , 0x04 + 0x01 + 0x40 + 0x10 + 0x08 + 0x02 + 0x20 + 0 , 0x80 + 0 , 0x01 + 0x80 + 0 , 0x04 + 0x80 + 0 , 0x04 + 0x01 + 0x80 + 0 , 0x10 + 0x80 + 0 , 0x01 + 0x10 + 0x80 + 0 , 0x04 + 0x10 + 0x80 + 0 , 0x04 + 0x01 + 0x10 + 0x80 + 0 , 0x40 + 0x80 + 0 , 0x01 + 0x40 + 0x80 + 0 , 0x04 + 0x40 + 0x80 + 0 , 0x04 + 0x01 + 0x40 + 0x80 + 0 , 0x40 + 0x10 + 0x80 + 0 , 0x01 + 0x40 + 0x10 + 0x80 + 0 , 0x04 + 0x40 + 0x10 + 0x80 + 0 , 0x04 + 0x01 + 0x40 + 0x10 + 0x80 + 0 , 0x02 + 0x80 + 0 , 0x01 + 0x02 + 0x80 + 0 , 0x04 + 0x02 + 0x80 + 0 , 0x04 + 0x01 + 0x02 + 0x80 + 0 , 0x10 + 0x02 + 0x80 + 0 , 0x01 + 0x10 + 0x02 + 0x80 + 0 , 0x04 + 0x10 + 0x02 + 0x80 + 0 , 0x04 + 0x01 + 0x10 + 0x02 + 0x80 + 0 , 0x40 + 0x02 + 0x80 + 0 , 0x01 + 0x40 + 0x02 + 0x80 + 0 , 0x04 + 0x40 + 0x02 + 0x80 + 0 , 0x04 + 0x01 + 0x40 + 0x02 + 0x80 + 0 , 0x40 + 0x10 + 0x02 + 0x80 + 0 , 0x01 + 0x40 + 0x10 + 0x02 + 0x80 + 0 , 0x04 + 0x40 + 0x10 + 0x02 + 0x80 + 0 , 0x04 + 0x01 + 0x40 + 0x10 + 0x02 + 0x80 + 0 , 0x08 + 0x80 + 0 , 0x01 + 0x08 + 0x80 + 0 , 0x04 + 0x08 + 0x80 + 0 , 0x04 + 0x01 + 0x08 + 0x80 + 0 , 0x10 + 0x08 + 0x80 + 0 , 0x01 + 0x10 + 0x08 + 0x80 + 0 , 0x04 + 0x10 + 0x08 + 0x80 + 0 , 0x04 + 0x01 + 0x10 + 0x08 + 0x80 + 0 , 0x40 + 0x08 + 0x80 + 0 , 0x01 + 0x40 + 0x08 + 0x80 + 0 , 0x04 + 0x40 + 0x08 + 0x80 + 0 , 0x04 + 0x01 + 0x40 + 0x08 + 0x80 + 0 , 0x40 + 0x10 + 0x08 + 0x80 + 0 , 0x01 + 0x40 + 0x10 + 0x08 + 0x80 + 0 , 0x04 + 0x40 + 0x10 + 0x08 + 0x80 + 0 , 0x04 + 0x01 + 0x40 + 0x10 + 0x08 + 0x80 + 0 , 0x08 + 0x02 + 0x80 + 0 , 0x01 + 0x08 + 0x02 + 0x80 + 0 , 0x04 + 0x08 + 0x02 + 0x80 + 0 , 0x04 + 0x01 + 0x08 + 0x02 + 0x80 + 0 , 0x10 + 0x08 + 0x02 + 0x80 + 0 , 0x01 + 0x10 + 0x08 + 0x02 + 0x80 + 0 , 0x04 + 0x10 + 0x08 + 0x02 + 0x80 + 0 , 0x04 + 0x01 + 0x10 + 0x08 + 0x02 + 0x80 + 0 , 0x40 + 0x08 + 0x02 + 0x80 + 0 , 0x01 + 0x40 + 0x08 + 0x02 + 0x80 + 0 , 0x04 + 0x40 + 0x08 + 0x02 + 0x80 + 0 , 0x04 + 0x01 + 0x40 + 0x08 + 0x02 + 0x80 + 0 , 0x40 + 0x10 + 0x08 + 0x02 + 0x80 + 0 , 0x01 + 0x40 + 0x10 + 0x08 + 0x02 + 0x80 + 0 , 0x04 + 0x40 + 0x10 + 0x08 + 0x02 + 0x80 + 0 , 0x04 + 0x01 + 0x40 + 0x10 + 0x08 + 0x02 + 0x80 + 0 , 0x80 + 0x20 + 0 , 0x01 + 0x80 + 0x20 + 0 , 0x04 + 0x80 + 0x20 + 0 , 0x04 + 0x01 + 0x80 + 0x20 + 0 , 0x10 + 0x80 + 0x20 + 0 , 0x01 + 0x10 + 0x80 + 0x20 + 0 , 0x04 + 0x10 + 0x80 + 0x20 + 0 , 0x04 + 0x01 + 0x10 + 0x80 + 0x20 + 0 , 0x40 + 0x80 + 0x20 + 0 , 0x01 + 0x40 + 0x80 + 0x20 + 0 , 0x04 + 0x40 + 0x80 + 0x20 + 0 , 0x04 + 0x01 + 0x40 + 0x80 + 0x20 + 0 , 0x40 + 0x10 + 0x80 + 0x20 + 0 , 0x01 + 0x40 + 0x10 + 0x80 + 0x20 + 0 , 0x04 + 0x40 + 0x10 + 0x80 + 0x20 + 0 , 0x04 + 0x01 + 0x40 + 0x10 + 0x80 + 0x20 + 0 , 0x02 + 0x80 + 0x20 + 0 , 0x01 + 0x02 + 0x80 + 0x20 + 0 , 0x04 + 0x02 + 0x80 + 0x20 + 0 , 0x04 + 0x01 + 0x02 + 0x80 + 0x20 + 0 , 0x10 + 0x02 + 0x80 + 0x20 + 0 , 0x01 + 0x10 + 0x02 + 0x80 + 0x20 + 0 , 0x04 + 0x10 + 0x02 + 0x80 + 0x20 + 0 , 0x04 + 0x01 + 0x10 + 0x02 + 0x80 + 0x20 + 0 , 0x40 + 0x02 + 0x80 + 0x20 + 0 , 0x01 + 0x40 + 0x02 + 0x80 + 0x20 + 0 , 0x04 + 0x40 + 0x02 + 0x80 + 0x20 + 0 , 0x04 + 0x01 + 0x40 + 0x02 + 0x80 + 0x20 + 0 , 0x40 + 0x10 + 0x02 + 0x80 + 0x20 + 0 , 0x01 + 0x40 + 0x10 + 0x02 + 0x80 + 0x20 + 0 , 0x04 + 0x40 + 0x10 + 0x02 + 0x80 + 0x20 + 0 , 0x04 + 0x01 + 0x40 + 0x10 + 0x02 + 0x80 + 0x20 + 0 , 0x08 + 0x80 + 0x20 + 0 , 0x01 + 0x08 + 0x80 + 0x20 + 0 , 0x04 + 0x08 + 0x80 + 0x20 + 0 , 0x04 + 0x01 + 0x08 + 0x80 + 0x20 + 0 , 0x10 + 0x08 + 0x80 + 0x20 + 0 , 0x01 + 0x10 + 0x08 + 0x80 + 0x20 + 0 , 0x04 + 0x10 + 0x08 + 0x80 + 0x20 + 0 , 0x04 + 0x01 + 0x10 + 0x08 + 0x80 + 0x20 + 0 , 0x40 + 0x08 + 0x80 + 0x20 + 0 , 0x01 + 0x40 + 0x08 + 0x80 + 0x20 + 0 , 0x04 + 0x40 + 0x08 + 0x80 + 0x20 + 0 , 0x04 + 0x01 + 0x40 + 0x08 + 0x80 + 0x20 + 0 , 0x40 + 0x10 + 0x08 + 0x80 + 0x20 + 0 , 0x01 + 0x40 + 0x10 + 0x08 + 0x80 + 0x20 + 0 , 0x04 + 0x40 + 0x10 + 0x08 + 0x80 + 0x20 + 0 , 0x04 + 0x01 + 0x40 + 0x10 + 0x08 + 0x80 + 0x20 + 0 , 0x08 + 0x02 + 0x80 + 0x20 + 0 , 0x01 + 0x08 + 0x02 + 0x80 + 0x20 + 0 , 0x04 + 0x08 + 0x02 + 0x80 + 0x20 + 0 , 0x04 + 0x01 + 0x08 + 0x02 + 0x80 + 0x20 + 0 , 0x10 + 0x08 + 0x02 + 0x80 + 0x20 + 0 , 0x01 + 0x10 + 0x08 + 0x02 + 0x80 + 0x20 + 0 , 0x04 + 0x10 + 0x08 + 0x02 + 0x80 + 0x20 + 0 , 0x04 + 0x01 + 0x10 + 0x08 + 0x02 + 0x80 + 0x20 + 0 , 0x40 + 0x08 + 0x02 + 0x80 + 0x20 + 0 , 0x01 + 0x40 + 0x08 + 0x02 + 0x80 + 0x20 + 0 , 0x04 + 0x40 + 0x08 + 0x02 + 0x80 + 0x20 + 0 , 0x04 + 0x01 + 0x40 + 0x08 + 0x02 + 0x80 + 0x20 + 0 , 0x40 + 0x10 + 0x08 + 0x02 + 0x80 + 0x20 + 0 , 0x01 + 0x40 + 0x10 + 0x08 + 0x02 + 0x80 + 0x20 + 0 , 0x04 + 0x40 + 0x10 + 0x08 + 0x02 + 0x80 + 0x20 + 0 , 0x04 + 0x01 + 0x40 + 0x10 + 0x08 + 0x02 + 0x80 + 0x20 + 0
}

Definition at line 3206 of file pts_fax.c.

◆ byte_bit_run_length

const unsigned char *const byte_bit_run_length
Initial value:
= {
}
const unsigned char byte_bit_run_length_4[256]
Definition: pts_fax.c:148
const unsigned char byte_bit_run_length_7[256]
Definition: pts_fax.c:149
const unsigned char byte_bit_run_length_1[256]
Definition: pts_fax.c:146
const unsigned char byte_bit_run_length_5[256]
Definition: pts_fax.c:148
const unsigned char byte_bit_run_length_2[256]
Definition: pts_fax.c:147
const unsigned char byte_bit_run_length_0[256]
Definition: pts_fax.c:3142
const unsigned char byte_bit_run_length_6[256]
Definition: pts_fax.c:149
const unsigned char byte_bit_run_length_3[256]
Definition: pts_fax.c:147

Definition at line 3189 of file pts_fax.c.

◆ byte_bit_run_length_0

const unsigned char byte_bit_run_length_0
Initial value:
= {
0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 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 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10 , 0 , 0 , 1 , 10
}

Definition at line 149 of file pts_fax.c.

◆ byte_bit_run_length_7

const unsigned char by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 1 + 1 + 1 + 1 + 0 , 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 , 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0
}

Definition at line 3122 of file pts_fax.c.

◆ byte_reverse_bits

const unsigned char byte_reverse_bits
Initial value:
= {
0 , 0x80 + 0 , 0x40 + 0 , 0x40 + 0x80 + 0 , 0x20 + 0 , 0x80 + 0x20 + 0 , 0x40 + 0x20 + 0 , 0x40 + 0x80 + 0x20 + 0 , 0x10 + 0 , 0x80 + 0x10 + 0 , 0x40 + 0x10 + 0 , 0x40 + 0x80 + 0x10 + 0 , 0x10 + 0x20 + 0 , 0x80 + 0x10 + 0x20 + 0 , 0x40 + 0x10 + 0x20 + 0 , 0x40 + 0x80 + 0x10 + 0x20 + 0 , 8 + 0 , 0x80 + 8 + 0 , 0x40 + 8 + 0 , 0x40 + 0x80 + 8 + 0 , 0x20 + 8 + 0 , 0x80 + 0x20 + 8 + 0 , 0x40 + 0x20 + 8 + 0 , 0x40 + 0x80 + 0x20 + 8 + 0 , 0x10 + 8 + 0 , 0x80 + 0x10 + 8 + 0 , 0x40 + 0x10 + 8 + 0 , 0x40 + 0x80 + 0x10 + 8 + 0 , 0x10 + 0x20 + 8 + 0 , 0x80 + 0x10 + 0x20 + 8 + 0 , 0x40 + 0x10 + 0x20 + 8 + 0 , 0x40 + 0x80 + 0x10 + 0x20 + 8 + 0 , 4 + 0 , 0x80 + 4 + 0 , 0x40 + 4 + 0 , 0x40 + 0x80 + 4 + 0 , 0x20 + 4 + 0 , 0x80 + 0x20 + 4 + 0 , 0x40 + 0x20 + 4 + 0 , 0x40 + 0x80 + 0x20 + 4 + 0 , 0x10 + 4 + 0 , 0x80 + 0x10 + 4 + 0 , 0x40 + 0x10 + 4 + 0 , 0x40 + 0x80 + 0x10 + 4 + 0 , 0x10 + 0x20 + 4 + 0 , 0x80 + 0x10 + 0x20 + 4 + 0 , 0x40 + 0x10 + 0x20 + 4 + 0 , 0x40 + 0x80 + 0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 0x20 + 4 + 8 + 1 + 2 + 0 , 0x80 + 0x10 + 0x20 + 4 + 8 + 1 + 2 + 0 , 0x40 + 0x10 + 0x20 + 4 + 8 + 1 + 2 + 0 , 0x40 + 0x80 + 0x10 + 0x20 + 4 + 8 + 1 + 2 + 0
}

Definition at line 3108 of file pts_fax.c.

Referenced by hc_put_code_proc(), and hc_put_last_bits_proc().

◆ byte_right_mask

const unsigned char byte_right_mask
Initial value:
= {
0, 1, 3, 7, 0xf, 0x1f, 0x3f, 0x7f, 0xff
}

Definition at line 3115 of file pts_fax.c.

◆ cf1_run_uncompressed

const cfe_run cf1_run_uncompressed
Initial value:
=
{ 0xf , 12 }

Definition at line 1124 of file pts_fax.c.

◆ cf2_run_eol_1d

const cfe_run cf2_run_eol_1d
Initial value:
=
{ ( 1 << 1) + 1 , 12 + 1 }

Definition at line 1147 of file pts_fax.c.

Referenced by s_CFE_process().

◆ cf2_run_eol_2d

const cfe_run cf2_run_eol_2d
Initial value:
=
{ ( 1 << 1) + 0 , 12 + 1 }

Definition at line 1149 of file pts_fax.c.

Referenced by s_CFE_process().

◆ cf2_run_horizontal

const cfe_run cf2_run_horizontal
Initial value:
=
{ 1 , 3 }

Definition at line 1140 of file pts_fax.c.

◆ cf2_run_pass

const cfe_run cf2_run_pass
Initial value:
=
{ 0x1 , 4 }

Definition at line 1128 of file pts_fax.c.

◆ cf2_run_uncompressed

const cfe_run cf2_run_uncompressed
Initial value:
=
{ 0xf , 10 }

Definition at line 1142 of file pts_fax.c.

◆ cf2_run_vertical

const cfe_run cf2_run_vertical
Initial value:
=
{
{ 0x3 , 7 },
{ 0x3 , 6 },
{ 0x3 , 3 },
{ 0x1 , 1 },
{ 0x2 , 3 },
{ 0x2 , 6 },
{ 0x2 , 7 }
}

Definition at line 1130 of file pts_fax.c.

Referenced by cf_encode_2d().

◆ cf_black_runs

const cf_runs cf_black_runs

Definition at line 440 of file pts_fax.c.

◆ cf_run_eol

const cfe_run cf_run_eol
Initial value:
=
{ 1 , 12 }

Definition at line 1120 of file pts_fax.c.

Referenced by s_CFE_process().

◆ cf_uncompressed

const cfe_run cf_uncompressed
Initial value:
=
{
{ 1 , 1 },
{ 1 , 2 },
{ 1 , 3 },
{ 1 , 4 },
{ 1 , 5 },
{ 1 , 6 }
}

Definition at line 1225 of file pts_fax.c.

◆ cf_uncompressed_exit

const cfe_run cf_uncompressed_exit
Initial value:
=
{
{ 2 , 8 }, { 3 , 8 },
{ 2 , 9 }, { 3 , 9 },
{ 2 , 10 }, { 3 , 10 },
{ 2 , 11 }, { 3 , 11 },
{ 2 , 12 }, { 3 , 12 }
}

Definition at line 1236 of file pts_fax.c.

◆ cf_white_runs

const cf_runs cf_white_runs

Definition at line 1153 of file pts_fax.c.

Referenced by cf_put_long_run().

◆ s_CFE_template

const stream_template s_CFE_template
Initial value:
= {
}
static void s_CFE_set_defaults(register stream_state *st)
Definition: pts_fax.c:693
static int s_CFE_init(register stream_state *st)
Definition: pts_fax.c:702
static void s_CFE_release()
static int s_CFE_process(stream_state *st, stream_cursor_read *pr, stream_cursor_write *pw, bool last)
Definition: pts_fax.c:772

Definition at line 1098 of file pts_fax.c.

Referenced by CCITTFaxEncode::CCITTFaxEncode(), main(), and CCITTFaxEncode::vi_write().