Changeset 23508 for main/branches/64_bit_Greenstone/greenstone2/common-src/indexers/mg/lib/bitio_mem.h
- Timestamp:
- 2010-12-17T14:04:10+13:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/branches/64_bit_Greenstone/greenstone2/common-src/indexers/mg/lib/bitio_mem.h
r16583 r23508 61 61 62 62 63 void BIO_Mem_Unary_Encode ( unsignedlong val, mem_bitio_state * bs,64 unsignedlong *bits);65 unsignedlong BIO_Mem_Unary_Decode (mem_bitio_state * bs,66 unsignedlong *bits);63 void BIO_Mem_Unary_Encode (mg_u_long val, mem_bitio_state * bs, 64 mg_u_long *bits); 65 mg_u_long BIO_Mem_Unary_Decode (mem_bitio_state * bs, 66 mg_u_long *bits); 67 67 68 68 69 69 70 void BIO_Mem_Binary_Encode ( unsigned long val, unsignedlong b,71 mem_bitio_state * bs, unsignedlong *bits);72 unsigned long BIO_Mem_Binary_Decode (unsignedlong b, mem_bitio_state * bs,73 unsignedlong *bits);70 void BIO_Mem_Binary_Encode (mg_u_long val, mg_u_long b, 71 mem_bitio_state * bs, mg_u_long *bits); 72 mg_u_long BIO_Mem_Binary_Decode (mg_u_long b, mem_bitio_state * bs, 73 mg_u_long *bits); 74 74 75 75 76 76 77 void BIO_Mem_Gamma_Encode ( unsignedlong val, mem_bitio_state * bs,78 unsignedlong *bits);79 unsigned long BIO_Mem_Gamma_Decode (mem_bitio_state * bs, unsignedlong *bits);77 void BIO_Mem_Gamma_Encode (mg_u_long val, mem_bitio_state * bs, 78 mg_u_long *bits); 79 mg_u_long BIO_Mem_Gamma_Decode (mem_bitio_state * bs, mg_u_long *bits); 80 80 81 81 82 82 83 void BIO_Mem_Delta_Encode ( unsignedlong val, mem_bitio_state * bs,84 unsignedlong *bits);85 unsigned long BIO_Mem_Delta_Decode (mem_bitio_state * bs, unsignedlong *bits);83 void BIO_Mem_Delta_Encode (mg_u_long val, mem_bitio_state * bs, 84 mg_u_long *bits); 85 mg_u_long BIO_Mem_Delta_Decode (mem_bitio_state * bs, mg_u_long *bits); 86 86 87 87 88 void BIO_Mem_Elias_Encode ( unsigned long val, unsignedlong b, double s,89 mem_bitio_state * bs, unsignedlong *bits);90 unsigned long BIO_Mem_Elias_Decode (unsignedlong b, double s,91 mem_bitio_state * bs, unsignedlong *bits);88 void BIO_Mem_Elias_Encode (mg_u_long val, mg_u_long b, double s, 89 mem_bitio_state * bs, mg_u_long *bits); 90 mg_u_long BIO_Mem_Elias_Decode (mg_u_long b, double s, 91 mem_bitio_state * bs, mg_u_long *bits); 92 92 93 93 94 void BIO_Mem_Bblock_Encode ( unsigned long val, unsignedlong b,95 mem_bitio_state * bs, unsignedlong *bits);96 unsigned long BIO_Mem_Bblock_Decode (unsignedlong b, mem_bitio_state * bs,97 unsignedlong *bits);94 void BIO_Mem_Bblock_Encode (mg_u_long val, mg_u_long b, 95 mem_bitio_state * bs, mg_u_long *bits); 96 mg_u_long BIO_Mem_Bblock_Decode (mg_u_long b, mem_bitio_state * bs, 97 mg_u_long *bits); 98 98 99 99 100 void BIO_Mem_Decode_Seek ( unsignedlong pos, mem_bitio_state * bs);100 void BIO_Mem_Decode_Seek (mg_u_long pos, mem_bitio_state * bs); 101 101 102 102
Note:
See TracChangeset
for help on using the changeset viewer.