Defines | Functions
compress.c File Reference
#include "bzlib_private.h"
Include dependency graph for compress.c:

Go to the source code of this file.

Defines

#define bsNEEDW(nz)
#define BZ_GREATER_ICOST   15
#define BZ_ITAH(nn)
#define BZ_ITER(nn)
#define BZ_ITUR(nn)   s->rfreq[bt][ mtfv[gs+(nn)] ]++
#define BZ_LESSER_ICOST   0

Functions

static void bsFinishWrite (EState *s)
static void bsPutUChar (EState *s, UChar c)
static void bsPutUInt32 (EState *s, UInt32 u)
static __inline__ void bsW (EState *s, Int32 n, UInt32 v)
void BZ2_bsInitWrite (EState *s)
void BZ2_compressBlock (EState *s, Bool is_last_block)
static void generateMTFValues (EState *s)
static void makeMaps_e (EState *s)
static void sendMTFValues (EState *s)

Define Documentation

#define bsNEEDW (   nz)
Value:
{                                             \
   while (s->bsLive >= 8) {                   \
      s->zbits[s->numZ]                       \
         = (UChar)(s->bsBuff >> 24);          \
      s->numZ++;                              \
      s->bsBuff <<= 8;                        \
      s->bsLive -= 8;                         \
   }                                          \
}

Definition at line 58 of file compress.c.

#define BZ_GREATER_ICOST   15

Definition at line 236 of file compress.c.

#define BZ_ITAH (   nn)
Value:
mtfv_i = mtfv[gs+(nn)];              \
               bsW ( s,                             \
                     s_len_sel_selCtr[mtfv_i],      \
                     s_code_sel_selCtr[mtfv_i] )
#define BZ_ITER (   nn)
Value:
icv = mtfv[gs+(nn)];           \
               cost01 += s->len_pack[icv][0]; \
               cost23 += s->len_pack[icv][1]; \
               cost45 += s->len_pack[icv][2]; \
#define BZ_ITUR (   nn)    s->rfreq[bt][ mtfv[gs+(nn)] ]++
#define BZ_LESSER_ICOST   0

Definition at line 235 of file compress.c.


Function Documentation

static void bsFinishWrite ( EState s) [static]

Definition at line 46 of file compress.c.

static void bsPutUChar ( EState s,
UChar  c 
) [static]

Definition at line 94 of file compress.c.

static void bsPutUInt32 ( EState s,
UInt32  u 
) [static]

Definition at line 83 of file compress.c.

static __inline__ void bsW ( EState s,
Int32  n,
UInt32  v 
) [static]

Definition at line 73 of file compress.c.

void BZ2_bsInitWrite ( EState s)

Definition at line 37 of file compress.c.

void BZ2_compressBlock ( EState s,
Bool  is_last_block 
)

Definition at line 602 of file compress.c.

static void generateMTFValues ( EState s) [static]

Definition at line 120 of file compress.c.

static void makeMaps_e ( EState s) [static]

Definition at line 106 of file compress.c.

static void sendMTFValues ( EState s) [static]

Definition at line 239 of file compress.c.



win_bzip2
Author(s): Daniel Stonier
autogenerated on Wed Sep 16 2015 07:14:10