Projektarbeit Line Following Robot bei Prof. Chowanetz im WS22/23
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

mmal_parameters_clock.h 3.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. /*
  2. Copyright (c) 2012, Broadcom Europe Ltd
  3. All rights reserved.
  4. Redistribution and use in source and binary forms, with or without
  5. modification, are permitted provided that the following conditions are met:
  6. * Redistributions of source code must retain the above copyright
  7. notice, this list of conditions and the following disclaimer.
  8. * Redistributions in binary form must reproduce the above copyright
  9. notice, this list of conditions and the following disclaimer in the
  10. documentation and/or other materials provided with the distribution.
  11. * Neither the name of the copyright holder nor the
  12. names of its contributors may be used to endorse or promote products
  13. derived from this software without specific prior written permission.
  14. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
  15. ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  16. WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  17. DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY
  18. DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  19. (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  20. LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  21. ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  22. (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  23. SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  24. */
  25. #ifndef MMAL_PARAMETERS_CLOCK_H
  26. #define MMAL_PARAMETERS_CLOCK_H
  27. #include "mmal_clock.h"
  28. #include "mmal_parameters_common.h"
  29. /*************************************************
  30. * ALWAYS ADD NEW ENUMS AT THE END OF THIS LIST! *
  31. ************************************************/
  32. /** Clock-specific MMAL parameter IDs.
  33. * @ingroup MMAL_PARAMETER_IDS
  34. */
  35. enum
  36. {
  37. MMAL_PARAMETER_CLOCK_REFERENCE /**< Takes a MMAL_PARAMETER_BOOLEAN_T */
  38. = MMAL_PARAMETER_GROUP_CLOCK,
  39. MMAL_PARAMETER_CLOCK_ACTIVE, /**< Takes a MMAL_PARAMETER_BOOLEAN_T */
  40. MMAL_PARAMETER_CLOCK_SCALE, /**< Takes a MMAL_PARAMETER_RATIONAL_T */
  41. MMAL_PARAMETER_CLOCK_TIME, /**< Takes a MMAL_PARAMETER_INT64_T */
  42. MMAL_PARAMETER_CLOCK_UPDATE_THRESHOLD, /**< Takes a MMAL_PARAMETER_CLOCK_UPDATE_THRESHOLD_T */
  43. MMAL_PARAMETER_CLOCK_DISCONT_THRESHOLD, /**< Takes a MMAL_PARAMETER_CLOCK_DISCONT_THRESHOLD_T */
  44. MMAL_PARAMETER_CLOCK_REQUEST_THRESHOLD, /**< Takes a MMAL_PARAMETER_CLOCK_REQUEST_THRESHOLD_T */
  45. MMAL_PARAMETER_CLOCK_ENABLE_BUFFER_INFO, /**< Takes a MMAL_PARAMETER_BOOLEAN_T */
  46. MMAL_PARAMETER_CLOCK_FRAME_RATE, /**< Takes a MMAL_PARAMETER_RATIONAL_T */
  47. MMAL_PARAMETER_CLOCK_LATENCY, /**< Takes a MMAL_PARAMETER_CLOCK_LATENCY_T */
  48. };
  49. /** Media-time update thresholds */
  50. typedef struct MMAL_PARAMETER_CLOCK_UPDATE_THRESHOLD_T
  51. {
  52. MMAL_PARAMETER_HEADER_T hdr;
  53. MMAL_CLOCK_UPDATE_THRESHOLD_T value;
  54. } MMAL_PARAMETER_CLOCK_UPDATE_THRESHOLD_T;
  55. /** Media-time discontinuity settings */
  56. typedef struct MMAL_PARAMETER_CLOCK_DISCONT_THRESHOLD_T
  57. {
  58. MMAL_PARAMETER_HEADER_T hdr;
  59. MMAL_CLOCK_DISCONT_THRESHOLD_T value;
  60. } MMAL_PARAMETER_CLOCK_DISCONT_THRESHOLD_T;
  61. /** Media-time future frame drop settings */
  62. typedef struct MMAL_PARAMETER_CLOCK_REQUEST_THRESHOLD_T
  63. {
  64. MMAL_PARAMETER_HEADER_T hdr;
  65. MMAL_CLOCK_REQUEST_THRESHOLD_T value;
  66. } MMAL_PARAMETER_CLOCK_REQUEST_THRESHOLD_T;
  67. /** Clock latency parameter */
  68. typedef struct MMAL_PARAMETER_CLOCK_LATENCY_T
  69. {
  70. MMAL_PARAMETER_HEADER_T hdr;
  71. MMAL_CLOCK_LATENCY_T value;
  72. } MMAL_PARAMETER_CLOCK_LATENCY_T;
  73. #endif /* MMAL_PARAMETERS_CLOCK_H */