亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? inftrees.c

?? Evc編的一個(gè)在wince5.0上運(yùn)行的flash播放器
?? C
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
/* inftrees.c -- generate Huffman trees for efficient decoding
 * Copyright (C) 1995-1998 Mark Adler
 * For conditions of distribution and use, see copyright notice in zlib.h 
 */

#include "zutil.h"
#include "inftrees.h"

#if !defined(BUILDFIXED) && !defined(STDC)
#  define BUILDFIXED   /* non ANSI compilers may not accept inffixed.h */
#endif

const char inflate_copyright[] =
   " inflate 1.1.3 Copyright 1995-1998 Mark Adler ";
/*
  If you use the zlib library in a product, an acknowledgment is welcome
  in the documentation of your product. If for some reason you cannot
  include such an acknowledgment, I would appreciate that you keep this
  copyright string in the executable of your product.
 */
struct internal_state  {int dummy;}; /* for buggy compilers */

/* simplify the use of the inflate_huft type with some defines */
#define exop word.what.Exop
#define bits word.what.Bits


local int huft_build OF((
    uIntf *,            /* code lengths in bits */
    uInt,               /* number of codes */
    uInt,               /* number of "simple" codes */
    const uIntf *,      /* list of base values for non-simple codes */
    const uIntf *,      /* list of extra bits for non-simple codes */
    inflate_huft * FAR*,/* result: starting table */
    uIntf *,            /* maximum lookup bits (returns actual) */
    inflate_huft *,     /* space for trees */
    uInt *,             /* hufts used in space */
    uIntf * ));         /* space for values */

/* Tables for deflate from PKZIP's appnote.txt. */
local const uInt cplens[31] = { /* Copy lengths for literal codes 257..285 */
        3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31,
        35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0};
        /* see note #13 above about 258 */
local const uInt cplext[31] = { /* Extra bits for literal codes 257..285 */
        0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2,
        3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0, 112, 112}; /* 112==invalid */
local const uInt cpdist[30] = { /* Copy offsets for distance codes 0..29 */
        1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193,
        257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145,
        8193, 12289, 16385, 24577};
local const uInt cpdext[30] = { /* Extra bits for distance codes */
        0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6,
        7, 7, 8, 8, 9, 9, 10, 10, 11, 11,
        12, 12, 13, 13};

/*
   Huffman code decoding is performed using a multi-level table lookup.
   The fastest way to decode is to simply build a lookup table whose
   size is determined by the longest code.  However, the time it takes
   to build this table can also be a factor if the data being decoded
   is not very long.  The most common codes are necessarily the
   shortest codes, so those codes dominate the decoding time, and hence
   the speed.  The idea is you can have a shorter table that decodes the
   shorter, more probable codes, and then point to subsidiary tables for
   the longer codes.  The time it costs to decode the longer codes is
   then traded against the time it takes to make longer tables.

   This results of this trade are in the variables lbits and dbits
   below.  lbits is the number of bits the first level table for literal/
   length codes can decode in one step, and dbits is the same thing for
   the distance codes.  Subsequent tables are also less than or equal to
   those sizes.  These values may be adjusted either when all of the
   codes are shorter than that, in which case the longest code length in
   bits is used, or when the shortest code is *longer* than the requested
   table size, in which case the length of the shortest code in bits is
   used.

   There are two different values for the two tables, since they code a
   different number of possibilities each.  The literal/length table
   codes 286 possible values, or in a flat code, a little over eight
   bits.  The distance table codes 30 possible values, or a little less
   than five bits, flat.  The optimum values for speed end up being
   about one bit more than those, so lbits is 8+1 and dbits is 5+1.
   The optimum values may differ though from machine to machine, and
   possibly even between compilers.  Your mileage may vary.
 */


/* If BMAX needs to be larger than 16, then h and x[] should be uLong. */
#define BMAX 15         /* maximum bit length of any code */

local int huft_build(b, n, s, d, e, t, m, hp, hn, v)
uIntf *b;               /* code lengths in bits (all assumed <= BMAX) */
uInt n;                 /* number of codes (assumed <= 288) */
uInt s;                 /* number of simple-valued codes (0..s-1) */
const uIntf *d;         /* list of base values for non-simple codes */
const uIntf *e;         /* list of extra bits for non-simple codes */
inflate_huft * FAR *t;  /* result: starting table */
uIntf *m;               /* maximum lookup bits, returns actual */
inflate_huft *hp;       /* space for trees */
uInt *hn;               /* hufts used in space */
uIntf *v;               /* working area: values in order of bit length */
/* Given a list of code lengths and a maximum table size, make a set of
   tables to decode that set of codes.  Return Z_OK on success, Z_BUF_ERROR
   if the given code set is incomplete (the tables are still built in this
   case), Z_DATA_ERROR if the input is invalid (an over-subscribed set of
   lengths), or Z_MEM_ERROR if not enough memory. */
{

  uInt a;                       /* counter for codes of length k */
  uInt c[BMAX+1];               /* bit length count table */
  uInt f;                       /* i repeats in table every f entries */
  int g;                        /* maximum code length */
  int h;                        /* table level */
  register uInt i;              /* counter, current code */
  register uInt j;              /* counter */
  register int k;               /* number of bits in current code */
  int l;                        /* bits per table (returned in m) */
  uInt mask;                    /* (1 << w) - 1, to avoid cc -O bug on HP */
  register uIntf *p;            /* pointer into c[], b[], or v[] */
  inflate_huft *q;              /* points to current table */
  struct inflate_huft_s r;      /* table entry for structure assignment */
  inflate_huft *u[BMAX];        /* table stack */
  register int w;               /* bits before this table == (l * h) */
  uInt x[BMAX+1];               /* bit offsets, then code stack */
  uIntf *xp;                    /* pointer into x */
  int y;                        /* number of dummy codes added */
  uInt z;                       /* number of entries in current table */


  /* Generate counts for each bit length */
  p = c;
#define C0 *p++ = 0;
#define C2 C0 C0 C0 C0
#define C4 C2 C2 C2 C2
  C4                            /* clear c[]--assume BMAX+1 is 16 */
  p = b;  i = n;
  do {
    c[*p++]++;                  /* assume all entries <= BMAX */
  } while (--i);
  if (c[0] == n)                /* null input--all zero length codes */
  {
    *t = (inflate_huft *)Z_NULL;
    *m = 0;
    return Z_OK;
  }


  /* Find minimum and maximum length, bound *m by those */
  l = *m;
  for (j = 1; j <= BMAX; j++)
    if (c[j])
      break;
  k = j;                        /* minimum code length */
  if ((uInt)l < j)
    l = j;
  for (i = BMAX; i; i--)
    if (c[i])
      break;
  g = i;                        /* maximum code length */
  if ((uInt)l > i)
    l = i;
  *m = l;


  /* Adjust last length count to fill out codes, if needed */
  for (y = 1 << j; j < i; j++, y <<= 1)
    if ((y -= c[j]) < 0)
      return Z_DATA_ERROR;
  if ((y -= c[i]) < 0)
    return Z_DATA_ERROR;
  c[i] += y;


  /* Generate starting offsets into the value table for each length */
  x[1] = j = 0;
  p = c + 1;  xp = x + 2;
  while (--i) {                 /* note that i == g from above */
    *xp++ = (j += *p++);
  }


  /* Make a table of values in order of bit lengths */
  p = b;  i = 0;
  do {
    if ((j = *p++) != 0)
      v[x[j]++] = i;
  } while (++i < n);
  n = x[g];                     /* set n to length of v */


  /* Generate the Huffman codes and for each, make the table entries */
  x[0] = i = 0;                 /* first Huffman code is zero */
  p = v;                        /* grab values in bit order */
  h = -1;                       /* no tables yet--level -1 */
  w = -l;                       /* bits decoded == (l * h) */
  u[0] = (inflate_huft *)Z_NULL;        /* just to keep compilers happy */
  q = (inflate_huft *)Z_NULL;   /* ditto */
  z = 0;                        /* ditto */

  /* go through the bit lengths (k already is bits in shortest code) */
  for (; k <= g; k++)
  {
    a = c[k];
    while (a--)
    {
      /* here i is the Huffman code of length k bits for value *p */
      /* make tables up to required level */
      while (k > w + l)
      {
        h++;
        w += l;                 /* previous table always l bits */

        /* compute minimum size table less than or equal to l bits */
        z = g - w;
        z = z > (uInt)l ? l : z;        /* table size upper limit */
        if ((f = 1 << (j = k - w)) > a + 1)     /* try a k-w bit table */
        {                       /* too few codes for k-w bit table */
          f -= a + 1;           /* deduct codes from patterns left */
          xp = c + k;
          if (j < z)
            while (++j < z)     /* try smaller tables up to z bits */
            {
              if ((f <<= 1) <= *++xp)
                break;          /* enough codes to use up j bits */
              f -= *xp;         /* else deduct codes from patterns */
            }

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
99re热视频精品| 亚洲国产精品久久久久秋霞影院| 天堂蜜桃一区二区三区| 91久久香蕉国产日韩欧美9色| 久久久亚洲高清| 国内精品久久久久影院薰衣草| 日韩一区二区三区在线观看| 午夜一区二区三区在线观看| av日韩在线网站| 中文字幕一区二区三区蜜月| av在线不卡免费看| 亚洲欧美激情小说另类| 色综合天天综合在线视频| 一区二区中文视频| 色av成人天堂桃色av| 国产亚洲精品福利| 国产99久久久国产精品潘金网站| 久久久久久99精品| 99视频精品全部免费在线| 国产欧美一区二区三区鸳鸯浴| 国产精品夜夜嗨| 国产精品视频免费| 欧美在线免费观看视频| 中文字幕精品—区二区四季| 福利一区二区在线| 成人欧美一区二区三区白人| 91福利小视频| 欧美aⅴ一区二区三区视频| 精品国产青草久久久久福利| 国产精品18久久久久久久久久久久| 久久一夜天堂av一区二区三区| 国产成人av电影| 亚洲免费大片在线观看| 欧美美女bb生活片| 久久99最新地址| 国产精品久久久久一区| 欧美怡红院视频| 亚洲高清中文字幕| 国产色产综合色产在线视频| 91女人视频在线观看| 性做久久久久久久免费看| 精品1区2区在线观看| 成人国产在线观看| 亚洲图片一区二区| 久久午夜羞羞影院免费观看| 91视频国产观看| 免费观看91视频大全| 中文字幕在线不卡一区二区三区| 欧美日韩高清一区二区三区| 美女免费视频一区二区| 1024国产精品| 欧美xxxx在线观看| 91美女在线观看| 国产一区二区三区久久久| 亚洲你懂的在线视频| 制服丝袜中文字幕一区| jvid福利写真一区二区三区| 日本欧美韩国一区三区| 亚洲欧洲综合另类在线| 26uuu久久天堂性欧美| 欧洲中文字幕精品| 国产毛片精品国产一区二区三区| 亚洲综合一二区| 国产欧美一区视频| 日韩欧美色综合| 欧美性色欧美a在线播放| 国产a视频精品免费观看| 性做久久久久久免费观看欧美| 国产精品妹子av| 国产欧美在线观看一区| 精品国产百合女同互慰| 4438成人网| 欧美日韩精品综合在线| bt7086福利一区国产| 国产精品一二三四| 久99久精品视频免费观看| 亚洲成人av电影在线| 一区二区三区在线影院| 亚洲丝袜另类动漫二区| 国产午夜精品福利| 欧美精品一区二区三区蜜桃视频| 91精品国产综合久久精品麻豆| 波多野结衣亚洲| 夫妻av一区二区| 国产精品一区二区久久不卡| 麻豆一区二区99久久久久| 天天操天天色综合| 亚洲电影在线免费观看| 一区二区三区视频在线看| 亚洲欧美偷拍三级| 亚洲欧美日韩电影| 一区二区三区中文免费| 亚洲激情网站免费观看| 亚洲免费大片在线观看| 亚洲日本青草视频在线怡红院| 国产日韩精品一区二区浪潮av | 91在线免费播放| 国产一区二区三区不卡在线观看 | 亚洲人成亚洲人成在线观看图片| 国产精品天天摸av网| 久久精品一二三| 国产片一区二区| 中文字幕欧美激情| 1024成人网| 午夜欧美在线一二页| 天天色天天爱天天射综合| 亚洲成av人片一区二区三区 | 欧美日韩精品一区二区| 777午夜精品免费视频| 国产亚洲女人久久久久毛片| 亚洲精品日日夜夜| 久久成人综合网| 91久久精品一区二区三| 欧美精品一区二区在线观看| 亚洲精品国产精华液| 久久国产欧美日韩精品| 91蝌蚪porny| 欧美一级夜夜爽| 亚洲欧美日韩久久| 美国av一区二区| 在线精品视频免费观看| 久久久www免费人成精品| 亚洲福利一区二区三区| 国产99久久精品| 91精品在线麻豆| 国产精品麻豆视频| 麻豆一区二区在线| 欧美性猛交xxxx乱大交退制版| 久久综合久久鬼色中文字| 亚洲一区二区三区在线看| 国产精品中文字幕欧美| 欧美嫩在线观看| 亚洲黄色在线视频| 国产激情91久久精品导航 | 日韩欧美高清在线| 亚洲图片激情小说| 国产美女久久久久| 在线不卡免费欧美| 亚洲一区自拍偷拍| 成人国产一区二区三区精品| 精品成人一区二区三区四区| 一区二区日韩电影| 成人黄色在线视频| 久久久99精品免费观看不卡| 日韩和欧美一区二区三区| 91丨porny丨国产入口| 国产日韩精品一区二区三区| 麻豆国产欧美一区二区三区| 欧美久久久久久久久| 亚洲与欧洲av电影| 91九色02白丝porn| 亚洲伦理在线精品| 成人黄色国产精品网站大全在线免费观看 | 久久亚洲影视婷婷| 欧美aaaaaa午夜精品| 911精品产国品一二三产区| 一区二区三区在线影院| 色综合久久六月婷婷中文字幕| 国产精品天天看| 成人久久18免费网站麻豆| 国产农村妇女精品| 国产成人久久精品77777最新版本 国产成人鲁色资源国产91色综 | 9191国产精品| 日韩精品一区第一页| 91精选在线观看| 美女高潮久久久| 日韩欧美一级二级三级 | 国产精品69毛片高清亚洲| 日韩欧美国产wwwww| 老司机精品视频线观看86| 日韩一区二区三区三四区视频在线观看| 亚洲第一福利视频在线| 欧美日韩在线精品一区二区三区激情 | 夜夜嗨av一区二区三区网页 | 中文乱码免费一区二区| 成人免费看的视频| 亚洲视频一区在线| 欧洲亚洲国产日韩| 天天操天天色综合| 精品欧美乱码久久久久久1区2区 | 国产精品久久久久7777按摩| 99国产精品久久久久| 尤物视频一区二区| 欧美日韩亚洲另类| 麻豆精品视频在线观看免费| 精品国产91洋老外米糕| 国产99久久久国产精品潘金网站| 国产精品毛片高清在线完整版| 91免费看`日韩一区二区| 亚洲一本大道在线| 日韩欧美中文字幕一区| 国内久久精品视频| 国产精品美女久久福利网站| 91色婷婷久久久久合中文| 亚洲成av人片在www色猫咪| 欧美va亚洲va在线观看蝴蝶网| 国产麻豆精品在线观看| 综合久久一区二区三区| 欧美日韩中文字幕精品| 久久av资源站|