tvin_format_table.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. * TVIN signal format table
  3. *
  4. * Author: Lin Xu <lin.xu@amlogic.com>
  5. * Bobby Yang <bo.yang@amlogic.com>
  6. *
  7. * Copyright (C) 2010 Amlogic Inc.
  8. *
  9. * This program is free software; you can redistribute it and/or modify
  10. * it under the terms of the GNU General Public License version 2 as
  11. * published by the Free Software Foundation.
  12. */
  13. #ifndef __TVIN_FORMAT_TABLE_H
  14. #define __TVIN_FORMAT_TABLE_H
  15. #include <media/amlogic/656in.h>
  16. #include "tvin_global.h"
  17. extern const unsigned char tvin_canvas_tab[2][BT656IN_VF_POOL_SIZE];
  18. extern const struct tvin_format_s tvin_fmt_tbl[TVIN_SIG_FMT_MAX + 1];
  19. extern const unsigned char adc_vga_table[TVIN_SIG_FMT_VGA_MAX-TVIN_SIG_FMT_NULL-1][ADC_REG_NUM];
  20. extern const unsigned char adc_component_table[TVIN_SIG_FMT_COMP_MAX-TVIN_SIG_FMT_VGA_MAX-1][ADC_REG_NUM];
  21. extern const unsigned char adc_cvbs_table[ADC_REG_NUM];
  22. extern const unsigned char cvd_part1_table[TVIN_SIG_FMT_CVBS_SECAM-TVIN_SIG_FMT_CVBS_NTSC_M+1][CVD_PART1_REG_NUM];
  23. extern const unsigned char cvd_part2_table[TVIN_SIG_FMT_CVBS_SECAM-TVIN_SIG_FMT_CVBS_NTSC_M+1][CVD_PART2_REG_NUM];
  24. // 0x87, 0x93, 0x94, 0x95, 0x96, 0xe6, 0xfa
  25. extern const unsigned int cvd_part3_table[TVIN_SIG_FMT_CVBS_SECAM-TVIN_SIG_FMT_CVBS_NTSC_M+1][CVD_PART3_REG_NUM];
  26. extern const unsigned int cvbs_acd_table[TVIN_SIG_FMT_CVBS_SECAM-TVIN_SIG_FMT_CVBS_NTSC_M+1][ACD_REG_MAX+1];
  27. #endif