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

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

?? cirsdemo.c

?? Reference Implementation of G.711 standard and other voice codecs
?? C
字號(hào):
/*                                                            22.SEP.1994 v1.0  ============================================================================  IRSDEMO.C  ~~~~~~~~~  Description:  ~~~~~~~~~~~~  Example program for testing the correct implementation of the  IIR IRS filtering without rate conversion using the IIR-IRS module.  Input signal must be at 8kHz; output signal will be at 8kHz.  Usage:  ~~~~~~  $ IRSDEMO ! ---> HELP text is printed to screen  or  $ IRSDEMO [-options] ifile ofile [lseg]  where:  ifile: .. INPUT  FILE with short data (binary files)  ofile: .. OUTPUT FILE with short data (binary files)  lseg: ... number of samples per processing block            (default is LSEG0=256)  Options:  ~~~~~~~~  -skip no ... skips saving to file the first `no' processed samples   -lseg l .... defines as `l' the number of samples per processing block  Compilation:  ~~~~~~~~~~~  The test program is implemented for segment-wise filtering. To  test the  dependency of the segment length, the user must enter  a value for the  segment length (from 1 ... LSEGMAX).  VAX/VMS:  $ CC IRSDEMO  $ link IRSDEMO  $ IRSDEMO :== $irsdemo_Disk:[irsdemo_Dir]IRSDEMO  $ IRSDEMO ifile ofile 0 1_2 2_1 133  The data from file "ifile" are processed in the  following way, being equivalent to the asynchronous filtering  needed to simulating the return from digital to analogue  domains, and the way back:  1) segments with 133 samples are read from file "ifile"  2) the first filtering just keep the input data as is;  3) the second stage will take the data of the previous stage     as sampled at 8 kHz, filter by the std.PCM and     upsample to 16 kHz;  4) the output of the second stage is taken as 16 kHz data,     which is filtered by the std.PCM filter and down-sampled     back to 8 kHz.  5) the output of the third stage is rounded and saved to     file `ofile'.  Turbo-C, Turbo-C++:  > tcc irsdemo  > irsdemo ifile ofile 1_1 1_1 2_1 1024  The data from file "ifile" are processed in the following way:  1) segments with 1024 samples are read from file "ifile"  2) PCM filtering for 1st stage keeping the rate at 16 kHz;  3) the same for the second;  4) the output of the second step is then filtered and     down-sampled (decimated) to 8 kHz.  5) the output of the third filter is then saved to file using rounding.  HighC (MetaWare, version R2.32):  > hc386 -stack 16384 irsdemo.c  > Run386 irsdemo ifile ofile 2_1 1_2 0 133  In our test some C-implementations have shown errors, which  could be eliminated by increasing the stack size (at compile time).  SunC (BSD Unix)  # cc -o irsdemo irsdemo.c  # irsdemo  Original author:  ~~~~~~~~~~~~~~~~  Simao Ferraz de Campos Neto  Comsat Laboratories                  Tel:    +1-301-428-4516  22300 Comsat Drive                   Fax:    +1-301-428-9287  Clarksburg MD 20871 - USA            E-mail: simao@ctd.comsat.com  History:  ~~~~~~~~  22.Sep.94 v1.0 Created  ============================================================================*//* * ......... INCLUDES ......... */#include <stdio.h>		  /* UNIX Standard I/O Definitions */#include <stdlib.h>		  /* atoi(), atol() */#include "ugstdemo.h"		  /* private defines for user interface */#include "ugst-utl.h"		  /* conversion from float -> short */#include "iirflt.h"		  /* IRS IIR filtering functions *//* * ......... Definitions for this test program ......... */#define LSEG0    256	/* default segment length for segment-wise filtering */#define LSEGMAX 2048	/* max. number of samples to be proc. *//*  ============================================================================        void display_usage (void);        ~~~~~~~~~~~~~~~~~~        Description:        ~~~~~~~~~~~~        Display usage of this demo program and exit;        Return value:        ~~~~~~~~~~~~~        Returns the number of longs read.        Author: <hf@pkinbg.uucp>        ~~~~~~~        History:        ~~~~~~~~        26.Feb.92 v1.0 Release of 1st version <hf@pkinbg.uucp>        30.Oct.94 v2.0 Revamped <simao@ctd.comsat.com> ============================================================================*/#define P(x) printf xvoid display_usage(){  P(("IRSDEMO.C - Version 1.0 of 30/Oct/1994 \n\n"));   P((" Example program for testing the correct implementation of theIIR\n"));  P((" IRS filtering without rate conversion using the IIR-IRS module.\n"));  P((" Input signal must be at 8kHz; output signal will be at 8kHz\n"));  P(("\n"));  P(("  Usage:\n"));  P(("  ~~~~~~\n"));  P(("  $ IRSDEMO ! ---> HELP text is printed to screen\n"));  P(("  or\n"));  P(("  $ IRSDEMO [-options] ifile ofile [lseg]\n"));  P(("  where:\n"));  P(("  ifile: .. INPUT  FILE with short data (binary files)\n"));  P(("  ofile: .. OUTPUT FILE with short data (binary files)\n"));  P(("  lseg: ... number of samples per processing block\n"));  P(("            (default is LSEG0=%d)\n",LSEG0));  P(("\n"));  P(("  Options:\n"));  P(("  ~~~~~~~~\n"));  P(("  -skip no ... skip saving to file first `no' processed samples \n"));  P(("  -lseg l .... set `l' as the no.of samples per processing block\n"));  /* Quit program */  exit(-128);}#undef P/* ...................... End of display_usage() ........................... *//* ......................... Begin of main() .............................. *//* ************************************************************************** ************************************************************************** ***                                                                    *** ***        Test-Program for testing the correct implementation         *** ***               and to show how to use the programs                  *** ***                                                                    *** ************************************************************************** ***************************************************************************/int main(argc, argv)  int             argc;  char           *argv[];{/* * ......... Define symbols of type  CASCADE_IIR for each filter ......... */  CASCADE_IIR        *typ1_ptr;  /* ......... signal arrays ......... */  short           sh_buff[8 * LSEGMAX];	/* 16-bit buffer */  float           fl_buff[LSEGMAX];	/* float buffer */  float           buff1[2 * LSEGMAX];	/* output of 1. filter */  /* ......... File related variables ......... */  char            inpfil[127], outfil[127];  FILE           *inpfilptr, *outfilptr;#if defined(VMS)  static char     mrs[15] = "mrs=";#endif  /* ......... other auxiliary variables ......... */  clock_t         t1, t2;	  /* aux. for CPU-time measurement */  long            lseg=LSEG0, lsegx, lseg1;  long            noverflows1 = 0;  long            nsam = 0;  long skip=0;  /* ......... PRINT INFOS ......... */  printf("%s%s", "*** V1.1 DEMO-Program: IRS Up/Down Sampling ",                 "Filter, with IIR - 30-Sep-1994 ***\n");/* * ......... PARAMETERS FOR PROCESSING ......... */  /* GETTING OPTIONS */  if (argc < 2)    display_usage();  else  {    while (argc > 1 && argv[1][0] == '-')      if (strcmp(argv[1], "-skip") == 0)      {	/* No reset */	skip = atoi(argv[2]);	/* Update argc/argv to next valid option/argument */	argv+=2;	argc-=2;      }      else if (strcmp(argv[1], "-len") == 0)      {	lseg = atoi(argv[2]);	/* If max.seg.length is exceeded, display warning */	if (lseg > LSEGMAX)	{	  lseg = LSEGMAX;	  fprintf(stderr, "Warning! lseg limited to max of %ld\n", lseg);	}	/* Update argc/argv to next valid option/argument */	argv+=2;	argc-=2;      }      else if (strcmp(argv[1], "-?") == 0 || strcmp(argv[1], "-help") == 0)      {	/* Print help */	display_usage();      }      else      {	fprintf(stderr, "ERROR! Invalid option \"%s\" in command line\n\n",		argv[1]);	display_usage();      }  }  /* ......... GETTING PARAMETERS ......... */#ifdef VMS  sprintf(&mrs[4], "%d", 2 * 256);/* mrs definition for VMS */#endif  GET_PAR_S(1, "_BIN-File to be processed: ............... ", inpfil);  if ((inpfilptr = fopen(inpfil, RB)) == NULL)    HARAKIRI("\n   Error opening input file", 1);  GET_PAR_S(2, "_BIN-Output File: ........................ ", outfil);  if ((outfilptr = fopen(outfil, WB)) == NULL)    HARAKIRI("\n   Error opening output file", 1);  FIND_PAR_L(3, "_Segment Length for Filtering: ........... ", lseg, lseg);  if (lseg > LSEGMAX)  {    /* If max.seg.length is exceeded, display warning */    lseg = LSEGMAX;    fprintf(stderr, "Warning! lseg limited to max of %ld\n", lseg);  }/*   * ... INITIALIZE SELECTED IIR-STRUCTURE FOR UP-/DOWNSAMPLING ...   */  if ((typ1_ptr = iir_irs_8khz_init()) == 0)    HARAKIRI("Filter 1: initialization failure iir_irs_8khz()", 1);/*   * ......... CARRY OUT FILTERING .........   */  /* measure CPU-time */  t1 = clock();  lsegx = lseg;  while (lsegx == lseg)  {    /* Read input buffer */    lsegx = fread(sh_buff, sizeof(short), lseg, inpfilptr);    /* convert short data to float in normalized range */    sh2fl_16bit(lsegx, sh_buff, fl_buff, 1);    /* IIR filtering */    lseg1 =			  /* Returned: number of output samples */	cascade_iir_kernel(		  /* cascade form IIR filter */		      lsegx,	  /* In   : number of input samples */		      fl_buff,	  /* In   : array with input samples */		      typ1_ptr,	  /* InOut: pointer to IIR struct */		      buff1	  /* Out  : array with output samples */	);    /* Convert to integer for testing overflows -- do not save! */    noverflows1 += fl2sh_16bit(lseg1, buff1, sh_buff, (int) 1);    /* Skip samples if requested */    if (lseg1 > skip)    {      /* Write samples to output file */      nsam += fwrite(&sh_buff[skip], sizeof(short), (lseg1-skip), outfilptr);      skip=0;    }    else      skip -= lseg1;  }/*   * ......... FINALIZATIONS .........   */  /* Print time statistics - Include file I/O! */  t2 = clock();  printf("\nDONE: %f sec CPU-time for %ld generated samples\n",	 (t2 - t1) / (double) CLOCKS_PER_SEC, nsam);  /* Print overflow statistics */  if (noverflows1 == 0)    printf("\t # NO overflows occurred\n");  else  {    printf("\t # Overflow in %ld samples\n", noverflows1);  }  /* Release memory allocated to IIR structures */  if (typ1_ptr != (CASCADE_IIR *) NULL)    cascade_iir_free(typ1_ptr);  /* Close files */  fclose(outfilptr);  fclose(inpfilptr);#ifndef VMS  return 0;#endif}/* ......................... End of main() ......................... */

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
首页亚洲欧美制服丝腿| 亚洲欧美区自拍先锋| 天堂在线亚洲视频| 欧美日韩精品免费| 久久精品99国产国产精| 久久久久久久av麻豆果冻| 成人夜色视频网站在线观看| 亚洲免费资源在线播放| 欧美精品一二三| 国内不卡的二区三区中文字幕| 久久久久久久久久久电影| 91麻豆免费观看| 日日噜噜夜夜狠狠视频欧美人 | 美洲天堂一区二卡三卡四卡视频| 欧美老肥妇做.爰bbww视频| 激情综合色综合久久| 国产精品美日韩| 欧美日韩一区在线| 国产一区 二区 三区一级| 亚洲欧洲99久久| 欧美一区二区播放| 北条麻妃国产九九精品视频| 亚洲成人1区2区| 久久久久久麻豆| 在线观看一区二区精品视频| 久久精品国产成人一区二区三区| 亚洲欧美影音先锋| 欧美一区二区三区四区在线观看| 风间由美性色一区二区三区| 亚洲成人你懂的| 日本一区二区三区在线不卡| 欧美卡1卡2卡| 91在线精品一区二区| 青青草91视频| 亚洲国产美女搞黄色| 久久久久久久一区| 日韩一区二区中文字幕| 一本久久a久久免费精品不卡| 九九**精品视频免费播放| 一区二区三区欧美视频| 久久精品一区四区| 日韩片之四级片| 91福利视频网站| 丰满岳乱妇一区二区三区| 久久99精品国产| 五月婷婷色综合| 一区二区三区在线高清| 国产亚洲成年网址在线观看| 欧美人成免费网站| 欧美亚日韩国产aⅴ精品中极品| 国产精品99久久久久久似苏梦涵 | 国产精品性做久久久久久| 日本伊人色综合网| 亚洲3atv精品一区二区三区| 1区2区3区欧美| 国产精品灌醉下药二区| 国产日韩成人精品| 国产午夜亚洲精品不卡| 欧美zozozo| 日韩欧美成人激情| 欧美男男青年gay1069videost| 91网站最新网址| 99精品视频一区二区| 成人av电影免费观看| 国产成人鲁色资源国产91色综 | 91精品国产免费| 欧美少妇bbb| 日本高清免费不卡视频| 99久久精品国产网站| 成人激情黄色小说| av一二三不卡影片| 99国产精品国产精品久久| 成人黄色片在线观看| 99久久综合色| 色哟哟欧美精品| 99精品视频一区二区三区| 91视视频在线观看入口直接观看www| 成人自拍视频在线观看| 成人h动漫精品| 91女人视频在线观看| 在线观看视频一区二区| 欧美精品久久99| 日韩欧美国产一二三区| 久久久一区二区三区捆绑**| 久久精品一区蜜桃臀影院| 中文一区一区三区高中清不卡| 国产蜜臀av在线一区二区三区| 国产精品久久久久久久久久久免费看| 国产欧美日韩在线视频| 国产精品久久久久一区二区三区| 国产精品久久久久7777按摩| 中文字幕一区免费在线观看| 亚洲欧美日韩一区二区三区在线观看| 亚洲男人都懂的| 天堂va蜜桃一区二区三区漫画版| 日韩av在线发布| 极品尤物av久久免费看| 99久久久免费精品国产一区二区| 日本韩国欧美一区| 日韩欧美国产一区二区在线播放| 久久天天做天天爱综合色| 欧美激情综合在线| 亚洲一区二区影院| 美女爽到高潮91| 成a人片亚洲日本久久| 欧美午夜精品理论片a级按摩| 日韩视频在线一区二区| 国产精品乱码一区二区三区软件| 一区二区三区在线视频播放 | 九色综合狠狠综合久久| 成人免费视频一区| 欧美日韩国产a| 国产校园另类小说区| 亚洲欧美一区二区三区久本道91 | 亚洲另类春色国产| 免费成人av在线| 99热这里都是精品| 在线综合视频播放| 亚洲欧美在线视频| 蜜桃视频免费观看一区| 北条麻妃国产九九精品视频| 欧美一区二区三区视频免费播放 | 欧美亚洲综合久久| 久久久午夜电影| 午夜精品一区二区三区电影天堂| 国产九九视频一区二区三区| 欧美在线免费播放| 国产婷婷精品av在线| 秋霞电影一区二区| 色哟哟国产精品免费观看| 久久蜜桃av一区二区天堂 | 欧美三级日韩在线| 国产精品女同互慰在线看| 日韩不卡一二三区| 在线精品视频免费观看| 亚洲国产成人在线| 精品综合久久久久久8888| 91高清视频免费看| 国产精品久久久久7777按摩| 久久99九九99精品| 91麻豆精品国产自产在线观看一区| 亚洲人成网站在线| 成人综合婷婷国产精品久久免费| 精品久久一区二区三区| 日韩精品电影在线观看| 在线视频你懂得一区| 综合电影一区二区三区 | 极品少妇xxxx偷拍精品少妇| 7777女厕盗摄久久久| 一区二区三区在线视频播放| 成人av在线资源| 国产欧美日韩精品在线| 精品一二三四区| 日韩免费观看高清完整版| 亚洲成人一区在线| 欧美日免费三级在线| 亚洲精品写真福利| 色偷偷88欧美精品久久久| 亚洲日本中文字幕区| av电影在线观看完整版一区二区| 国产婷婷色一区二区三区| 国产另类ts人妖一区二区| 2020日本不卡一区二区视频| 久久国产婷婷国产香蕉| 日韩欧美国产一区在线观看| 老司机午夜精品| 精品国产91亚洲一区二区三区婷婷| 青青草97国产精品免费观看 | 亚洲已满18点击进入久久| 色素色在线综合| 亚洲综合无码一区二区| 在线观看日韩电影| 五月激情六月综合| 欧美高清视频不卡网| 日韩国产欧美三级| 日韩精品资源二区在线| 激情五月婷婷综合| 国产午夜亚洲精品理论片色戒 | 日本午夜一本久久久综合| 欧美精品在线视频| 美女视频网站黄色亚洲| 久久婷婷国产综合国色天香| 国产凹凸在线观看一区二区| 最近中文字幕一区二区三区| 91麻豆免费看片| 亚洲成人资源在线| 欧美电视剧在线观看完整版| 国产精品影音先锋| 中文字幕久久午夜不卡| 色拍拍在线精品视频8848| 亚洲综合av网| 精品国产99国产精品| 成人污污视频在线观看| 国产精品对白交换视频| 欧美性受xxxx黑人xyx性爽| 久久精品国产精品亚洲综合| 国产欧美视频一区二区| 欧美性受xxxx黑人xyx性爽| 久久99精品久久久| 国产精品对白交换视频|