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

📄 tmsea_options.h

📁 可用于TM1300/PNX1300系列DSP(主要用于视频处理)压缩库即应用例子。
💻 H
字号:
/*
 *  +-------------------------------------------------------------------+
 *  | Copyright (c) 1995,2000 TriMedia Technologies Inc.                |
 *  |                                                                   |
 *  | This software  is furnished under a license  and may only be used |
 *  | and copied in accordance with the terms  and conditions of such a |
 *  | license  and with  the inclusion of this  copyright notice.  This |
 *  | software or any other copies of this software may not be provided |
 *  | or otherwise  made available  to any other person.  The ownership |
 *  | and title of this software is not transferred.                    |
 *  |                                                                   |
 *  | The information  in this software  is subject  to change  without |
 *  | any  prior notice  and should not be construed as a commitment by |
 *  | TriMedia Technologies.                                            |
 *  |                                                                   |
 *  | This  code  and  information  is  provided  "as is"  without  any |
 *  | warranty of any kind,  either expressed or implied, including but |
 *  | not limited  to the implied warranties  of merchantability and/or |
 *  | fitness for any particular purpose.                               |
 *  +-------------------------------------------------------------------+
 *
 *  Module name              : tmSEA_options.h    1.8
 *
 *  Module type              : header file
 *
 *  Title                    : tmSEA options file
 *
 *  Last update              : 16:00:15 - 00/06/16
 *
 *  Description              : contains the tmSEI command line parser
 *                             options, Normal inclusion of this header
 *                             enumerates the option names for use with
 *                             Lib_CmdOpt in referring to options.
 */

/* 
    Defining _Eg_opts_impl, however, allows the header  to  be  included  as
    initialization data for an options table.
*/

#ifndef	_Eg_opts_impl
#ifndef	_Eg_opts_h
#undef	Def
#define	Def(name,o1,o2,typ,flags,dflt,descr)	Opt_##name,
enum {
#else
#undef	Def
#define	Def()
#endif
#endif
   
#ifdef _WIN32
#define MYSLASH "\\"
#else
#define MYSLASH "/"
#endif

/*  Table of option entries.
*/

Def(outputdir,   "outputdir",  "od",  tsaCmdOptString, 0, "/flash", "\tdirectory to which output data will be written in archieve.\n\t\tdefault '/flash' - if used with flash must begin with '/flash'.\n")
Def(bigendian,      "endian",   "e",  tsaCmdOptString, 0, "b",      "\tspecify endianness of SEA output file\n\t\t-eb for big endian (default)\n\t\t-el for little endian;\n")
Def(host,             "host",    "",  tsaCmdOptString, 0, "nohost", "\tSpecify one of the following types of host processor\n\t\tnohost    : No Host (default) \n\t\ttmsim     : TM Simulator is Host \n\t\tWin95     : Win95 is Host \n\t\tMacOS     : MacOS is Host \n\t\tWinNT     : WinNT is Host \n")
Def(verbose,       "verbose",   "v",  tsaCmdOptBool,   0, False,    "\tspecifies that out is verbose.\n")
Def(cflags,         "cflags",    "",  tsaCmdOptString, 0, "",       "\tA string of arguements to pass to tmcc when compiling sources for SEA application.\n")
Def(ldflags,       "ldflags",    "",  tsaCmdOptString, 0, "",       "\tA string of arguements to pass to tmcc when linking for SEA application.\n")
Def(output,         "output",   "o",  tsaCmdOptString, 0, "a.out",  "\tname of SEA output-file that will be created.\n\t\tdefault output name is 'a.out'.\n")
Def(nostandard, "nostandard",   "f",  tsaCmdOptBool,   0, False,    "\tDisable usage of 'TriMedia' Flash.\n")
Def(flashbsp,     "flashbsp",  "fb",  tsaCmdOptBool,   0, True,    "\tUse flash driver in BSP.\n")
Def(NoCompression,  "nocomp",    "",  tsaCmdOptBool,   0, False,    "\tDisable compression of image file\n")
#ifdef _WIN32
Def(tcspath,     "tcspath",      "tcs",  tsaCmdOptString, 0,"C:\\TriMedia",          "\t Current TCS path.\n")
Def(cpath,       "sourcefile","cpath",  tsaCmdOptString, 0,".\\tmunpackarch\\","\t Path of required C file tmunpackarch.c.\n")
#else
Def(tcspath,     "tcspath",      "tcs",  tsaCmdOptString, 0,"/usr/local/tcs",          "\t Current TCS path.\n")
Def(cpath,       "sourcepath", "cpath",  tsaCmdOptString, 0,"./tmunpackarch/","\t Path of required C file tmunpackarch.c.\n")
#endif

#if	!defined(_Eg_opts_impl) && !defined(_Eg_opts_h)
};					/* end of enum */
#define	_Eg_opts_h			/* prevent re-inclusion */
#endif

⌨️ 快捷键说明

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