⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 plotmtv.h

📁 MPEG2/MPEG4编解码参考程序(实现了MPEG4的部分功能)
💻 H
字号:
/**********************************************************************MPEG-4 Audio VMThis software module was originally developed byBodo Teichmann Fraunhofer Institute of Erlangen tmn@iis.fhg.deand edited byin the course of development of the MPEG-2 NBC/MPEG-4 Audio standardISO/IEC 13818-7, 14496-1,2 and 3. This software module is animplementation of a part of one or more MPEG-2 NBC/MPEG-4 Audio toolsas specified by the MPEG-2 NBC/MPEG-4 Audio standard. ISO/IEC givesusers of the MPEG-2 NBC/MPEG-4 Audio standards free license to thissoftware module or modifications thereof for use in hardware orsoftware products claiming conformance to the MPEG-2 NBC/ MPEG-4 Audiostandards. Those intending to use this software module in hardware orsoftware products are advised that this use may infringe existingpatents. The original developer of this software module and his/hercompany, the subsequent editors and their companies, and ISO/IEC haveno liability for use of this software module or modifications thereofin an implementation. Copyright is not released for non MPEG-2NBC/MPEG-4 Audio conforming products. The original developer retainsfull right to use the code for his/her own purpose, assign or donatethe code to a third party and to inhibit third party from using thecode for non MPEG-2 NBC/MPEG-4 Audio conforming products. Thiscopyright notice must be included in all copies or derivative works.Copyright (c) 1997.Header file: plotmtv.h$Id: plotmtv.h,v 1.5 1999/04/19 10:49:49 purnhage Exp $Authors:tmn  Bodo Teichmann  tmn@iis.fhg.deHP   Heiko Purnhagen  purnhage@tnt.uni-hannover.deChanges:xx-apr-97  BT   contributed to VM22-may-97  HP   added abs(real,imag) MTV_CPLXFLOAT                plotDirect("",MTV_CPLXFLOAT,npts,re1,im1,re2,im2)**********************************************************************/#ifndef _plotmtv_h#define _plotmtv_h/* plotmtv_interf.c is just a C interface to the freeware program plotmtv which  *//* is a graphical data-display program for X-windows with a nice user interface *//* with this C interface it can be use to display 1-dim arrays (eg. the mdct spectrum)  *//* directly from the debugger while debugging with 'call plotDirect("",MTV_DOUBLE,npts,array1,array2,array3,array4) *//* is is verry verry usefull for debugging; please do not remove the files from the VM frame work  *//* i will sent an executable (sgi,linux,solaris,sunos) to everybody who wants to use it */enum DATA_TYPE {MTV_DOUBLE,MTV_FLOAT,MTV_ABSFLOAT,MTV_LONG,MTV_INT,MTV_SHORT,MTV_CPLXFLOAT,MTV_DOUBLE_SQA,MTV_INT_SQA};int plotInit(int);int plotSend( char *legend, char *plotSet  , enum DATA_TYPE dtype,long npts             ,const void *dataVector, const void *dataVector2);/*                          legend, subwindow name , data type           , number of data values, start adress of vector of data *//* it is possible to plot different vectors with different legendnames into to the same graph(=subwindow)       */void plotDisplay(int);/* just for use in the debugger: type call plotDirect(...) in the GNUdebugger command window,    vector2,vector3 and vector4 might be the  NULL vector    and are ignored then .   TO USE THIS FEATURE YOU NEED A PLOTMTV.RC FILE IN THE COURRENT WORK DIRECTORY,   WHICH ENABLES THE PLOTSETS CALLED:   "direct1" and "direct2"   in other words: plotmtv.rc should include  at least these lines :   :direct1    %xlabel=""   %ylabel=""   %xlog=On   %ylog=Off     %boundary=True   EOF;   :direct2    %xlabel=""   %ylabel=""   %xlog=On   %ylog=Off   %boundary=True   EOF;   # end of mplot.rc      you can replace the words "True"(or "On")  with "False"(or "Off") and vice versa */extern void plotDirect(char *label,enum DATA_TYPE dtype,long npts,void *vector1,void *vector2,void *vector3,void *vector4  );extern int plotChannel;#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -