Skip to content

AFNI/NIfTI Server

Sections
Personal tools
You are here: Home » AFNI » Documentation

Doxygen Source Code Documentation


Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals   Search  

huff.c File Reference

#include "mtypes.h"
#include "huff.h"

Go to the source code of this file.


Variables

int huff_maxlevel [32] = { 41, 19, 6, 5, 4, 4, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2 }
uint32 huff_table0 [41] = { 0x0, 0x6, 0x8, 0xa, 0xc, 0x4c, 0x42, 0x14, 0x3a, 0x30, 0x26, 0x20, 0x34, 0x32, 0x30, 0x2e, 0x3e, 0x3c, 0x3a, 0x38, 0x36, 0x34, 0x32, 0x30, 0x2e, 0x2c, 0x2a, 0x28, 0x26, 0x24, 0x22, 0x20, 0x30, 0x2e, 0x2c, 0x2a, 0x28, 0x26, 0x24, 0x22, 0x20 }
int huff_bits0 [41] = { 0, 3, 5, 6, 8, 9, 9, 11, 13, 13, 13, 13, 14, 14, 14, 14, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 16, 16, 16, 16, 16, 16, 16, 16, 16 }
uint32 huff_table1 [19] = { 0x0, 0x6, 0xc, 0x4a, 0x18, 0x36, 0x2c, 0x2a, 0x3e, 0x3c, 0x3a, 0x38, 0x36, 0x34, 0x32, 0x26, 0x24, 0x22, 0x20 }
int huff_bits1 [19] = { 0, 4, 7, 9, 11, 13, 14, 14, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17 }
uint32 huff_table2 [6] = { 0x0, 0xa, 0x8, 0x16, 0x28, 0x28 }
int huff_bits2 [6] = { 0, 5, 8, 11, 13, 14 }
uint32 huff_table3 [5] = { 0x0, 0xe, 0x48, 0x38, 0x26 }
int huff_bits3 [5] = { 0, 6, 9, 13, 14 }
uint32 huff_table4 [4] = { 0x0, 0xc, 0x1e, 0x24 }
int huff_bits4 [4] = { 0, 6, 11, 13 }
uint32 huff_table5 [4] = { 0x0, 0xe, 0x12, 0x24 }
int huff_bits5 [4] = { 0, 7, 11, 14 }
uint32 huff_table6 [4] = { 0x0, 0xa, 0x3c, 0x28 }
int huff_bits6 [4] = { 0, 7, 13, 17 }
uint32 huff_table7 [3] = { 0x0, 0x8, 0x2a }
int huff_bits7 [3] = { 0, 7, 13 }
uint32 huff_table8 [3] = { 0x0, 0xe, 0x22 }
int huff_bits8 [3] = { 0, 8, 13 }
uint32 huff_table9 [3] = { 0x0, 0xa, 0x22 }
int huff_bits9 [3] = { 0, 8, 14 }
uint32 huff_table10 [3] = { 0x0, 0x4e, 0x20 }
int huff_bits10 [3] = { 0, 9, 14 }
uint32 huff_table11 [3] = { 0x0, 0x46, 0x34 }
int huff_bits11 [3] = { 0, 9, 17 }
uint32 huff_table12 [3] = { 0x0, 0x44, 0x32 }
int huff_bits12 [3] = { 0, 9, 17 }
uint32 huff_table13 [3] = { 0x0, 0x40, 0x30 }
int huff_bits13 [3] = { 0, 9, 17 }
uint32 huff_table14 [3] = { 0x0, 0x1c, 0x2e }
int huff_bits14 [3] = { 0, 11, 17 }
uint32 huff_table15 [3] = { 0x0, 0x1a, 0x2c }
int huff_bits15 [3] = { 0, 11, 17 }
uint32 huff_table16 [3] = { 0x0, 0x10, 0x2a }
int huff_bits16 [3] = { 0, 11, 17 }
uint32 huff_table17 [2] = { 0x0, 0x3e }
int huff_bits17 [2] = { 0, 13 }
uint32 huff_table18 [2] = { 0x0, 0x34 }
int huff_bits18 [2] = { 0, 13 }
uint32 huff_table19 [2] = { 0x0, 0x32 }
int huff_bits19 [2] = { 0, 13 }
uint32 huff_table20 [2] = { 0x0, 0x2e }
int huff_bits20 [2] = { 0, 13 }
uint32 huff_table21 [2] = { 0x0, 0x2c }
int huff_bits21 [2] = { 0, 13 }
uint32 huff_table22 [2] = { 0x0, 0x3e }
int huff_bits22 [2] = { 0, 14 }
uint32 huff_table23 [2] = { 0x0, 0x3c }
int huff_bits23 [2] = { 0, 14 }
uint32 huff_table24 [2] = { 0x0, 0x3a }
int huff_bits24 [2] = { 0, 14 }
uint32 huff_table25 [2] = { 0x0, 0x38 }
int huff_bits25 [2] = { 0, 14 }
uint32 huff_table26 [2] = { 0x0, 0x36 }
int huff_bits26 [2] = { 0, 14 }
uint32 huff_table27 [2] = { 0x0, 0x3e }
int huff_bits27 [2] = { 0, 17 }
uint32 huff_table28 [2] = { 0x0, 0x3c }
int huff_bits28 [2] = { 0, 17 }
uint32 huff_table29 [2] = { 0x0, 0x3a }
int huff_bits29 [2] = { 0, 17 }
uint32 huff_table30 [2] = { 0x0, 0x38 }
int huff_bits30 [2] = { 0, 17 }
uint32 huff_table31 [2] = { 0x0, 0x36 }
int huff_bits31 [2] = { 0, 17 }
uint32huff_table [32] = { huff_table0, huff_table1, huff_table2, huff_table3, huff_table4, huff_table5, huff_table6, huff_table7, huff_table8, huff_table9, huff_table10, huff_table11, huff_table12, huff_table13, huff_table14, huff_table15, huff_table16, huff_table17, huff_table18, huff_table19, huff_table20, huff_table21, huff_table22, huff_table23, huff_table24, huff_table25, huff_table26, huff_table27, huff_table28, huff_table29, huff_table30, huff_table31 }
int * huff_bits [32] = { huff_bits0, huff_bits1, huff_bits2, huff_bits3, huff_bits4, huff_bits5, huff_bits6, huff_bits7, huff_bits8, huff_bits9, huff_bits10, huff_bits11, huff_bits12, huff_bits13, huff_bits14, huff_bits15, huff_bits16, huff_bits17, huff_bits18, huff_bits19, huff_bits20, huff_bits21, huff_bits22, huff_bits23, huff_bits24, huff_bits25, huff_bits26, huff_bits27, huff_bits28, huff_bits29, huff_bits30, huff_bits31 }

Variable Documentation

int* huff_bits[32] = { huff_bits0, huff_bits1, huff_bits2, huff_bits3, huff_bits4, huff_bits5, huff_bits6, huff_bits7, huff_bits8, huff_bits9, huff_bits10, huff_bits11, huff_bits12, huff_bits13, huff_bits14, huff_bits15, huff_bits16, huff_bits17, huff_bits18, huff_bits19, huff_bits20, huff_bits21, huff_bits22, huff_bits23, huff_bits24, huff_bits25, huff_bits26, huff_bits27, huff_bits28, huff_bits29, huff_bits30, huff_bits31 }
 

Definition at line 131 of file huff.c.

int huff_bits0[41] = { 0, 3, 5, 6, 8, 9, 9, 11, 13, 13, 13, 13, 14, 14, 14, 14, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 16, 16, 16, 16, 16, 16, 16, 16, 16 }
 

Definition at line 35 of file huff.c.

int huff_bits1[19] = { 0, 4, 7, 9, 11, 13, 14, 14, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17 }
 

Definition at line 38 of file huff.c.

int huff_bits10[3] = { 0, 9, 14 }
 

Definition at line 65 of file huff.c.

int huff_bits11[3] = { 0, 9, 17 }
 

Definition at line 68 of file huff.c.

int huff_bits12[3] = { 0, 9, 17 }
 

Definition at line 71 of file huff.c.

int huff_bits13[3] = { 0, 9, 17 }
 

Definition at line 74 of file huff.c.

int huff_bits14[3] = { 0, 11, 17 }
 

Definition at line 77 of file huff.c.

int huff_bits15[3] = { 0, 11, 17 }
 

Definition at line 80 of file huff.c.

int huff_bits16[3] = { 0, 11, 17 }
 

Definition at line 83 of file huff.c.

int huff_bits17[2] = { 0, 13 }
 

Definition at line 86 of file huff.c.

int huff_bits18[2] = { 0, 13 }
 

Definition at line 89 of file huff.c.

int huff_bits19[2] = { 0, 13 }
 

Definition at line 92 of file huff.c.

int huff_bits2[6] = { 0, 5, 8, 11, 13, 14 }
 

Definition at line 41 of file huff.c.

int huff_bits20[2] = { 0, 13 }
 

Definition at line 95 of file huff.c.

int huff_bits21[2] = { 0, 13 }
 

Definition at line 98 of file huff.c.

int huff_bits22[2] = { 0, 14 }
 

Definition at line 101 of file huff.c.

int huff_bits23[2] = { 0, 14 }
 

Definition at line 104 of file huff.c.

int huff_bits24[2] = { 0, 14 }
 

Definition at line 107 of file huff.c.

int huff_bits25[2] = { 0, 14 }
 

Definition at line 110 of file huff.c.

int huff_bits26[2] = { 0, 14 }
 

Definition at line 113 of file huff.c.

int huff_bits27[2] = { 0, 17 }
 

Definition at line 116 of file huff.c.

int huff_bits28[2] = { 0, 17 }
 

Definition at line 119 of file huff.c.

int huff_bits29[2] = { 0, 17 }
 

Definition at line 122 of file huff.c.

int huff_bits3[5] = { 0, 6, 9, 13, 14 }
 

Definition at line 44 of file huff.c.

int huff_bits30[2] = { 0, 17 }
 

Definition at line 125 of file huff.c.

int huff_bits31[2] = { 0, 17 }
 

Definition at line 128 of file huff.c.

int huff_bits4[4] = { 0, 6, 11, 13 }
 

Definition at line 47 of file huff.c.

int huff_bits5[4] = { 0, 7, 11, 14 }
 

Definition at line 50 of file huff.c.

int huff_bits6[4] = { 0, 7, 13, 17 }
 

Definition at line 53 of file huff.c.

int huff_bits7[3] = { 0, 7, 13 }
 

Definition at line 56 of file huff.c.

int huff_bits8[3] = { 0, 8, 13 }
 

Definition at line 59 of file huff.c.

int huff_bits9[3] = { 0, 8, 14 }
 

Definition at line 62 of file huff.c.

int huff_maxlevel[32] = { 41, 19, 6, 5, 4, 4, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2 }
 

Definition at line 32 of file huff.c.

uint32* huff_table[32] = { huff_table0, huff_table1, huff_table2, huff_table3, huff_table4, huff_table5, huff_table6, huff_table7, huff_table8, huff_table9, huff_table10, huff_table11, huff_table12, huff_table13, huff_table14, huff_table15, huff_table16, huff_table17, huff_table18, huff_table19, huff_table20, huff_table21, huff_table22, huff_table23, huff_table24, huff_table25, huff_table26, huff_table27, huff_table28, huff_table29, huff_table30, huff_table31 }
 

Definition at line 130 of file huff.c.

uint32 huff_table0[41] = { 0x0, 0x6, 0x8, 0xa, 0xc, 0x4c, 0x42, 0x14, 0x3a, 0x30, 0x26, 0x20, 0x34, 0x32, 0x30, 0x2e, 0x3e, 0x3c, 0x3a, 0x38, 0x36, 0x34, 0x32, 0x30, 0x2e, 0x2c, 0x2a, 0x28, 0x26, 0x24, 0x22, 0x20, 0x30, 0x2e, 0x2c, 0x2a, 0x28, 0x26, 0x24, 0x22, 0x20 }
 

Definition at line 34 of file huff.c.

uint32 huff_table1[19] = { 0x0, 0x6, 0xc, 0x4a, 0x18, 0x36, 0x2c, 0x2a, 0x3e, 0x3c, 0x3a, 0x38, 0x36, 0x34, 0x32, 0x26, 0x24, 0x22, 0x20 }
 

Definition at line 37 of file huff.c.

uint32 huff_table10[3] = { 0x0, 0x4e, 0x20 }
 

Definition at line 64 of file huff.c.

uint32 huff_table11[3] = { 0x0, 0x46, 0x34 }
 

Definition at line 67 of file huff.c.

uint32 huff_table12[3] = { 0x0, 0x44, 0x32 }
 

Definition at line 70 of file huff.c.

uint32 huff_table13[3] = { 0x0, 0x40, 0x30 }
 

Definition at line 73 of file huff.c.

uint32 huff_table14[3] = { 0x0, 0x1c, 0x2e }
 

Definition at line 76 of file huff.c.

uint32 huff_table15[3] = { 0x0, 0x1a, 0x2c }
 

Definition at line 79 of file huff.c.

uint32 huff_table16[3] = { 0x0, 0x10, 0x2a }
 

Definition at line 82 of file huff.c.

uint32 huff_table17[2] = { 0x0, 0x3e }
 

Definition at line 85 of file huff.c.

uint32 huff_table18[2] = { 0x0, 0x34 }
 

Definition at line 88 of file huff.c.

uint32 huff_table19[2] = { 0x0, 0x32 }
 

Definition at line 91 of file huff.c.

uint32 huff_table2[6] = { 0x0, 0xa, 0x8, 0x16, 0x28, 0x28 }
 

Definition at line 40 of file huff.c.

uint32 huff_table20[2] = { 0x0, 0x2e }
 

Definition at line 94 of file huff.c.

uint32 huff_table21[2] = { 0x0, 0x2c }
 

Definition at line 97 of file huff.c.

uint32 huff_table22[2] = { 0x0, 0x3e }
 

Definition at line 100 of file huff.c.

uint32 huff_table23[2] = { 0x0, 0x3c }
 

Definition at line 103 of file huff.c.

uint32 huff_table24[2] = { 0x0, 0x3a }
 

Definition at line 106 of file huff.c.

uint32 huff_table25[2] = { 0x0, 0x38 }
 

Definition at line 109 of file huff.c.

uint32 huff_table26[2] = { 0x0, 0x36 }
 

Definition at line 112 of file huff.c.

uint32 huff_table27[2] = { 0x0, 0x3e }
 

Definition at line 115 of file huff.c.

uint32 huff_table28[2] = { 0x0, 0x3c }
 

Definition at line 118 of file huff.c.

uint32 huff_table29[2] = { 0x0, 0x3a }
 

Definition at line 121 of file huff.c.

uint32 huff_table3[5] = { 0x0, 0xe, 0x48, 0x38, 0x26 }
 

Definition at line 43 of file huff.c.

uint32 huff_table30[2] = { 0x0, 0x38 }
 

Definition at line 124 of file huff.c.

uint32 huff_table31[2] = { 0x0, 0x36 }
 

Definition at line 127 of file huff.c.

uint32 huff_table4[4] = { 0x0, 0xc, 0x1e, 0x24 }
 

Definition at line 46 of file huff.c.

uint32 huff_table5[4] = { 0x0, 0xe, 0x12, 0x24 }
 

Definition at line 49 of file huff.c.

uint32 huff_table6[4] = { 0x0, 0xa, 0x3c, 0x28 }
 

Definition at line 52 of file huff.c.

uint32 huff_table7[3] = { 0x0, 0x8, 0x2a }
 

Definition at line 55 of file huff.c.

uint32 huff_table8[3] = { 0x0, 0xe, 0x22 }
 

Definition at line 58 of file huff.c.

uint32 huff_table9[3] = { 0x0, 0xa, 0x22 }
 

Definition at line 61 of file huff.c.

 

Powered by Plone

This site conforms to the following standards: