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

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

?? sac.c

?? tmn3.2編解碼源程序 Linux C環(huán)境編寫 文件齊全 壓縮包完整 試用正常 歡迎試用
?? C
字號(hào):
/************************************************************************ * *  sac.c, part of tmndecode (H.263 decoder) *  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 * *  Copyright (C) 1997  University of BC, Canada *  Modified by: Michael Gallant <mikeg@ee.ubc.ca> *               Guy Cote <guyc@ee.ubc.ca> *               Berna Erol <bernae@ee.ubc.ca> * *  Contacts: *  Michael Gallant                   <mikeg@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 * ************************************************************************//* 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 Decoder Module *        Algorithm as Specified in H26P Annex -E *              (c) 1995 BT Labs * *	Author:	Wayne Ellis <ellis_w_wayne@bt-web.bt.co.uk> * *********************************************************************/#include <stdio.h>#include <string.h>#include "config.h"#include "tmndec.h"#include "global.h"#define   q1    16384#define   q2    32768#define   q3    49152#define   top   65535/* local prototypes */void bit_out_psc_layer ();/********************************************************************* *        SAC Decoder Algorithm as Specified in H26P Annex -E * *        Name:        decode_a_symbol * *	Description:	Decodes an Aritmetically Encoded Symbol * *	Input:        array holding cumulative freq. data *        also uses static data for decoding endpoints *        and code_value variable * *	Returns:	Index to relevant symbol model * *	Side Effects:	Modifies low, high, length, cum and code_value * *	Author:        Wayne Ellis <ellis_w_wayne@bt-web.bt.co.uk> * *********************************************************************/static long low, high, code_value, bit, length, sacindex, cum, zerorun = 0;int decode_a_symbol (int cumul_freq[]){  length = high - low + 1;  cum = (-1 + (code_value - low + 1) * cumul_freq[0]) / length;  for (sacindex = 1; cumul_freq[sacindex] > cum; sacindex++);  high = low - 1 + (length * cumul_freq[sacindex - 1]) / cumul_freq[0];  low += (length * cumul_freq[sacindex]) / cumul_freq[0];  for (;;)  {    if (high < q2);    else if (low >= q2)    {      code_value -= q2;      low -= q2;      high -= q2;    } else if (low >= q1 && high < q3)    {      code_value -= q1;      low -= q1;      high -= q1;    } else    {      break;    }    low *= 2;    high = 2 * high + 1;    bit_out_psc_layer ();    code_value = 2 * code_value + bit;  }  return (sacindex - 1);}/********************************************************************* * *        Name:        decoder_reset * *	Description:	Fills Decoder FIFO after a fixed word length *        string has been detected. * *	Input:        None * *	Returns:	Nothing * *	Side Effects:	Fills Arithmetic Decoder FIFO * *	Author:        Wayne Ellis <ellis_w_wayne@bt-web.bt.co.uk> * *********************************************************************/void decoder_reset (){  int i;  zerorun = 0;                  /* clear consecutive zero's counter */  code_value = 0;  low = 0;  high = top;  for (i = 1; i <= 16; i++)  {    bit_out_psc_layer ();    code_value = 2 * code_value + bit;  }  if (trace)    fprintf (trace_file, "\nArithmetic Decoder Reset \n");}/********************************************************************* * *        Name:        bit_out_psc_layer * *	Description:	Gets a bit from the Encoded Stream, Checks for *        and removes any PSC emulation prevention bits *        inserted at the decoder, provides 'zeros' to the *        Arithmetic Decoder FIFO to allow it to finish *        data prior to the next PSC. (Garbage bits) * *	Input:        None * *	Returns:	Nothing * *	Side Effects:	Gets a bit from the Input Data Stream * *	Author:        Wayne Ellis <ellis_w_wayne@bt-web.bt.co.uk> * *********************************************************************/void bit_out_psc_layer (){  if (showbits (17) != 1)  {                             /* check for startcode in Arithmetic                                 * Decoder FIFO */    bit = getbits (1);    if (zerorun > 13)    {                           /* if number of consecutive zeros = 14 */      if (!bit)      {        if (trace)          fprintf (trace_file, "PSC/GBSC, Header Data, or Encoded Stream Error \n");        zerorun = 1;      } else      {                         /* if there is a 'stuffing bit present */        if (trace)          fprintf (trace_file, "Removing Startcode Emulation Prevention bit \n");        bit = getbits (1);      /* overwrite the last bit */        zerorun = !bit;         /* zerorun=1 if bit is a '0' */      }    } else    {                           /* if consecutive zero's not exceeded 14 */      if (!bit)        zerorun++;      else        zerorun = 0;    }  }   /* end of if !(showbits(17)) */   else  {    bit = 0;    if (trace)      fprintf (trace_file, "Startcode Found:Finishing Arithmetic Decoding using 'Garbage bits'\n");  }  /* printf("lastbit = %ld bit = %ld zerorun = %ld \n", lastbit, bit,   * zerorun); lastbit = bit; */  /* latent diagnostics */}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日本成人在线视频网站| 欧美在线制服丝袜| 免费精品视频在线| 亚洲午夜精品久久久久久久久| 国产女同互慰高潮91漫画| 91色在线porny| 亚洲电影第三页| 一区二区三区在线影院| 亚洲少妇30p| 亚洲电影一区二区三区| 国产精品国产三级国产aⅴ原创| 国产精品―色哟哟| 亚洲黄一区二区三区| 日本在线不卡一区| 国产一区二区三区免费| 高清不卡一区二区在线| 亚洲成人动漫av| 亚洲成人免费视频| 国产精品99久久不卡二区| 丝袜美腿亚洲一区| a4yy欧美一区二区三区| 99久久精品国产导航| 色丁香久综合在线久综合在线观看| 色综合网色综合| 亚洲精品一区二区在线观看| 日本一区二区三区免费乱视频| 国产精品成人一区二区三区夜夜夜| 一区二区三区在线视频免费| 免费在线观看日韩欧美| 成人动漫在线一区| 欧美成人艳星乳罩| 中文字幕在线不卡视频| 日产欧产美韩系列久久99| eeuss鲁一区二区三区| 精品成人一区二区三区| 亚洲国产成人高清精品| 91小视频在线| 精品国产乱码久久久久久蜜臀 | 国产尤物一区二区在线| 在线视频你懂得一区二区三区| 国产无人区一区二区三区| 国产精品不卡一区二区三区| 国产精品 日产精品 欧美精品| 91传媒视频在线播放| 亚洲免费观看高清完整| 92国产精品观看| 中文字幕一区免费在线观看| 国产一区二区三区黄视频 | 国产成人精品一区二区三区四区| jlzzjlzz亚洲日本少妇| 久久一区二区三区国产精品| 性做久久久久久免费观看欧美| 91影院在线免费观看| 亚洲麻豆国产自偷在线| 国产一区二区精品久久91| 久久久久久麻豆| 处破女av一区二区| 亚洲欧洲日韩综合一区二区| 欧美综合视频在线观看| 亚洲美女一区二区三区| 波多野结衣中文字幕一区| 中文字幕 久热精品 视频在线| 不卡影院免费观看| 亚洲精品免费在线观看| 成人av在线网| 国产精品九色蝌蚪自拍| 制服丝袜亚洲精品中文字幕| 久久成人免费网| 亚洲一线二线三线久久久| 日韩精品资源二区在线| av高清不卡在线| 欧美高清dvd| 国产日产精品1区| 色婷婷av久久久久久久| 毛片基地黄久久久久久天堂| 中文字幕在线不卡一区| 欧美电影免费观看高清完整版在线观看 | 成人黄色小视频| 国产精品三级在线观看| 日韩一区二区三区视频在线观看| 99久久伊人网影院| 国产一区二区三区在线观看免费 | 国产精品538一区二区在线| 一区二区三区蜜桃网| 国产女人aaa级久久久级| 91麻豆精品国产91久久久久久久久 | 国产一区二区三区蝌蚪| 日韩成人av影视| 亚洲成人动漫在线免费观看| 亚洲欧美一区二区不卡| 久久综合狠狠综合久久激情 | 亚洲欧美电影院| 一区二区三区免费看视频| 亚洲一区二区三区小说| 天天色天天爱天天射综合| 乱一区二区av| 色婷婷综合久久久中文一区二区| 一本色道久久综合精品竹菊| 在线播放欧美女士性生活| 欧美一级片免费看| 自拍视频在线观看一区二区| 日日骚欧美日韩| fc2成人免费人成在线观看播放| 欧美日韩国产一区二区三区地区| 亚洲精品在线网站| 视频一区二区三区在线| 成人精品免费网站| 精品久久久久香蕉网| 亚洲午夜精品网| 91精品国模一区二区三区| 欧美中文一区二区三区| 中文一区在线播放| 精品在线一区二区| 欧美精选午夜久久久乱码6080| 国产精品久久久久久久久快鸭| 日韩国产欧美在线播放| 欧美色图片你懂的| 亚洲精品乱码久久久久久黑人 | 中文字幕乱码久久午夜不卡| 蜜臀av性久久久久蜜臀aⅴ流畅 | 亚洲国产va精品久久久不卡综合| 国产成人av资源| 中文字幕国产一区| 懂色av噜噜一区二区三区av| 2020日本不卡一区二区视频| 麻豆一区二区在线| 日韩三区在线观看| 狠狠色综合日日| 国产精品免费aⅴ片在线观看| 大美女一区二区三区| 国产精品电影一区二区| 91理论电影在线观看| 一区二区三区视频在线看| 欧美日韩国产小视频| 美女一区二区在线观看| 久久精品在线免费观看| 99久久精品国产一区二区三区| 亚洲欧洲av一区二区三区久久| 91久久一区二区| 日本vs亚洲vs韩国一区三区二区| 日韩免费电影一区| 在线观看网站黄不卡| 精品国产乱码久久久久久1区2区| 韩国av一区二区三区四区| 国产色产综合色产在线视频| 91网站最新网址| 奇米色一区二区| 成人免费在线视频观看| 日韩午夜在线播放| 色女孩综合影院| 国模无码大尺度一区二区三区| 亚洲天堂免费看| 国产午夜精品一区二区三区视频| 91福利国产精品| 国产精品88av| 麻豆91精品91久久久的内涵| 亚洲色图欧美在线| 久久久91精品国产一区二区精品| 欧美日韩精品三区| 91亚洲国产成人精品一区二区三 | 精品国产乱码久久久久久免费 | 欧美aaaaaa午夜精品| 亚洲精品视频在线观看免费| 久久久99久久| 国产欧美日本一区二区三区| 欧美一级片在线看| 日韩美一区二区三区| 欧美一区二区三区日韩| 欧美一区二区三区在线看| 日本高清不卡视频| 欧美日韩亚洲国产综合| 在线观看成人免费视频| 欧美自拍丝袜亚洲| 91免费精品国自产拍在线不卡| 99久久久久久| 日本高清成人免费播放| 色欧美片视频在线观看| 99国产精品国产精品毛片| 高清成人免费视频| 99在线热播精品免费| 97久久超碰国产精品电影| 91在线精品秘密一区二区| 欧美午夜精品电影| 91麻豆精品国产91久久久久久| 精品国一区二区三区| 国产精品蜜臀av| 麻豆国产精品一区二区三区| 亚洲一区二区在线观看视频| 亚洲国产日韩a在线播放| 日韩成人午夜精品| proumb性欧美在线观看| 欧美日韩一区 二区 三区 久久精品 | 亚洲精品在线电影| 国产精品卡一卡二卡三| 一区二区三区中文免费| 国产乱码字幕精品高清av| 欧美在线观看一区| 久久伊人蜜桃av一区二区| 亚洲人精品午夜| 国产自产视频一区二区三区|