📄 globsym.h
字号:
/*------------------------------------------------------------------------
$Workfile: GLOBSYM.H $
$Date: 6/30/97 9:52a $
$Revision: 11 $
* Purpose:
*
* Global symbols needed to build the Video Lab software.
* All Analog Devices modules and include files expect the
* symbols and typedefs herein, and may fail to compile if any
* such items are missing.
*
* Notes:
*
$History: GLOBSYM.H $
*
* ***************** Version 11 *****************
* User: Dstarr Date: 6/30/97 Time: 9:52a
* Updated in $/601test
* Add #define SQUARE_PIXEL as a bit passed to various init routines
* telling them to set up for square pixel operation. Note. the SAA7111
* can't do square pixel, so you either have to switch over to a SAA7110
* or just do square pixel decode.
*
* ***************** Version 1 *****************
* User: Stevel Date: 6/09/97 Time: 4:54p
* Created in $/601cman/sqpix
*
* ***************** Version 10 *****************
* User: Dstarr Date: 10/03/96 Time: 3:34p
* Updated in $/601test
* #define DSP_BWC as a bit flag to enable a DSP on the serial port to do
* the bin width calculations.
*
* ***************** Version 9 *****************
* User: Dstarr Date: 8/07/96 Time: 1:28p
* Updated in $/601cman
* #define PHILLIPS
*
* ***************** Version 8 *****************
* User: Stevel Date: 7/25/96 Time: 8:13p
* Updated in $/601cman
* Add two constant for YC or RGB video output.
*
* ***************** Version 7 *****************
* User: Stevel Date: 7/06/96 Time: 2:37p
* Updated in $/601rpman/ihbmbwc
* Add 2 new symbol.
*
* ***************** Version 6 *****************
* User: Stevel Date: 6/23/96 Time: 9:28p
* Updated in $/601cman
* Add changes to support run time Bin Width Calculation.
*
* ***************** Version 5 *****************
* User: Dstarr Date: 6/14/96 Time: 10:03a
* Updated in $/601test
* Add #define ASAP_FIFO 0xF1
*
* ***************** Version 4 *****************
* User: Dstarr Date: 6/07/96 Time: 1:54p
* Updated in $/601test
* #define STD_FIFO_THRES
*
* ***************** Version 3 *****************
* User: Dstarr Date: 5/02/96 Time: 2:03p
* Updated in $/601cman
* Spell DIG_VIDEO with an O not a 0 (zero)
*
* ***************** Version 2 *****************
* User: Dstarr Date: 4/24/96 Time: 9:17a
* Updated in $/601test
* Added symbols to support verbose mode
*
* ***************** Version 1 *****************
* User: Stevel Date: 3/06/96 Time: 7:55p
* Created in $/601cman
* Initial release
This code and information is provided "as is" without warranty of any
kind, either expressed or implied, including but not limited to the
implied warranties of merchantability and/or fitness for a particular
purpose.
1996 Analog Devices, Inc.
-------------------------------------------------------------------------*/
#ifndef GLOBSYM_H
#define GLOBSYM_H
#include "dtype.h"
#define TRUE 1
#define FALSE 0
typedef int (*CODEPTR )(void *,void * );/* pointer to int function */
#define SUCCESS FALSE
#define FAILURE TRUE
#define OK SUCCESS
#define DONTKNOW 0x5555 /* Initial Value of some things */
#define ENABLE TRUE
#define DISABLE FALSE
#define CONTINUE TRUE
#define STOP FALSE
#define FORWARD TRUE
#define BACKWARD FALSE
#define BAILOUT 1 /* Menu Choice 1 in 601test */
#define TestALL 2 /* Menu Choice 2 in 601test */
#define NTSC 0 /* NSTC == !PAL */
#define PAL 1 /* Video format codes */
#define PHILLIPS 0x4000 /* Phillips vs CCIR656 */
#define DSP_BWC 0x2000 /* DSP on serial port bin widths */
#define SQUARE_PIXEL 0x1000 /* Turn on square pixel mode */
#define COMPOSITE 0 /* SAA7111 Input Video Source (Mux)*/
#define S_VIDEO 1
#define DIG_VIDEO 2 /* Kill SAA7111, use ECL board */
#define YC_OUT 0 // Output Video
#define RGB_OUT 1
#define TV 0 // TV mode (use tight PLL on hsync)
#define VCR 1 // VCR mode (loose PLL 'cause hsync
/* is shakey) */
#define SQ_PIXEL 0 // Square Pixel
#define NONSQ_PIXEL 1 //
#define NBLOCKS 42 // Number bins in wavelet transform
#define NPT 41
#define STD_FIFO_THRES 0xF1 /* Fifo default fifo threshold, (ASAP) */
#define ASAP_FIFO_THRES 0xF1 /* As Soon As Possible fifo threshold */
#define CARRY_FLAG 0x01 // 80x86 Flag Reg Carry Flag bit
// Image Sizes
enum {SIF=0, QSIF, QQSIF, QQQSIF};
/* 601 test print control symbols. */
#define MUST_PRINT -1 /* Menus & error messages */
#define LOW_PRI 1 /* Feel_good Messages */
#endif // endof GLOBSYM_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -