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

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

?? pcmdemo.c

?? Reference Implementation of G.711 standard and other voice codecs
?? C
?? 第 1 頁 / 共 2 頁
字號:
/*                                                            30.OCT.94 v1.1  ============================================================================        PCMDEMO.C        ~~~~~~~~~        Description:        ~~~~~~~~~~~~        Example program for testing the correct implementation of the        standard PCM filtering and up/down-sampling module.        The test procedure of 3 filtering in series run on the user-        specified speech file. After each filtering, the input for the        next stage is taken as the output of the previous filter. For        each stage, it may be chosen 4 options: no filtering ("short        cut"), G712 filtering with no rate change (factor 1:1), or with        decimation (factor 2:1), or with interpolation (factor 1:2).        Usage:        ~~~~~~          $ PCMDEMO ! ---> HELP text is printed to screen         or          $ PCMDEMO [-options] ifile [ ofile typ1 typ2 typ3 [lseg]]            ! (---> filtering is carried out)         where:        ifile: .. INPUT  FILE with short data (binary files)        ofile: .. OUTPUT FILE with short data (binary files)        typn: ... type of filtering for filtering stage n, n = 1..3:                  1_1: input is at 16 kHz, output at 16 kHz                  1_2: input is at  8 kHz, output at 16 kHz                  2_1: input is at 16 kHz, output at  8 kHz                  0  : short cut (no filtering at all!).        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 PCMDEMO                 $ link PCMDEMO                 $ PCMDEMO :== $pcmdemo_Disk:[pcmdemo_Dir]PCMDEMO                 $ PCMDEMO 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 pcmdemo                 > pcmdemo 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 pcmdemo.c                 > Run386 pcmdemo 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 pcmdemo pcmdemo.c                 # pcmdemo        Original author:        ~~~~~~~~~~~~~~~~                Rudolf Hofmann                Advanced Development Digital Signal Processing                PHILIPS KOMMUNIKATIONS INDUSTRIE AG                Kommunikationssysteme                Thurn-und-Taxis-Strasse 14                D-8500 Nuernberg 10 (Germany)                Phone : +49 911 526-2603                FAX   : +49 911 526-3385                EMail : hf@pkinbg.uucp        History:        ~~~~~~~~        16.Oct.91 v0.0 Release of beta version to UGST. <hf@pkinbg.uucp>        26.Feb.92 v1.0 (ILS-files removed). <hf@pkinbg.uucp>        18.May.92 v1.1 Use of sh2fl_16bit w/ file normalization.                       <tdsimao@cpqd.ansp.br>	30.Oct.94 v2.0 Change to encompass splitting of module into subunits  ============================================================================*//* * ......... INCLUDES ......... */#include <stdio.h>		  /* UNIX Standard I/O Definitions */#include <stdlib.h>   /* For allocation routine */#include "ugstdemo.h"		  /* private defines for user interface */#include "ugst-utl.h"		  /* conversion from float -> short */#include "iirflt.h"		  /* Standard PCM 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(("PCMDEMO.C - Version 2.0 of 30/Oct/1994 \n\n"));  P((" Run 3 filter in cascade with the G.712 (standard PCM) mask.\n"));  P(("For each filter one can select between: \n"));  P(("  - input signal with sf=16 kHz, output signal with 16 kHz\n"));  P(("  - input signal with sf= 8 kHz, output signal with 16 kHz\n"));  P(("  - input signal with sf=16 kHz, output signal with  8 kHz\n"));  P(("  - short cut \n\n"));  P(("Usage:\n"));  P(("~~~~~~\n"));  P((" $ PCMDEMO ! ---> HELP text is printed to screen\n"));  P(("  or\n"));  P((" $ PCMDEMO [-options] ifile [ ofile typ1 typ2 typ3 [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((" typn: ... type of filtering for filtering stage n, n = 1..3:\n"));  P(("           1_1: input is at 16 kHz, output at 16 kHz\n"));  P(("           1_2: input is at  8 kHz, output at 16 kHz\n"));  P(("           2_1: input is at 16 kHz, output at  8 kHz\n"));  P(("           0  : short cut (no filtering at all!).\n"));  P((" lseg: ... number of samples per processing block "));  P(("(default is LSEG0=%d)\n", LSEG0));  P(("\n"));  P(("Options:\n"));  P(("~~~~~~~~\n"));  P((" -skip no ... skips saving to file the first `no' processed samples\n"));  P((" -lseg l .... set `l' as the number 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  SCD_IIR for each filter ......... */  SCD_IIR        *typ1_ptr;  SCD_IIR        *typ2_ptr;  SCD_IIR        *typ3_ptr;  /* ......... signal arrays ......... */  short           sh_buff[8 * LSEGMAX];	/* 16-bit buffer */  float           fl_buff[LSEGMAX];	/* float buffer */#ifdef STATIC_ALLOCATION  float           buff1[2 * LSEGMAX];	/* output of 1. filter */  float           buff2[4 * LSEGMAX];	/* output of 2. filter */  float           buff3[8 * LSEGMAX];	/* output of 3. filter */#else  float           *buff1;	/* output of 1. filter */  float           *buff2;	/* output of 2. filter */  float           *buff3;	/* output of 3. filter */#endif  /* ......... File related variables ......... */  char            inpfil[127], outfil[127];  FILE           *inpfilptr, *outfilptr;#if defined(VMS)  static char     mrs[15] = "mrs=512";#endif  /* ......... other auxiliary variables ......... */  clock_t         t1, t2;	  /* aux. for CPU-time measurement */  char            typ1[8], typ2[8], typ3[8];  long            lseg=LSEG0, lsegx, lseg1, lseg2, lseg3;  long            noverflows1 = 0, noverflows2 = 0, noverflows3 = 0;  long            nsam = 0;  long            k;  long skip=0;  /* ......... PRINT INFOS ......... */  printf("%s%s", "*** V1.1 DEMO-Program: Standard G.712 Up/Down Sampling ",                 "Filter  30-Oct-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);

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产在线日韩欧美| 亚洲精选免费视频| 日本麻豆一区二区三区视频| 欧美日韩一区小说| 偷偷要91色婷婷| 日韩久久久久久| 国产成人av电影在线播放| 国产欧美久久久精品影院| 91污在线观看| 日韩精品乱码av一区二区| 欧美不卡在线视频| 成人午夜电影小说| 亚洲午夜电影在线| 精品国产区一区| 成人综合日日夜夜| 亚洲电影一区二区| 精品国产乱码久久久久久牛牛| 成人污污视频在线观看| 玉米视频成人免费看| 国产日韩欧美a| 不卡的av电影在线观看| 亚洲成av人**亚洲成av**| 日韩欧美精品三级| 91视视频在线观看入口直接观看www| 亚洲一区在线视频观看| 久久亚洲精品小早川怜子| 91老师片黄在线观看| 久久国产剧场电影| 依依成人综合视频| 久久综合中文字幕| 在线亚洲欧美专区二区| 国产美女一区二区| 亚洲国产精品欧美一二99| 久久久久久久久免费| 欧美日韩综合色| 成人午夜电影小说| 久久精品99久久久| 亚洲123区在线观看| 国产精品久久久久一区二区三区| 欧美日韩成人在线| eeuss鲁片一区二区三区在线观看 eeuss鲁片一区二区三区在线看 | 久久久午夜精品| 欧美少妇bbb| 99精品桃花视频在线观看| 全部av―极品视觉盛宴亚洲| 亚洲欧美日韩精品久久久久| 久久午夜免费电影| 欧美精品v日韩精品v韩国精品v| 99久久国产综合精品麻豆| 国产一区二区导航在线播放| 丝袜亚洲另类欧美| 亚洲在线观看免费视频| 中文字幕在线观看不卡| 国产三级三级三级精品8ⅰ区| 欧美日韩国产天堂| 色94色欧美sute亚洲线路一ni| 成人一区二区三区视频在线观看| 精品一区二区三区在线视频| 视频在线在亚洲| 午夜激情久久久| 亚洲一区二区偷拍精品| 最新热久久免费视频| 国产三级三级三级精品8ⅰ区| 精品国产伦理网| 精品国产一区二区三区忘忧草| 日韩片之四级片| 日韩欧美一二三区| 日韩欧美一级精品久久| 日韩一级欧美一级| 日韩欧美亚洲一区二区| 一区二区三区.www| 亚洲另类在线视频| 亚洲女爱视频在线| 亚洲美女在线一区| 亚洲综合色视频| 天天影视色香欲综合网老头| 亚洲在线中文字幕| 五月婷婷激情综合| 日本vs亚洲vs韩国一区三区二区| 首页国产欧美久久| 六月丁香婷婷久久| 国产一区二区精品久久99| 国产精品一卡二卡| 成人自拍视频在线| 97久久超碰精品国产| 色婷婷综合久久久中文一区二区 | 一本一本大道香蕉久在线精品| 91欧美激情一区二区三区成人| 91麻豆国产香蕉久久精品| 91视频91自| 欧美日韩国产天堂| 精品久久久久香蕉网| 国产欧美日韩在线视频| 国产精品久久久久一区| 亚洲一二三专区| 九九精品视频在线看| 国产69精品久久久久毛片| 99国产精品久久| 欧美日韩国产一区二区三区地区| 欧美一区二区视频在线观看2022| 久久综合久久99| 亚洲人成网站色在线观看| 亚洲成人av一区| 国产一区二区三区四区在线观看| 成人性色生活片免费看爆迷你毛片| 91蜜桃视频在线| 日韩一二在线观看| 中文字幕中文字幕一区二区| 一区二区成人在线视频| 91高清在线观看| 欧美电影免费观看高清完整版在 | 精品久久五月天| 成人欧美一区二区三区小说| 亚洲午夜在线电影| 国产乱码精品一区二区三区忘忧草| 99久久综合精品| 欧美刺激午夜性久久久久久久| 国产精品久久久久久久久快鸭| 午夜电影网一区| caoporen国产精品视频| 欧美一区二区女人| 最新国产精品久久精品| 欧美96一区二区免费视频| 99久久国产免费看| 日韩精品中文字幕在线一区| 一区二区在线免费观看| 国产美女在线观看一区| 67194成人在线观看| 亚洲三级在线看| 国产一区视频网站| 欧美一区在线视频| 一区二区三区日本| 不卡电影免费在线播放一区| 日韩欧美一区二区免费| 亚洲一区二区视频在线观看| 成人免费视频caoporn| 欧美电影精品一区二区| 午夜电影久久久| 91香蕉视频黄| 国产精品久久久久四虎| 激情综合色综合久久| 欧美一区二区二区| 亚洲成人一区二区| 色婷婷综合视频在线观看| 国产精品天干天干在观线| 韩日精品视频一区| 精品毛片乱码1区2区3区| 婷婷开心激情综合| 在线观看亚洲精品视频| 亚洲精品少妇30p| 成人精品国产免费网站| 国产精品私人影院| 风间由美一区二区三区在线观看 | 国产精品午夜在线| 国产一区二区三区四区五区美女 | 欧美视频中文字幕| 一区二区三区中文免费| 91视频免费观看| 亚洲人精品午夜| 一本到不卡精品视频在线观看| 亚洲欧洲性图库| 97精品久久久午夜一区二区三区 | 国产一区二区精品久久99| 精品美女在线播放| 国产在线观看一区二区| 久久免费国产精品| 国产成人免费视频精品含羞草妖精| 久久久三级国产网站| 精品制服美女丁香| 久久综合久久久久88| 国产成人亚洲精品青草天美| 欧美激情一区二区| 91视频你懂的| 丝袜美腿亚洲一区二区图片| 91精品国产综合久久精品图片| 久久国产精品99久久人人澡| 日韩精品专区在线影院观看 | 最新中文字幕一区二区三区 | 精品精品国产高清a毛片牛牛| 美女网站在线免费欧美精品| 日韩免费电影一区| 国产一区二区毛片| 亚洲人成在线播放网站岛国| 色8久久人人97超碰香蕉987| 亚洲bt欧美bt精品777| 精品人在线二区三区| 成人免费精品视频| 亚洲国产成人va在线观看天堂| 91精品免费在线观看| 国产精品一区二区久激情瑜伽| 中文字幕一区二区三区视频| 在线亚洲高清视频| 久久不见久久见免费视频7| 久久久久9999亚洲精品| 91麻豆123| 久久99国产精品成人| 国产精品久久久久婷婷| 91精品免费在线观看| 成人三级在线视频| 天堂影院一区二区|