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

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

?? mp_maxima.c

?? LastWave
?? C
?? 第 1 頁(yè) / 共 3 頁(yè)
字號(hào):
/*..........................................................................*//*                                                                          *//*      L a s t W a v e    P a c k a g e 'mp' 2.1                           *//*                                                                          *//*      Copyright (C) 2000 Remi Gribonval, Emmanuel Bacry and Javier Abadia.*//*      email  : remi.gribonval@inria.fr                                    *//*      email  : lastwave@cmap.polytechnique.fr                             *//*                                                                          *//*..........................................................................*//*                                                                          *//*      This program is a free software, you can redistribute it and/or     *//*      modify it under the terms of the GNU General Public License as      *//*      published by the Free Software Foundation; either version 2 of the  *//*      License, or (at your option) any later version                      *//*                                                                          *//*      This program is distributed in the hope that it will be useful,     *//*      but WITHOUT ANY WARRANTY; without even the implied warranty of      *//*      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the       *//*      GNU General Public License for more details.                        *//*                                                                          *//*      You should have received a copy of the GNU General Public License   *//*      along with this program (in a file named COPYRIGHT);                *//*      if not, write to the Free Software Foundation, Inc.,                *//*      59 Temple Place, Suite 330, Boston, MA  02111-1307  USA             *//*                                                                          *//*..........................................................................*/#include "lastwave.h"#include "mp_book.h"/*************************************//* *	MAXIMADICT VARIABLES *//*************************************/char *maximaDictType = "&maximadict";/* * Answers to the different print messages */void ShortPrintMaximaDict(MAXIMADICT maximaDict){  Printf("<&maximadict;%p>\n",maximaDict);}char *ToStrMaximaDict(MAXIMADICT maximaDict, char flagShort){  static char str[30];    sprintf(str,"<&maximadict;%p>",maximaDict);  return(str);}void PrintInfoMaximaDict(MAXIMADICT maximaDict){  PrintMaximaDict(maximaDict,NO);}MAXIMADICT TNewMaximaDict(void){  MAXIMADICT maximaDict;    maximaDict = NewMaximaDict();  TempValue(maximaDict);  return(maximaDict);}/* * Get the current maximaDict * (generate an error if there is none) */MAXIMADICT GetMaximaDictCur(void){  MAXIMADICT maximaDict;    if(!ParseTypedValLevel_(levelCur,"objCur",NULL,(VALUE *)&maximaDict,maximaDictType)) Errorf1("");    if (maximaDict == NULL) Errorf1("");    AddRefValue(maximaDict);  TempValue(maximaDict);    return(maximaDict);}/*******************************************//* *	Basic data management for MAXIMADICT */				    /*******************************************/MAXIMADICT NewMaximaDict(){  MAXIMADICT maximaDict;  #ifdef DEBUGALLOC  DebugType = "MaximaDict";#endif    maximaDict = (MAXIMADICT) Malloc(sizeof(struct maximaDict));  InitValue(maximaDict,&tsMaximaDict);  maximaDict->size = 0;  maximaDict->sizeAlloc = 0;  maximaDict->books = NULL;  maximaDict->subDicts = NULL;  maximaDict->nMaximaTarget = 0;  maximaDict->nMaxima       = 0;  maximaDict->threshold     = 0.0;  maximaDict->maxMolecule       = NULL;  return(maximaDict);}MAXIMADICT DeleteMaximaDict(MAXIMADICT maximaDict){  unsigned short i;  if (maximaDict == NULL)  Errorf("DeleteMaximaDict : NULL maximaDict");  if (maximaDict->nRef==0) Errorf("*** Danger : trying to delete a temporary maximaDict\n");  RemoveRefValue(maximaDict);  if (maximaDict->nRef > 0) return(NULL);    if(maximaDict->books) {    for(i=0; i<= maximaDict->size; i++) {if(maximaDict->books[i]) 	maximaDict->books[i] = DeleteBook(maximaDict->books[i]);    }    Free(maximaDict->books);    maximaDict->books = NULL;  }    // We do not delete the subDicts because we did not add a reference to them  if(maximaDict->subDicts) {    Free(maximaDict->subDicts);    maximaDict->subDicts = NULL;  }    maximaDict->size = 0;  maximaDict->sizeAlloc = 0;  maximaDict->nMaximaTarget = 0;  maximaDict->nMaxima       = 0;  maximaDict->threshold     = 0.0;  if(maximaDict->maxMolecule) maximaDict->maxMolecule = DeleteMolecule(maximaDict->maxMolecule);#ifdef DEBUGALLOC  DebugType = "MaximaDict";#endif    Free(maximaDict);  return(NULL);}void ClearMaximaDict(MAXIMADICT maximaDict){  unsigned short i;  if (maximaDict == NULL)  Errorf("ClearMaximaDict : NULL maximaDict");    if(maximaDict->books) {    for(i=0; i<= maximaDict->size; i++) {if(maximaDict->books[i]) 	maximaDict->books[i] = DeleteBook(maximaDict->books[i]);    }    // Note : we do not delete the array, we keep it for a later use  }    if(maximaDict->subDicts) {    for(i=0; i<= maximaDict->size; i++) {      // We do not delete subDicts because they were not allocated here and were not added a reference.      maximaDict->subDicts[i] = NULL;    }    // Note : we do not delete the array, we keep it for a later use  }    maximaDict->size = 0;  maximaDict->nMaximaTarget = 0;  maximaDict->nMaxima       = 0;  maximaDict->threshold     = 0.0;  if(maximaDict->maxMolecule) maximaDict->maxMolecule = DeleteMolecule(maximaDict->maxMolecule);}// Prints the content of a maximaDictionary, in long or short form// TODO : improve thatvoid PrintMaximaDict(const MAXIMADICT maximaDict,char flagShort){  unsigned short i;  BOOK book;  Printf("size      = %d (sizeAlloc = %d)\n",maximaDict->size,maximaDict->sizeAlloc);  Printf("nMaxima   = %d (target = %d)\n",maximaDict->nMaxima,maximaDict->nMaximaTarget);  Printf("threshold = %g\n",maximaDict->threshold);  Printf("maxmolecule :\n");  if(maximaDict->maxMolecule) PrintMolecule(maximaDict->maxMolecule,YES);  else Printf("NULL\n");  for(i = 0; i < maximaDict->size; i++) {    book = maximaDict->books[i];    Printf("book[%d] size=%d\n",i,book->size);  }}// Function that generates an error if the maximaDictionary does not contain any sub-dictionaryvoid CheckMaximaDictNotEmpty(const MAXIMADICT maximaDict){  if(maximaDict == NULL)    Errorf("CheckMaximaDictNotEmpty : NULL maximaDict");  if(maximaDict->size == 0) Errorf("CheckMaximaDictNotEmpty : empty maximaDict");}// If 'sizeAlloc' is smaller than maximaDict->size, an error is generated.// Else the allocation size of the arrays of books/sub-dictionaries are adjusted :// -the newly allocated part of the array is initialized to NULL books/sub-dictionaries;// -the previously allocated part is kept (maximaDict->size is not changed)void SizeMaximaDict(MAXIMADICT maximaDict,unsigned short sizeAlloc){  unsigned short i;  if(sizeAlloc<maximaDict->size) Errorf("SizeMaximaDict : cannot (re)allocate less than the number of books/sub-dictionaries");  if(sizeAlloc==maximaDict->size) return;  // Case of an first allocation  if(maximaDict->sizeAlloc == 0) {    maximaDict->books     =(BOOK *)    Calloc(sizeAlloc,sizeof(BOOK));    maximaDict->subDicts  =(SUBDICT *) Calloc(sizeAlloc,sizeof(SUBDICT));    maximaDict->sizeAlloc = sizeAlloc;  }  // Case of a resize  else {    maximaDict->books    =(BOOK *)    Realloc(maximaDict->books,sizeAlloc*sizeof(BOOK));    maximaDict->subDicts =(SUBDICT *) Realloc(maximaDict->subDicts,sizeAlloc*sizeof(SUBDICT));    // Initialize the newly allocated data, if necessary    for(i = maximaDict->sizeAlloc; i < sizeAlloc; i++) {      maximaDict->books[i]   =NULL;      maximaDict->subDicts[i]=NULL;    }    maximaDict->sizeAlloc = sizeAlloc;  }}// Add a sub-dictionary and creates the corresponding book for storing its local maxima.// If the sub-dictionary is not a 'main' one an error is generated.// The sub-dictionary becomes an 'auxiliary' one.// WARNING : should only be used with subDicts that already belong to a dictionary!void AddSubDict2MaximaDict(MAXIMADICT maximaDict,SUBDICT subDict) {  if(subDict->dict==NULL)   Errorf("AddSubDict2MaximaDict : (Weired) the sub-dictionary does not belong to any dictionary!");  if(subDict->flagMain==NO) Errorf("AddSubDict2MaximaDict : (Weired) the sub-dictionary is not a 'main' one");  if(maximaDict->threshold!= 0.0 || maximaDict->nMaxima!=0 || maximaDict->maxMolecule!=NULL)    Errorf("AddSubDict2MaximaDict : (Weired) maximaDict content has already been initialized %g %d %p",	   maximaDict->threshold,maximaDict->nMaxima,maximaDict->maxMolecule);  // In case we need to allocate more room  if(maximaDict->size==maximaDict->sizeAlloc) {    if(maximaDict->sizeAlloc==0) SizeMaximaDict(maximaDict,MP_DEFAULT_DICT_SIZE);    else                         SizeMaximaDict(maximaDict,2*maximaDict->sizeAlloc);  }  maximaDict->books[maximaDict->size] = NewBook();  maximaDict->subDicts[maximaDict->size]=subDict; // We do not add a reference because subDicts don't have ValueFields!  subDict->flagMain = NO;  maximaDict->size++;}/**************************************//*  * MANAGEMENT OF A LIST OF COEFF2S  *//**************************************/#define MAXCOEFFS_SIZEMIN 1<<13typedef struct maxCoeffs {  unsigned long size;  unsigned long sizeAlloc;  LWFLOAT *coeff2s;  LWFLOAT coeff2Min;  LWFLOAT coeff2Max;} *MAXCOEFFS;static MAXCOEFFS NewMaxCoeffs(void){  MAXCOEFFS maxCoeffs = NULL;  #ifdef DEBUGALLOC  DebugType = "MaxCoeffs";#endif    maxCoeffs = (MAXCOEFFS) Malloc(sizeof(struct maxCoeffs));  maxCoeffs->size = maxCoeffs->sizeAlloc = 0;  maxCoeffs->coeff2s = NULL;  maxCoeffs->coeff2Min = 0.0;  maxCoeffs->coeff2Max = 0.0;  return(maxCoeffs);}static MAXCOEFFS DeleteMaxCoeffs(MAXCOEFFS maxCoeffs){  if(maxCoeffs == NULL) Errorf("DeleteMaxCoeffs : NULL input");  if(maxCoeffs->coeff2s) {    Free(maxCoeffs->coeff2s);    maxCoeffs->coeff2s = NULL;    maxCoeffs->size = maxCoeffs->sizeAlloc = 0;  }  #ifdef DEBUGALLOC  DebugType = "MaxCoeffs";#endif

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
麻豆精品在线观看| 精品写真视频在线观看| 8x8x8国产精品| 韩国视频一区二区| 中文字幕视频一区| 制服丝袜中文字幕亚洲| 国产精品自拍毛片| 夜夜嗨av一区二区三区中文字幕| 欧美军同video69gay| 亚洲综合在线观看视频| 制服丝袜亚洲播放| 成人在线视频一区二区| 亚洲第一会所有码转帖| 久久品道一品道久久精品| 色综合久久综合网欧美综合网| 樱花影视一区二区| 久久精品在线免费观看| 欧美日韩精品系列| 成人性生交大合| 蜜桃av一区二区| 一区二区三区不卡在线观看 | 亚洲男人天堂av| 欧美日韩精品一区二区天天拍小说 | 欧美va亚洲va国产综合| 色哟哟国产精品| 蜜臀av性久久久久av蜜臀妖精| 国产精品久久久久aaaa樱花 | 久久网站热最新地址| jizzjizzjizz欧美| 久久99热99| 免费精品99久久国产综合精品| 亚洲18色成人| 日韩福利电影在线| 午夜精品久久一牛影视| 天堂资源在线中文精品| 亚洲成人在线网站| 亚洲成在线观看| 五月激情综合婷婷| 日韩国产成人精品| 美女诱惑一区二区| 久久99久久99精品免视看婷婷| 美女尤物国产一区| 国产乱子伦视频一区二区三区 | 91日韩一区二区三区| 91久久人澡人人添人人爽欧美| 色悠悠久久综合| 欧美三级在线看| 91精品久久久久久久久99蜜臂| 欧美精品1区2区3区| 91麻豆精品国产| 日韩欧美高清在线| 久久久国际精品| 亚洲欧洲精品一区二区精品久久久 | 91精品欧美综合在线观看最新| 欧美一区二区三区免费观看视频 | 久久精品久久99精品久久| 久久精品国产精品亚洲红杏| 国产毛片精品视频| 成人小视频在线| 在线中文字幕一区二区| 欧美二区三区的天堂| 欧美xxxx老人做受| 国产精品伦一区二区三级视频| 亚洲欧美一区二区不卡| 亚州成人在线电影| 国产精品456| 91亚洲精品一区二区乱码| 欧美日韩高清一区二区不卡| 日韩亚洲欧美高清| 欧美激情一区二区三区| 一区二区三区在线免费视频| 日韩高清不卡一区二区三区| 国产精品综合二区| 91黄色激情网站| 精品国产露脸精彩对白| 国产精品久久久久一区二区三区共 | 粉嫩av一区二区三区在线播放| 91麻豆文化传媒在线观看| 56国语精品自产拍在线观看| 久久久九九九九| 亚洲一二三区在线观看| 国产原创一区二区| 在线亚洲一区观看| 26uuu另类欧美亚洲曰本| 亚洲视频一区二区免费在线观看| 爽爽淫人综合网网站| 国产成人小视频| 欧美挠脚心视频网站| 亚洲国产精品激情在线观看| 日韩精品国产精品| 成人国产电影网| 欧美草草影院在线视频| 亚洲精品精品亚洲| 国产电影精品久久禁18| 欧美在线观看视频在线| 九九九精品视频| 在线免费精品视频| 久久久久久毛片| 日韩中文字幕麻豆| 一本色道久久综合亚洲91| 精品久久久久久久久久久院品网| 亚洲丝袜精品丝袜在线| 国产精品一区二区在线看| 欧美丝袜第三区| 中文字幕亚洲精品在线观看| 精品一区二区免费看| 欧美日韩中文字幕精品| 国产精品白丝在线| 国产一区二区三区观看| 宅男噜噜噜66一区二区66| 一区二区视频在线看| 国产成人免费xxxxxxxx| 精品福利视频一区二区三区| 天天综合网 天天综合色| 99re在线精品| 国产色一区二区| 久久福利视频一区二区| 欧美另类久久久品| 亚洲国产综合91精品麻豆 | 欧美日韩专区在线| 综合电影一区二区三区| 国产精品一区在线| 久久日韩粉嫩一区二区三区| 免费在线看一区| 日韩视频永久免费| 日本午夜一本久久久综合| 欧美日韩二区三区| 亚洲综合无码一区二区| 日本精品视频一区二区| 亚洲丝袜自拍清纯另类| 99久久综合狠狠综合久久| 国产欧美精品一区二区色综合| 韩国av一区二区三区在线观看| 精品免费视频一区二区| 精油按摩中文字幕久久| 欧美v亚洲v综合ⅴ国产v| 久久国产精品色婷婷| 精品欧美一区二区在线观看| 蜜臀av一区二区在线免费观看 | 日韩欧美一区二区久久婷婷| 天堂蜜桃一区二区三区| 欧美久久久影院| 日本中文字幕一区| 日韩欧美在线综合网| 久久精品久久综合| 国产日韩精品一区| av资源站一区| 亚洲综合图片区| 欧美人牲a欧美精品| 日本欧美久久久久免费播放网| 日韩欧美三级在线| 国产精品亚洲一区二区三区在线 | 亚洲女同ⅹxx女同tv| 91久久一区二区| 日韩精品高清不卡| 久久久精品影视| 99精品在线观看视频| 香蕉影视欧美成人| 日韩午夜三级在线| 国产盗摄女厕一区二区三区| 国产精品久久99| 欧美日韩精品一区二区三区四区 | 国产精品乱人伦| 色拍拍在线精品视频8848| 亚洲国产精品视频| 日韩精品一区在线| 成人aa视频在线观看| 一区二区三区四区av| 日韩亚洲欧美中文三级| 成人免费高清视频在线观看| 亚洲午夜久久久久久久久电影院 | 国内成人精品2018免费看| 国产精品网曝门| 欧美精品在线视频| 国产高清视频一区| 亚洲一区二区三区在线播放| 欧美一区二区播放| av资源站一区| 麻豆成人91精品二区三区| 国产精品电影一区二区三区| 欧美日韩电影在线播放| 国产69精品一区二区亚洲孕妇| 亚洲一区二区免费视频| 国产日产欧产精品推荐色| 欧美日韩在线播放三区| 国产夫妻精品视频| 日欧美一区二区| 亚洲视频一区二区在线观看| 精品剧情在线观看| 在线观看91精品国产入口| 极品少妇一区二区| 亚洲风情在线资源站| 欧美激情中文不卡| 日韩欧美国产综合一区 | 亚洲午夜电影在线| 久久精品欧美日韩精品| 制服丝袜日韩国产| 色综合久久久久综合体桃花网| 久久99久国产精品黄毛片色诱| 亚洲自拍偷拍av|