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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? sac.c

?? H.263的壓縮算法
?? C
字號:
/************************************************************************ * *  sac.c, part of tmn (TMN encoder) * *  Copyright (C) 1997  University of BC, Canada * *  Contacts:  *  Michael Gallant                   <mikeg@ee.ubc.ca> *  Guy Cote                          <guyc@ee.ubc.ca> *  Berna Erol                        <bernae@ee.ubc.ca> * *  UBC Image Processing Laboratory   http://www.ee.ubc.ca/image *  2356 Main Mall                    tel.: +1 604 822 4051 *  Vancouver BC Canada V6T1Z4        fax.: +1 604 822 5949 * *  Copyright (C) 1995, 1996  Telenor R&D, Norway * *  Contacts: *  Robert Danielsen                  <Robert.Danielsen@nta.no> * *  Telenor Research and Development  http://www.nta.no/brukere/DVC/ *  P.O.Box 83                        tel.:   +47 63 84 84 00 *  N-2007 Kjeller, Norway            fax.:   +47 63 81 00 76 * ************************************************************************//* Disclaimer of Warranty *  * These software programs are available to the user without any license fee * or royalty on an "as is" basis. The University of British Columbia * disclaims any and all warranties, whether express, implied, or * statuary, including any implied warranties or merchantability or of * fitness for a particular purpose.  In no event shall the * copyright-holder be liable for any incidental, punitive, or * consequential damages of any kind whatsoever arising from the use of * these programs. *  * This disclaimer of warranty extends to the user of these programs and * user's customers, employees, agents, transferees, successors, and * assigns. *  * The University of British Columbia does not represent or warrant that the * programs furnished hereunder are free of infringement of any * third-party patents. *  * Commercial implementations of H.263, including shareware, are subject to * royalty fees to patent holders.  Many of these patents are general * enough such that they are unavoidable regardless of implementation * design. *  *//********************************************************************* * * SAC Encoder Module * Algorithm as specified in H263 (Annex E) *         (c) BT Labs 1995 * * Author: Pat Mulroy <pmulroy@visual.bt.co.uk> * *********************************************************************/#include <stdio.h>#include "sim.h"#define   q1    16384#define   q2    32768#define   q3    49152#define   top   65535static long low = 0, high = top, opposite_bits = 0, length = 0, zerorun = 0;/********************************************************************* * *      Name:           AR_Encode * *      Description:    Encodes a symbol using syntax based arithmetic *        coding. Algorithm specified in H.263 (Annex E). * *      Input:          Array holding cumulative frequency data. *        Index into specific cumulative frequency array. *                      Static data for encoding endpoints. * *      Returns:        Number of bits used while encoding symbol. * *      Side Effects:   Modifies low, high, length and opposite_bits *        variables. * *      Author:         pmulroy@visual.bt.co.uk * *********************************************************************/int AR_Encode (int index, int cumul_freq[]){  int bitcount = 0;  if (index < 0)    return -1;                  /* Escape Code */  length = high - low + 1;  high = low - 1 + (length * cumul_freq[index]) / cumul_freq[0];  low += (length * cumul_freq[index + 1]) / cumul_freq[0];  for (;;)  {    if (high < q2)    {      bitcount += bit_opp_bits (0);    } else if (low >= q2)    {      bitcount += bit_opp_bits (1);      low -= q2;      high -= q2;    } else if (low >= q1 && high < q3)    {      opposite_bits += 1;      low -= q1;      high -= q1;    } else      break;    low *= 2;    high = 2 * high + 1;  }  return bitcount;}int bit_opp_bits (int bit)      /* Output a bit and the following opposite                                 * bits */{  int bitcount = 0;  bitcount = bit_in_psc_layer (bit);  while (opposite_bits > 0)  {    bitcount += bit_in_psc_layer (!bit);    opposite_bits--;  }  return bitcount;}/********************************************************************* * *      Name:           encoder_flush * *      Description:    Completes arithmetic coding stream before any *        fixed length codes are transmitted. * *      Input:          None * *      Returns:        Number of bits used. * *      Side Effects:   Resets low, high, zerorun and opposite_bits *        variables. * *      Author:         pmulroy@visual.bt.co.uk * *********************************************************************/int encoder_flush (){  int bitcount = 0;  if (trace)    fprintf (tf, "encoder_flush:\n");  opposite_bits++;  if (low < q1)  {    bitcount += bit_opp_bits (0);  } else  {    bitcount += bit_opp_bits (1);  }  low = 0;  high = top;  zerorun = 0;  return bitcount;}/********************************************************************* * *      Name:           bit_in_psc_layer * *      Description:    Inserts a bit into output bitstream and avoids *        picture start code emulation by stuffing a one *        bit. * *      Input:          Bit to be output. * *      Returns:        Nothing * *      Side Effects:   Updates zerorun variable. * *      Author:         pmulroy@visual.bt.co.uk * *********************************************************************/int bit_in_psc_layer (int bit){  void putbits (int, int);  int bitcount = 0;  if (zerorun > 13)  {    if (trace)      fprintf (tf, "PSC emulation ... Bit stuffed.\n");    putbits (1, 1);    bitcount++;    zerorun = 0;  }  putbits (1, bit);  bitcount++;  if (bit)    zerorun = 0;  else    zerorun++;  return bitcount;}/********************************************************************* * *      Name:           indexfn * *      Description:    Translates between symbol value and symbol *        index. * *      Input:          Symbol value, index table, max number of *        values. * *      Returns:        Index into cumulative frequency tables or *        escape code. * *      Side Effects:   none * *      Author:         pmulroy@visual.bt.co.uk * *********************************************************************/int indexfn (int value, int table[], int max){  int n = 0;  while (1)  {    if (table[n++] == value)      return n - 1;    if (n > max)      return -1;  }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
中文字幕av一区二区三区高| 成人av影院在线| 在线电影欧美成精品| 一区二区三区免费在线观看| 色婷婷av一区二区三区大白胸 | 国产精品一区二区果冻传媒| 精品电影一区二区| 国产·精品毛片| 国产亚洲精品aa| 91在线免费播放| 亚洲午夜精品17c| 欧美一区二区二区| 韩国一区二区三区| 国产精品嫩草影院com| 91视频观看视频| 亚洲成av人**亚洲成av**| 日韩精品一区二区三区四区| 国产精品白丝jk黑袜喷水| 亚洲天堂久久久久久久| 在线播放中文一区| 国产精品自拍网站| 91麻豆文化传媒在线观看| 午夜国产精品影院在线观看| 欧美日韩一区二区三区视频| 日韩高清一区在线| 久久精品人人爽人人爽| 91视视频在线直接观看在线看网页在线看| 亚洲一区二区综合| 久久亚洲一区二区三区明星换脸 | 日本中文一区二区三区| 久久婷婷国产综合国色天香| 一本一道波多野结衣一区二区| 日韩精品福利网| 欧美国产成人精品| 3d成人动漫网站| 成人aa视频在线观看| 丝袜美腿成人在线| 国内不卡的二区三区中文字幕| 国产精品人妖ts系列视频| 欧美羞羞免费网站| 精品一区二区三区日韩| 亚洲日本电影在线| 久久久亚洲精品一区二区三区| 在线观看日韩一区| 成人久久视频在线观看| 日本欧美一区二区| 一区二区三区成人| 欧美激情一区三区| 精品日韩在线一区| 欧美美女黄视频| 99re这里只有精品6| 精品在线亚洲视频| 婷婷成人激情在线网| 亚洲欧美在线观看| 久久久99久久| 精品sm捆绑视频| 欧美一区二区久久| 欧美午夜一区二区| 91丨九色丨蝌蚪丨老版| 国产成人啪免费观看软件| 美脚の诱脚舐め脚责91| 丝袜国产日韩另类美女| 亚洲综合男人的天堂| 亚洲视频在线一区二区| 在线成人av影院| 成人手机电影网| 激情六月婷婷综合| 蜜臀av性久久久久蜜臀av麻豆| 亚洲成av人在线观看| 亚洲精品欧美二区三区中文字幕| 欧美激情一区二区三区全黄| 欧美不卡在线视频| 欧美成人精品高清在线播放| 69堂成人精品免费视频| 欧美日韩国产免费一区二区| 在线免费视频一区二区| 91啪亚洲精品| 91丨九色丨国产丨porny| 9色porny自拍视频一区二区| 成人av先锋影音| 99久久婷婷国产精品综合| 菠萝蜜视频在线观看一区| 9l国产精品久久久久麻豆| av成人动漫在线观看| 色综合久久综合网欧美综合网| 色美美综合视频| 欧美午夜精品一区二区三区| 欧美日韩激情一区二区| 欧美一区在线视频| 久久综合中文字幕| 欧美激情中文不卡| 国产精品伦理在线| 一区av在线播放| 日韩和欧美一区二区| 久久se这里有精品| 国产成人精品亚洲午夜麻豆| 99re在线视频这里只有精品| 色综合婷婷久久| 这里只有精品99re| 久久久亚洲欧洲日产国码αv| 欧美激情一区二区在线| 亚洲欧洲综合另类在线| 天堂蜜桃91精品| 国产在线精品一区二区不卡了| 高清成人免费视频| 欧美日韩一区三区| 精品动漫一区二区三区在线观看 | 欧美一区二区网站| 国产亚洲欧美激情| 亚洲精品你懂的| 麻豆国产精品一区二区三区| 成人综合婷婷国产精品久久免费| 99精品国产91久久久久久| 欧美日韩午夜影院| 国产日韩精品视频一区| 亚洲综合激情小说| 国产综合成人久久大片91| 99国产精品久久久久久久久久| 欧美日韩国产天堂| 国产三级精品三级| 午夜欧美电影在线观看| 欧美一级国产精品| 国产精品网曝门| 偷偷要91色婷婷| 成人午夜av电影| 亚洲女子a中天字幕| 欧美一级欧美一级在线播放| 日韩免费性生活视频播放| 中文字幕免费不卡| 免费成人av在线播放| 99re热这里只有精品免费视频| 欧美一区二区视频网站| 中文字幕一区日韩精品欧美| 日韩福利视频网| 在线一区二区观看| 国产欧美一区二区精品性色 | 久久日一线二线三线suv| 亚洲私人影院在线观看| 精品一区二区久久久| 欧美亚洲动漫制服丝袜| 欧美精彩视频一区二区三区| 日韩不卡在线观看日韩不卡视频| bt欧美亚洲午夜电影天堂| 欧美va亚洲va在线观看蝴蝶网| 伊人婷婷欧美激情| www.av亚洲| 久久久青草青青国产亚洲免观| 天天免费综合色| 在线观看精品一区| 亚洲欧美日韩中文字幕一区二区三区 | 欧美日韩国产在线播放网站| 亚洲国产精品激情在线观看| 日本女人一区二区三区| 欧美日韩国产色站一区二区三区| 亚洲免费在线视频一区 二区| 国产精品中文欧美| 精品少妇一区二区三区视频免付费 | 91精品视频网| 亚洲午夜一二三区视频| 色婷婷精品大视频在线蜜桃视频| 国产精品成人一区二区艾草 | 欧美一二三区在线| 午夜电影一区二区三区| 欧美三级欧美一级| 亚洲国产精品欧美一二99| 91丨国产丨九色丨pron| 久久www免费人成看片高清| 91精品国产色综合久久ai换脸| 午夜精品在线视频一区| 欧美日韩视频在线第一区 | 三级久久三级久久久| 欧美天堂一区二区三区| 亚洲免费伊人电影| 91美女福利视频| 夜夜嗨av一区二区三区中文字幕 | 成人午夜激情在线| 亚洲图片你懂的| 色天使久久综合网天天| 一个色综合av| 91精品国产欧美日韩| 久久成人久久鬼色| 国产欧美日韩精品在线| 成人性色生活片| 亚洲伦理在线免费看| 欧美日韩免费在线视频| 免费在线观看日韩欧美| 久久理论电影网| 成人免费视频一区二区| 一区二区三区中文免费| 7777精品伊人久久久大香线蕉的| 日本不卡在线视频| 国产色一区二区| 色婷婷av一区二区三区大白胸| 亚洲国产精品欧美一二99| 欧美一级二级在线观看| 国产精品的网站| 图片区小说区国产精品视频| 欧美一区二区视频在线观看 | 久久精品一二三| 色综合久久久久综合体|