gsttheadcamera_property.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /* GStreamer
  2. * Copyright (C) <2021> Charles Lu <chongzhi.lcz@alibaba-inc.com>
  3. *
  4. * This library is free software; you can redistribute it and/or
  5. * modify it under the terms of the GNU Library General Public
  6. * License as published by the Free Software Foundation; either
  7. * version 2 of the License, or (at your option) any later version.
  8. *
  9. * This library is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  12. * Library General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU Library General Public
  15. * License along with this library; if not, write to the
  16. * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
  17. * Boston, MA 02110-1301, USA.
  18. */
  19. #pragma once
  20. typedef enum gst_thead_camera_prop
  21. {
  22. PROP_0,
  23. /* GStreamer extended properties */
  24. PROP_IS_LIVE,
  25. PROP_TIMESTAMP_OFFSET,
  26. /* CSI Camera non-runtime properties */
  27. PROP_CAMERAS_INFO,
  28. PROP_MODES,
  29. PROP_SENSOR_CALIB_FILE,
  30. PROP_ISP_3ALIB_FILE,
  31. PROP_IO_MODE,
  32. /* CSI Camera multi-channal properties */
  33. PROP_CHANNEL_ID,
  34. PROP_CHANNEL_IMAGE_WIDTH,
  35. PROP_CHANNEL_IMAGE_HEIGHT,
  36. PROP_CHANNEL_IMAGE_PIXEL_FORMAT,
  37. /* CSI Camera runtime properties */
  38. PROP_HFLIP = CSI_CAMERA_PID_HFLIP,
  39. PROP_VFLIP = CSI_CAMERA_PID_VFLIP,
  40. PROP_ROTATE = CSI_CAMERA_PID_ROTATE,
  41. PROP_EXPOSURE_MODE = CSI_CAMERA_PID_EXPOSURE_MODE,
  42. PROP_EXPOSURE_ABSOLUTE = CSI_CAMERA_PID_EXPOSURE_ABSOLUTE,
  43. PROP_EXPOSURE_AUTO_PRIORITY = CSI_CAMERA_PID_EXPOSURE_AUTO_PRIORITY,
  44. PROP_EXPOSURE_BIAS = CSI_CAMERA_PID_EXPOSURE_BIAS,
  45. PROP_FOCUS_ABSOLUTE = CSI_CAMERA_PID_FOCUS_ABSOLUTE,
  46. PROP_3A_LOCK = CSI_CAMERA_PID_3A_LOCK,
  47. } gst_thead_camera_prop_e;