1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- /*
- * TVIN signal format table
- *
- * Author: Lin Xu <lin.xu@amlogic.com>
- * Bobby Yang <bo.yang@amlogic.com>
- *
- * Copyright (C) 2010 Amlogic Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- */
- #ifndef __TVIN_FORMAT_TABLE_H
- #define __TVIN_FORMAT_TABLE_H
- #include <linux/tvin/tvin.h>
- #include "tvin_global.h"
- extern const char * tvin_sig_fmt_str(enum tvin_sig_fmt_e fmt);
- extern const struct tvin_format_s tvin_fmt_tbl[TVIN_SIG_FMT_MAX + 1];
- extern const unsigned char adc_vga_table[TVIN_SIG_FMT_VGA_MAX-TVIN_SIG_FMT_NULL-1][ADC_REG_NUM];
- extern const unsigned char adc_component_table[TVIN_SIG_FMT_COMP_MAX-TVIN_SIG_FMT_VGA_MAX-1][ADC_REG_NUM];
- extern const unsigned char adc_cvbs_table[ADC_REG_NUM];
- extern const unsigned char cvd_part1_table[TVIN_SIG_FMT_CVBS_SECAM-TVIN_SIG_FMT_CVBS_NTSC_M+1][CVD_PART1_REG_NUM];
- extern const unsigned char cvd_part2_table[TVIN_SIG_FMT_CVBS_SECAM-TVIN_SIG_FMT_CVBS_NTSC_M+1][CVD_PART2_REG_NUM];
- // 0x87, 0x93, 0x94, 0x95, 0x96, 0xe6, 0xfa
- extern const unsigned int cvd_part3_table[TVIN_SIG_FMT_CVBS_SECAM-TVIN_SIG_FMT_CVBS_NTSC_M+1][CVD_PART3_REG_NUM];
- extern const unsigned int cvbs_acd_table[TVIN_SIG_FMT_CVBS_SECAM-TVIN_SIG_FMT_CVBS_NTSC_M+1][ACD_REG_MAX+1];
- extern const unsigned int rf_acd_table[TVIN_SIG_FMT_CVBS_SECAM-TVIN_SIG_FMT_CVBS_NTSC_M+1][ACD_REG_MAX+1];
- extern const unsigned char cvd_yc_reg_0x00_0x03[TVIN_SIG_FMT_CVBS_SECAM-TVIN_SIG_FMT_CVBS_NTSC_M+1][4];
- extern const unsigned char cvd_yc_reg_0x18_0x1f[TVIN_SIG_FMT_CVBS_SECAM-TVIN_SIG_FMT_CVBS_NTSC_M+1][8];
- #ifdef TVAFE_ADC_CVBS_CLAMP_SEQUENCE_EN
- extern const unsigned char adc_cvbs_clamp_sequence0[ADC_CVBS_CLAMP_SEQUENCE0_LEN];
- extern const unsigned char adc_cvbs_clamp_sequence1[ADC_CVBS_CLAMP_SEQUENCE1_LEN];
- extern const unsigned char adc_cvbs_clamp_sequence2[ADC_CVBS_CLAMP_SEQUENCE2_LEN];
- extern const unsigned char adc_cvbs_clamp_sequence3[ADC_CVBS_CLAMP_SEQUENCE3_LEN];
- extern const unsigned char adc_cvbs_clamp_sequence4[ADC_CVBS_CLAMP_SEQUENCE4_LEN];
- #endif
- #endif
|