v4l2-chip-ident.h 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. /*
  2. v4l2 chip identifiers header
  3. This header provides a list of chip identifiers that can be returned
  4. through the VIDIOC_G_CHIP_IDENT ioctl.
  5. Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl>
  6. This program is free software; you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 2 of the License, or
  9. (at your option) any later version.
  10. This program is distributed in the hope that it will be useful,
  11. but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. GNU General Public License for more details.
  14. You should have received a copy of the GNU General Public License
  15. along with this program; if not, write to the Free Software
  16. Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  17. */
  18. #ifndef V4L2_CHIP_IDENT_H_
  19. #define V4L2_CHIP_IDENT_H_
  20. /* VIDIOC_G_CHIP_IDENT: identifies the actual chip installed on the board */
  21. enum {
  22. /* general idents: reserved range 0-49 */
  23. V4L2_IDENT_NONE = 0, /* No chip matched */
  24. V4L2_IDENT_AMBIGUOUS = 1, /* Match too general, multiple chips matched */
  25. V4L2_IDENT_UNKNOWN = 2, /* Chip found, but cannot identify */
  26. /* module saa7110: just ident= 100 */
  27. V4L2_IDENT_SAA7110 = 100,
  28. /* module saa7111: just ident= 101 */
  29. V4L2_IDENT_SAA7111 = 101,
  30. /* module saa7115: reserved range 102-149 */
  31. V4L2_IDENT_SAA7113 = 103,
  32. V4L2_IDENT_SAA7114 = 104,
  33. V4L2_IDENT_SAA7115 = 105,
  34. V4L2_IDENT_SAA7118 = 108,
  35. /* module saa7127: reserved range 150-199 */
  36. V4L2_IDENT_SAA7127 = 157,
  37. V4L2_IDENT_SAA7129 = 159,
  38. /* module cx25840: reserved range 200-249 */
  39. V4L2_IDENT_CX25836 = 236,
  40. V4L2_IDENT_CX25837 = 237,
  41. V4L2_IDENT_CX25840 = 240,
  42. V4L2_IDENT_CX25841 = 241,
  43. V4L2_IDENT_CX25842 = 242,
  44. V4L2_IDENT_CX25843 = 243,
  45. /* OmniVision sensors - range 250-299 */
  46. V4L2_IDENT_OV7670 = 250,
  47. /* Conexant MPEG encoder/decoders: range 410-420 */
  48. V4L2_IDENT_CX23415 = 415,
  49. V4L2_IDENT_CX23416 = 416,
  50. };
  51. #endif