📄 _stv82x7.h.svn-base
字号:
\ingroup STV82X7
Specifies the current sound system for Secam-L.
*/
#define FRANCE_SEARCH _TRUE_
/*!
\ingroup STV82X7
Specifies the current sound system except for Secam-L.
*/
#define NOT_FRANCE_SEARCH _FALSE_
/*!
\ingroup STV82X7
Specifies the flag for the weak signal of Nicam.
*/
#define NICAM_WEAK_SIGNAL _TRUE_
/*!
\ingroup STV82X7
Specifies the flag for the strong signal of Nicam.
*/
#define NICAM_NOT_WEAK_SIGNAL _FALSE_
/*!
\ingroup STV82X7
Shift bit for the master volume MSB & LSB.
*/
#define MASTER_VOLUME_SHIFT 0x08
/*!
\ingroup STV82X7
Shift bit for the each volume MSB & LSB execpt for master volume.
*/
#define NORMAL_VOLUME_SHIFT 0x02
/*!
\ingroup STV82X7
Shift bit for the balance MSB & LSB.
*/
#define NORMAL_BALANCE_SHIFT 0x02
/* Deviation for coefficient filter values */
#define COEFF_FILTER_SIZE 10
/*!
\ingroup STV82X7
Specifies the 27 KHz for coefficient filter size.
*/
#define COEFF_27KHZ_MODE 0x00
/*!
\ingroup STV82X7
Specifies the 50 KHz for coefficient filter size.
*/
#define COEFF_50KHZ_MODE 0x01
/*!
\ingroup STV82X7
Specifies the 75 KHz for coefficient filter size.
*/
#define COEFF_75KHZ_MODE 0x02
/*!
\ingroup STV82X7
Specifies the 100 KHz for coefficient filter size.
*/
#define COEFF_100KHZ_MODE 0x04
/*!
\ingroup STV82X7
Specifies the 200 KHz for coefficient filter size.
*/
#define COEFF_200KHZ_MODE 0x08
/*!
\ingroup STV82X7
Specifies the flag-on for turbo effect.
*/
#define STV82X7_TURBO_SOUND_ON 0x01
/*!
\ingroup STV82X7
Specifies the flag-off for turbo effect.
*/
#define STV82X7_TURBO_SOUND_OFF 0x00
/*!
\ingroup STV82X7
Specifies the flag-on for smart auto volume.
*/
#define STV82X7_SVC_ON 0x01
/*!
\ingroup STV82X7
Specifies the flag-off for smart auto volume.
*/
#define STV82X7_SVC_OFF 0x00
/*!
\ingroup STV82X7
Specifies the language 1 value.
*/
#define STV82X7_SELECT_LANGUAGE1 0x00
/*!
\ingroup STV82X7
Specifies the language 2 value.
*/
#define STV82X7_SELECT_LANGUAGE2 0x01
/*!
\ingroup STV82X7
Specifies the language ( 1 + 2 ) / 2 value.
*/
#define STV82X7_SELECT_LANGUAGE1P2 0x02
/*!
\ingroup STV82X7
Specifies the language Mono value.
*/
#define STV82X7_SELECT_LANGUAGEMONO 0x03
/*!
\ingroup STV82X7
Independant mode for volume mode.
*/
#define INDEPENDANT_MODE 0x00
/*!
\ingroup STV82X7
Dependant mode for volume mode.
*/
#define DIFFERENTIAL_MODE 0x01
/*!
\ingroup STV82X7
Input stream to process.
*/
#define kSTV82X7_SIF_SCART_IN 0
#define kSTV82X7_SCART_ONLY_IN 1
#define kSTV82X7_I2S_IN 2
/*!
\ingroup STV82X7
Number of I2S channels input.
*/
#define kSTV82X7_2CH 1
#define kSTV82X7_4CH 2
#define kSTV82X7_6CH 3
/*!
\ingroup STV82X7
I2S input frequency.
*/
#define kSTV82X7_32K 0
#define kSTV82X7_44K 1
#define kSTV82X7_48K 2
#define kSTV82X7_8K 3
#define kSTV82X7_11K 4
#define kSTV82X7_12K 5
#define kSTV82X7_16K 6
#define kSTV82X7_22K 7
#define kSTV82X7_24K 8
//======================= RESET ============================
/*!
\ingroup STV82X7
Specifies the flag for I2S input.
*/
#define STV82X7_I2S_INPUT 0x00
/*!
\ingroup STV82X7
Specifies the flag for I2S output.
*/
#define STV82X7_I2S_OUTPUT 0x40
/*!
\ingroup STV82X7
General softreset (active high) to reset all hardware registers except for I2C data.
*/
#define STV82X7_SOFT_RESET 0x01
/*!
\ingroup STV82X7
General soft unreset (active Low) .
*/
#define STV82X7_SOFT_UNRESET 0x00
//======================= Error definition =====================
/*!
\ingroup STV82X7
Specifies the error value for I2C communication.
*/
#define STV82X7_I2C_ERROR 0x01
/*!
\ingroup STV82X7
Specifies the error value for parameters.
*/
#define STV82X7_INVALID_PARAM 0x02
/*!
\ingroup STV82X7
Specifies the error value for resource.
*/
#define STV82X7_RESOURCE_ERROR 0x08
/*!
\ingroup STV82X7
Specifies the error value for init sequence.
*/
#define STV82X7_INIT_ERROR 0x0F
/*!
\ingroup STV82X7
Specifies the no error value.
*/
#define STV82X7_NO_ERROR 0x00
//======================= Balance ============================
/*!
\ingroup STV82X7
Specifies the 0 dB value for each volume.
*/
#define VOLUME_0DB_DEFAULT_VALUE 928
/*!
\ingroup STV82X7
Specifies the center value for loud speaker balance.
*/
#define STV82X7_LS_BALANCE_CENTER 0x00
/*!
\ingroup STV82X7
Specifies the center value for scart balance.
*/
#define STV82X7_SCART_BALANCE_CENTER 0x00
/*!
\ingroup STV82X7
Specifies the default LSB value for each balance.
*/
#define DEFAULT_LSB_BALANCE_VALUE 0x00
//======================= DEMOD_STAT ============================
/*!
\ingroup STV82X7
Channel 1 FM/AM Carrier or Squelch Detection Flag is not set.
*/
#define STV82X7_SOUNDSIGNAL_UNLOCKED 0x00
/*!
\ingroup STV82X7
Channel 1 FM/AM Carrier or Squelch Detection Flag is set.
*/
#define STV82X7_SOUNDSIGNAL_LOCKED 0x01
//======================= LS_EQ_BAND ============================
/*!
\ingroup STV82X7
Equalizer value for 100 Hz.
*/
#define EQUALIZER_100HZ 0x00
/*!
\ingroup STV82X7
Equalizer value for 330 Hz.
*/
#define EQUALIZER_330HZ 0x01
/*!
\ingroup STV82X7
Equalizer value for 1 KHz.
*/
#define EQUALIZER_1KHZ 0x02
/*!
\ingroup STV82X7
Equalizer value for 3.3 KHz.
*/
#define EQUALIZER_3P3KHZ 0x03
/*!
\ingroup STV82X7
Equalizer value for 10 KHz.
*/
#define EQUALIZER_10KHZ 0x04
//======================= TRUSRND_CONTROL ============================
#define STV82X7_SRS_MONO 0x01
#define STV82X7_SRS_MONO_DCLARITY 0x02
#define STV82X7_SRS_LR_STEREO 0x03
#define STV82X7_SRS_LR_STEREO_DCLARITY 0x04
#define STV82X7_SRS_LSR 0x05
#define STV82X7_SRS_LSR_DCLARITY 0x06
#define STV82X7_SRS_LRLsRs 0x07
#define STV82X7_SRS_LRLsRs_DCLARITY 0x08
#define STV82X7_SRS_LRC 0x09
#define STV82X7_SRS_LRC_DCLARITY 0x0A
#define STV82X7_SRS_LRCS 0x0B
#define STV82X7_SRS_LRCS_DCLARITY 0x0C
#define STV82X7_SRS_LRCLsRs 0x0D
#define STV82X7_SRS_LRCLsRs_DCLARITY 0x0E
#define STV82X7_SRS_LtRt 0x0F
#define STV82X7_SRS_LtRt_DCLARITY 0x10
#define STV82X7_SRS_LRCLsRs_SRS 0x11
#define STV82X7_SRS_LRCLsRs_SRS_DCLARITY 0x12
#define STV82X7_SRS_LRCLsRs_TRX 0x13
#define STV82X7_SRS_LRCLsRs_TRX_DCLARITY 0x14
#define STV82X7_ALL_SRS_OFF 0x00
/*!
\ingroup STV82X7
Specifies the flag-on for pseudo effect.
*/
#define STV82X7_PSEUDO_ON 0x01
/*!
\ingroup STV82X7
Specifies the flag-off for pseudo effect.
*/
#define STV82X7_PSEUDO_OFF 0x00
/*!
\ingroup STV82X7
Specifies the flag-on for SRS-WOW effect.
*/
#define STV82X7_SRS_WOW_ON 0x01
/*!
\ingroup STV82X7
Specifies the flag-off for SRS-WOW effect.
*/
#define STV82X7_SRS_WOW_OFF 0x00
/*!
\ingroup STV82X7
Specifies the flag-on for SRS-TruSurround effect.
*/
#define STV82X7_SRS_TRX_ON 0x01
/*!
\ingroup STV82X7
Specifies the flag-off for SRS-TruSurround effect.
*/
#define STV82X7_SRS_TRX_OFF 0x00
/*!
\ingroup STV82X7
Specifies the flag-on for Dolby ProLogic I effect.
*/
#define STV82X7_DOLBY_PRO1_ON 0x01
/*!
\ingroup STV82X7
Specifies the flag-off for Dolby ProLogic II effect.
*/
#define STV82X7_DOLBY_PRO1_OFF 0x00
/*!
\ingroup STV82X7
TruSurround ON.
*/
#define STV82X7_TRUSURROUND_ON 0x01
/*!
\ingroup STV82X7
TruSurround OFF.
*/
#define STV82X7_TRUSURROUND_OFF 0x00
/*!
\ingroup STV82X7
Specifies the transformable mono sound into pseudo stereo sound.
*/
#define STV82X7_TRUSRND_MONO 0x00
/*!
\ingroup STV82X7
Specifies the transformable mono sound into pseudo 3D stereo.
*/
#define STV82X7_TRUSRND_LR_STEREO 0x04
/*!
\ingroup STV82X7
Specifies the transformable stereo sound into enhanced 3D stereo sound for L/R/Srd with ProLogic I.
*/
#define STV82X7_TRUSRND_LSR 0x08
/*!
\ingroup STV82X7
Specifies the transformable stereo sound into enhanced spatial virtualized sound for L/R/Ls/Rs.
*/
#define STV82X7_TRUSRND_LSLsRs 0x0C
/*!
\ingroup STV82X7
Specifies the transformable stereo sound into enhanced spatial virtualized sound for L/R/C
*/
#define STV82X7_TRUSRND_LRC 0x10
/*!
\ingroup STV82X7
Specifies the transformable stereo sound into enhanced spatial virtualized sound for L/R/C/Srd wit ProLogic I.
*/
#define STV82X7_TRUSRND_LRCS 0x14
/*!
\ingroup STV82X7
Specifies the transformable stereo sound into enhanced spatial virtualized sound for L/R/C/Ls/Rs.
*/
#define STV82X7_TRUSRND_LRCLsRs_XT 0x18
/*!
\ingroup STV82X7
Specifies the transformable stereo sound into enhanced spatial virtualized sound for Lt/Rt.
*/
#define STV82X7_TRUSRND_LtRt 0x1C
/*!
\ingroup STV82X7
Specifies the transformable stereo sound into enhanced spatial virtualized sound for BS L/R/C/Ls/Rs.
*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -