imx-media.h 811 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * Copyright (c) 2014-2017 Mentor Graphics Inc.
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License as published by the
  6. * Free Software Foundation; either version 2 of the
  7. * License, or (at your option) any later version
  8. */
  9. #ifndef __LINUX_IMX_MEDIA_H__
  10. #define __LINUX_IMX_MEDIA_H__
  11. /*
  12. * events from the subdevs
  13. */
  14. #define V4L2_EVENT_IMX_CLASS V4L2_EVENT_PRIVATE_START
  15. #define V4L2_EVENT_IMX_FRAME_INTERVAL_ERROR (V4L2_EVENT_IMX_CLASS + 1)
  16. enum imx_ctrl_id {
  17. V4L2_CID_IMX_FIM_ENABLE = (V4L2_CID_USER_IMX_BASE + 0),
  18. V4L2_CID_IMX_FIM_NUM,
  19. V4L2_CID_IMX_FIM_TOLERANCE_MIN,
  20. V4L2_CID_IMX_FIM_TOLERANCE_MAX,
  21. V4L2_CID_IMX_FIM_NUM_SKIP,
  22. V4L2_CID_IMX_FIM_ICAP_EDGE,
  23. V4L2_CID_IMX_FIM_ICAP_CHANNEL,
  24. };
  25. #endif