?? tidtv_gammactrl2.h
字號:
/*******************************************************************************
* @ModuleName :: TiDTV_GammaCtrl.h
*
* @Copyright :: Copyright 2005- Texas Instruments, Inc.
*
* @Description:: Constants and Defs for TI DTV Gamma Correction APIs
*
* @History ::
*---------------------------------------
* 07-14-2005 Paul Hunt Created
*******************************************************************************/
#ifndef _TI_DTV_GAMMA_CTRL_H_
#define _TI_DTV_GAMMA_CTRL_H_
#define TVP_NUM_LUT_ENTRIES 256 // debug, should come from system files
//#define ENC_GAMMA_BIAS 100
#define ENC_GAMMA_DIVISOR 100
#define ENC_LUT_WRITE_RED 0x01
#define ENC_LUT_WRITE_GRN 0x02
#define ENC_LUT_WRITE_BLU 0x04
//#define ENC_GAMMA_GEN_RED 0x10
//#define ENC_GAMMA_GEN_GRN 0x20
//#define ENC_GAMMA_GEN_BLU 0x40
#define ENC_GAMMA_GEN_RED 0x01
#define ENC_GAMMA_GEN_GRN 0x02
#define ENC_GAMMA_GEN_BLU 0x04
// channelFlags allows you to specify which gamma tables to generate with the
// function call, they may be generated one at a time, or all at once if you
// want them to all have the same curve (or two matching and one different)
// gamma_fix is a fixed point representation of the gamma coefficient
// effective gamma equals gamma_fix / ENC_GAMMA_DIVISOR
// currently gamma_fix = 100 means gamma = 1.0
// inc_gain, an incremental gain of plus or minus one-fourth
// allows gamma gain to range from 0.75 to 1.25
// inc_gain -128 means effective gain = 0.75, inc_gain 127 means effective gain ~= 1.25
void tvpEncGammaTableGen2(unsigned char channelFlags, unsigned short gamma_fix, char inc_gain);
//
void tvpEncLutWrite(unsigned char channelFlags);
#endif /* _TI_DTV_GAMMA_CTRL_H_ */
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -