summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-05-22 03:29:07 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-06-06 00:25:04 +0300
commit4bd09795a17dd1acd556c5549a71e9a5fe2fbcbe (patch)
tree8be054a5c14454322e4582682471f59ee006583e /include
parentf3f1807a1f88136e3159a1399dfd6ed9d30b0085 (diff)
libcamera: Rename header guards for internal headers
With the internal headers now in include/libcamera/internal/, we may have identically named headers in include/libcamera/. Their header guards would clash. Rename the header guards of internal headers to prevent any issue. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/internal/byte_stream_buffer.h6
-rw-r--r--include/libcamera/internal/camera_controls.h6
-rw-r--r--include/libcamera/internal/camera_sensor.h6
-rw-r--r--include/libcamera/internal/control_serializer.h6
-rw-r--r--include/libcamera/internal/control_validator.h6
-rw-r--r--include/libcamera/internal/device_enumerator.h6
-rw-r--r--include/libcamera/internal/device_enumerator_sysfs.h6
-rw-r--r--include/libcamera/internal/device_enumerator_udev.h6
-rw-r--r--include/libcamera/internal/event_dispatcher_poll.h6
-rw-r--r--include/libcamera/internal/file.h6
-rw-r--r--include/libcamera/internal/formats.h6
-rw-r--r--include/libcamera/internal/ipa_context_wrapper.h6
-rw-r--r--include/libcamera/internal/ipa_manager.h6
-rw-r--r--include/libcamera/internal/ipa_module.h6
-rw-r--r--include/libcamera/internal/ipa_proxy.h6
-rw-r--r--include/libcamera/internal/ipc_unixsocket.h6
-rw-r--r--include/libcamera/internal/log.h6
-rw-r--r--include/libcamera/internal/media_device.h6
-rw-r--r--include/libcamera/internal/media_object.h6
-rw-r--r--include/libcamera/internal/message.h6
-rw-r--r--include/libcamera/internal/pipeline_handler.h6
-rw-r--r--include/libcamera/internal/process.h6
-rw-r--r--include/libcamera/internal/pub_key.h6
-rw-r--r--include/libcamera/internal/semaphore.h6
-rw-r--r--include/libcamera/internal/thread.h6
-rw-r--r--include/libcamera/internal/utils.h6
-rw-r--r--include/libcamera/internal/v4l2_controls.h6
-rw-r--r--include/libcamera/internal/v4l2_device.h6
-rw-r--r--include/libcamera/internal/v4l2_pixelformat.h6
-rw-r--r--include/libcamera/internal/v4l2_subdevice.h6
-rw-r--r--include/libcamera/internal/v4l2_videodevice.h6
31 files changed, 93 insertions, 93 deletions
diff --git a/include/libcamera/internal/byte_stream_buffer.h b/include/libcamera/internal/byte_stream_buffer.h
index b3aaa8b9..db59577d 100644
--- a/include/libcamera/internal/byte_stream_buffer.h
+++ b/include/libcamera/internal/byte_stream_buffer.h
@@ -4,8 +4,8 @@
*
* byte_stream_buffer.h - Byte stream buffer
*/
-#ifndef __LIBCAMERA_BYTE_STREAM_BUFFER_H__
-#define __LIBCAMERA_BYTE_STREAM_BUFFER_H__
+#ifndef __LIBCAMERA_INTERNAL_BYTE_STREAM_BUFFER_H__
+#define __LIBCAMERA_INTERNAL_BYTE_STREAM_BUFFER_H__
#include <stddef.h>
#include <stdint.h>
@@ -86,4 +86,4 @@ private:
} /* namespace libcamera */
-#endif /* __LIBCAMERA_BYTE_STREAM_BUFFER_H__ */
+#endif /* __LIBCAMERA_INTERNAL_BYTE_STREAM_BUFFER_H__ */
diff --git a/include/libcamera/internal/camera_controls.h b/include/libcamera/internal/camera_controls.h
index dc8b3ba8..6e40f443 100644
--- a/include/libcamera/internal/camera_controls.h
+++ b/include/libcamera/internal/camera_controls.h
@@ -4,8 +4,8 @@
*
* camera_controls.h - Camera controls
*/
-#ifndef __LIBCAMERA_CAMERA_CONTROLS_H__
-#define __LIBCAMERA_CAMERA_CONTROLS_H__
+#ifndef __LIBCAMERA_INTERNAL_CAMERA_CONTROLS_H__
+#define __LIBCAMERA_INTERNAL_CAMERA_CONTROLS_H__
#include "libcamera/internal/control_validator.h"
@@ -27,4 +27,4 @@ private:
} /* namespace libcamera */
-#endif /* __LIBCAMERA_CAMERA_CONTROLS_H__ */
+#endif /* __LIBCAMERA_INTERNAL_CAMERA_CONTROLS_H__ */
diff --git a/include/libcamera/internal/camera_sensor.h b/include/libcamera/internal/camera_sensor.h
index eb464114..7f07413f 100644
--- a/include/libcamera/internal/camera_sensor.h
+++ b/include/libcamera/internal/camera_sensor.h
@@ -4,8 +4,8 @@
*
* camera_sensor.h - A camera sensor
*/
-#ifndef __LIBCAMERA_CAMERA_SENSOR_H__
-#define __LIBCAMERA_CAMERA_SENSOR_H__
+#ifndef __LIBCAMERA_INTERNAL_CAMERA_SENSOR_H__
+#define __LIBCAMERA_INTERNAL_CAMERA_SENSOR_H__
#include <memory>
#include <string>
@@ -85,4 +85,4 @@ private:
} /* namespace libcamera */
-#endif /* __LIBCAMERA_CAMERA_SENSOR_H__ */
+#endif /* __LIBCAMERA_INTERNAL_CAMERA_SENSOR_H__ */
diff --git a/include/libcamera/internal/control_serializer.h b/include/libcamera/internal/control_serializer.h
index 99bacd92..0ab29d9a 100644
--- a/include/libcamera/internal/control_serializer.h
+++ b/include/libcamera/internal/control_serializer.h
@@ -4,8 +4,8 @@
*
* control_serializer.h - Control (de)serializer
*/
-#ifndef __LIBCAMERA_CONTROL_SERIALIZER_H__
-#define __LIBCAMERA_CONTROL_SERIALIZER_H__
+#ifndef __LIBCAMERA_INTERNAL_CONTROL_SERIALIZER_H__
+#define __LIBCAMERA_INTERNAL_CONTROL_SERIALIZER_H__
#include <map>
#include <memory>
@@ -52,4 +52,4 @@ private:
} /* namespace libcamera */
-#endif /* __LIBCAMERA_CONTROL_SERIALIZER_H__ */
+#endif /* __LIBCAMERA_INTERNAL_CONTROL_SERIALIZER_H__ */
diff --git a/include/libcamera/internal/control_validator.h b/include/libcamera/internal/control_validator.h
index f1c9110b..4a00b9b7 100644
--- a/include/libcamera/internal/control_validator.h
+++ b/include/libcamera/internal/control_validator.h
@@ -4,8 +4,8 @@
*
* control_validator.h - Control validator
*/
-#ifndef __LIBCAMERA_CONTROL_VALIDATOR_H__
-#define __LIBCAMERA_CONTROL_VALIDATOR_H__
+#ifndef __LIBCAMERA_INTERNAL_CONTROL_VALIDATOR_H__
+#define __LIBCAMERA_INTERNAL_CONTROL_VALIDATOR_H__
#include <string>
@@ -24,4 +24,4 @@ public:
} /* namespace libcamera */
-#endif /* __LIBCAMERA_CONTROL_VALIDATOR_H__ */
+#endif /* __LIBCAMERA_INTERNAL_CONTROL_VALIDATOR_H__ */
diff --git a/include/libcamera/internal/device_enumerator.h b/include/libcamera/internal/device_enumerator.h
index 433e357a..25a36308 100644
--- a/include/libcamera/internal/device_enumerator.h
+++ b/include/libcamera/internal/device_enumerator.h
@@ -4,8 +4,8 @@
*
* device_enumerator.h - API to enumerate and find media devices
*/
-#ifndef __LIBCAMERA_DEVICE_ENUMERATOR_H__
-#define __LIBCAMERA_DEVICE_ENUMERATOR_H__
+#ifndef __LIBCAMERA_INTERNAL_DEVICE_ENUMERATOR_H__
+#define __LIBCAMERA_INTERNAL_DEVICE_ENUMERATOR_H__
#include <memory>
#include <string>
@@ -54,4 +54,4 @@ private:
} /* namespace libcamera */
-#endif /* __LIBCAMERA_DEVICE_ENUMERATOR_H__ */
+#endif /* __LIBCAMERA_INTERNAL_DEVICE_ENUMERATOR_H__ */
diff --git a/include/libcamera/internal/device_enumerator_sysfs.h b/include/libcamera/internal/device_enumerator_sysfs.h
index a63e737a..2112bc54 100644
--- a/include/libcamera/internal/device_enumerator_sysfs.h
+++ b/include/libcamera/internal/device_enumerator_sysfs.h
@@ -4,8 +4,8 @@
*
* device_enumerator_sysfs.h - sysfs-based device enumerator
*/
-#ifndef __LIBCAMERA_DEVICE_ENUMERATOR_SYSFS_H__
-#define __LIBCAMERA_DEVICE_ENUMERATOR_SYSFS_H__
+#ifndef __LIBCAMERA_INTERNAL_DEVICE_ENUMERATOR_SYSFS_H__
+#define __LIBCAMERA_INTERNAL_DEVICE_ENUMERATOR_SYSFS_H__
#include <memory>
#include <string>
@@ -29,4 +29,4 @@ private:
} /* namespace libcamera */
-#endif /* __LIBCAMERA_DEVICE_ENUMERATOR_SYSFS_H__ */
+#endif /* __LIBCAMERA_INTERNAL_DEVICE_ENUMERATOR_SYSFS_H__ */
diff --git a/include/libcamera/internal/device_enumerator_udev.h b/include/libcamera/internal/device_enumerator_udev.h
index 10d17ed2..2e7916a0 100644
--- a/include/libcamera/internal/device_enumerator_udev.h
+++ b/include/libcamera/internal/device_enumerator_udev.h
@@ -4,8 +4,8 @@
*
* device_enumerator_udev.h - udev-based device enumerator
*/
-#ifndef __LIBCAMERA_DEVICE_ENUMERATOR_UDEV_H__
-#define __LIBCAMERA_DEVICE_ENUMERATOR_UDEV_H__
+#ifndef __LIBCAMERA_INTERNAL_DEVICE_ENUMERATOR_UDEV_H__
+#define __LIBCAMERA_INTERNAL_DEVICE_ENUMERATOR_UDEV_H__
#include <list>
#include <map>
@@ -72,4 +72,4 @@ private:
} /* namespace libcamera */
-#endif /* __LIBCAMERA_DEVICE_ENUMERATOR_UDEV_H__ */
+#endif /* __LIBCAMERA_INTERNAL_DEVICE_ENUMERATOR_UDEV_H__ */
diff --git a/include/libcamera/internal/event_dispatcher_poll.h b/include/libcamera/internal/event_dispatcher_poll.h
index 3c909966..39d9be52 100644
--- a/include/libcamera/internal/event_dispatcher_poll.h
+++ b/include/libcamera/internal/event_dispatcher_poll.h
@@ -4,8 +4,8 @@
*
* event_dispatcher_poll.h - Poll-based event dispatcher
*/
-#ifndef __LIBCAMERA_EVENT_DISPATCHER_POLL_H__
-#define __LIBCAMERA_EVENT_DISPATCHER_POLL_H__
+#ifndef __LIBCAMERA_INTERNAL_EVENT_DISPATCHER_POLL_H__
+#define __LIBCAMERA_INTERNAL_EVENT_DISPATCHER_POLL_H__
#include <list>
#include <map>
@@ -55,4 +55,4 @@ private:
} /* namespace libcamera */
-#endif /* __LIBCAMERA_EVENT_DISPATCHER_POLL_H__ */
+#endif /* __LIBCAMERA_INTERNAL_EVENT_DISPATCHER_POLL_H__ */
diff --git a/include/libcamera/internal/file.h b/include/libcamera/internal/file.h
index f020f2cc..e3e72132 100644
--- a/include/libcamera/internal/file.h
+++ b/include/libcamera/internal/file.h
@@ -4,8 +4,8 @@
*
* file.h - File I/O operations
*/
-#ifndef __LIBCAMERA_FILE_H__
-#define __LIBCAMERA_FILE_H__
+#ifndef __LIBCAMERA_INTERNAL_FILE_H__
+#define __LIBCAMERA_INTERNAL_FILE_H__
#include <map>
#include <string>
@@ -68,4 +68,4 @@ private:
} /* namespace libcamera */
-#endif /* __LIBCAMERA_FILE_H__ */
+#endif /* __LIBCAMERA_INTERNAL_FILE_H__ */
diff --git a/include/libcamera/internal/formats.h b/include/libcamera/internal/formats.h
index 4455b0f9..4b172efc 100644
--- a/include/libcamera/internal/formats.h
+++ b/include/libcamera/internal/formats.h
@@ -5,8 +5,8 @@
* formats.h - libcamera image formats
*/
-#ifndef __LIBCAMERA_FORMATS_H__
-#define __LIBCAMERA_FORMATS_H__
+#ifndef __LIBCAMERA_INTERNAL_FORMATS_H__
+#define __LIBCAMERA_INTERNAL_FORMATS_H__
#include <map>
#include <vector>
@@ -55,4 +55,4 @@ public:
} /* namespace libcamera */
-#endif /* __LIBCAMERA_FORMATS_H__ */
+#endif /* __LIBCAMERA_INTERNAL_FORMATS_H__ */
diff --git a/include/libcamera/internal/ipa_context_wrapper.h b/include/libcamera/internal/ipa_context_wrapper.h
index bd770e13..4e6f791d 100644
--- a/include/libcamera/internal/ipa_context_wrapper.h
+++ b/include/libcamera/internal/ipa_context_wrapper.h
@@ -4,8 +4,8 @@
*
* ipa_context_wrapper.h - Image Processing Algorithm context wrapper
*/
-#ifndef __LIBCAMERA_IPA_CONTEXT_WRAPPER_H__
-#define __LIBCAMERA_IPA_CONTEXT_WRAPPER_H__
+#ifndef __LIBCAMERA_INTERNAL_IPA_CONTEXT_WRAPPER_H__
+#define __LIBCAMERA_INTERNAL_IPA_CONTEXT_WRAPPER_H__
#include <libcamera/ipa/ipa_interface.h>
@@ -47,4 +47,4 @@ private:
} /* namespace libcamera */
-#endif /* __LIBCAMERA_IPA_CONTEXT_WRAPPER_H__ */
+#endif /* __LIBCAMERA_INTERNAL_IPA_CONTEXT_WRAPPER_H__ */
diff --git a/include/libcamera/internal/ipa_manager.h b/include/libcamera/internal/ipa_manager.h
index 16d74291..9f35b16d 100644
--- a/include/libcamera/internal/ipa_manager.h
+++ b/include/libcamera/internal/ipa_manager.h
@@ -4,8 +4,8 @@
*
* ipa_manager.h - Image Processing Algorithm module manager
*/
-#ifndef __LIBCAMERA_IPA_MANAGER_H__
-#define __LIBCAMERA_IPA_MANAGER_H__
+#ifndef __LIBCAMERA_INTERNAL_IPA_MANAGER_H__
+#define __LIBCAMERA_INTERNAL_IPA_MANAGER_H__
#include <stdint.h>
#include <vector>
@@ -48,4 +48,4 @@ private:
} /* namespace libcamera */
-#endif /* __LIBCAMERA_IPA_MANAGER_H__ */
+#endif /* __LIBCAMERA_INTERNAL_IPA_MANAGER_H__ */
diff --git a/include/libcamera/internal/ipa_module.h b/include/libcamera/internal/ipa_module.h
index 788e31d8..6355671f 100644
--- a/include/libcamera/internal/ipa_module.h
+++ b/include/libcamera/internal/ipa_module.h
@@ -4,8 +4,8 @@
*
* ipa_module.h - Image Processing Algorithm module
*/
-#ifndef __LIBCAMERA_IPA_MODULE_H__
-#define __LIBCAMERA_IPA_MODULE_H__
+#ifndef __LIBCAMERA_INTERNAL_IPA_MODULE_H__
+#define __LIBCAMERA_INTERNAL_IPA_MODULE_H__
#include <stdint.h>
#include <string>
@@ -58,4 +58,4 @@ private:
} /* namespace libcamera */
-#endif /* __LIBCAMERA_IPA_MODULE_H__ */
+#endif /* __LIBCAMERA_INTERNAL_IPA_MODULE_H__ */
diff --git a/include/libcamera/internal/ipa_proxy.h b/include/libcamera/internal/ipa_proxy.h
index e9a36608..aec8f04f 100644
--- a/include/libcamera/internal/ipa_proxy.h
+++ b/include/libcamera/internal/ipa_proxy.h
@@ -4,8 +4,8 @@
*
* ipa_proxy.h - Image Processing Algorithm proxy
*/
-#ifndef __LIBCAMERA_IPA_PROXY_H__
-#define __LIBCAMERA_IPA_PROXY_H__
+#ifndef __LIBCAMERA_INTERNAL_IPA_PROXY_H__
+#define __LIBCAMERA_INTERNAL_IPA_PROXY_H__
#include <memory>
#include <string>
@@ -67,4 +67,4 @@ static proxy##Factory global_##proxy##Factory;
} /* namespace libcamera */
-#endif /* __LIBCAMERA_IPA_PROXY_H__ */
+#endif /* __LIBCAMERA_INTERNAL_IPA_PROXY_H__ */
diff --git a/include/libcamera/internal/ipc_unixsocket.h b/include/libcamera/internal/ipc_unixsocket.h
index 820d0561..9dcaaa26 100644
--- a/include/libcamera/internal/ipc_unixsocket.h
+++ b/include/libcamera/internal/ipc_unixsocket.h
@@ -5,8 +5,8 @@
* ipc_unixsocket.h - IPC mechanism based on Unix sockets
*/
-#ifndef __LIBCAMERA_IPC_UNIXSOCKET_H__
-#define __LIBCAMERA_IPC_UNIXSOCKET_H__
+#ifndef __LIBCAMERA_INTERNAL_IPC_UNIXSOCKET_H__
+#define __LIBCAMERA_INTERNAL_IPC_UNIXSOCKET_H__
#include <stdint.h>
#include <sys/types.h>
@@ -56,4 +56,4 @@ private:
} /* namespace libcamera */
-#endif /* __LIBCAMERA_IPC_UNIXSOCKET_H__ */
+#endif /* __LIBCAMERA_INTERNAL_IPC_UNIXSOCKET_H__ */
diff --git a/include/libcamera/internal/log.h b/include/libcamera/internal/log.h
index cab2034a..4b10087a 100644
--- a/include/libcamera/internal/log.h
+++ b/include/libcamera/internal/log.h
@@ -4,8 +4,8 @@
*
* log.h - Logging infrastructure
*/
-#ifndef __LIBCAMERA_LOG_H__
-#define __LIBCAMERA_LOG_H__
+#ifndef __LIBCAMERA_INTERNAL_LOG_H__
+#define __LIBCAMERA_INTERNAL_LOG_H__
#include <chrono>
#include <sstream>
@@ -127,4 +127,4 @@ LogMessage _log(const char *file, unsigned int line,
} /* namespace libcamera */
-#endif /* __LIBCAMERA_LOG_H__ */
+#endif /* __LIBCAMERA_INTERNAL_LOG_H__ */
diff --git a/include/libcamera/internal/media_device.h b/include/libcamera/internal/media_device.h
index 20e397cc..d0459cde 100644
--- a/include/libcamera/internal/media_device.h
+++ b/include/libcamera/internal/media_device.h
@@ -4,8 +4,8 @@
*
* media_device.h - Media device handler
*/
-#ifndef __LIBCAMERA_MEDIA_DEVICE_H__
-#define __LIBCAMERA_MEDIA_DEVICE_H__
+#ifndef __LIBCAMERA_INTERNAL_MEDIA_DEVICE_H__
+#define __LIBCAMERA_INTERNAL_MEDIA_DEVICE_H__
#include <map>
#include <sstream>
@@ -91,4 +91,4 @@ private:
} /* namespace libcamera */
-#endif /* __LIBCAMERA_MEDIA_DEVICE_H__ */
+#endif /* __LIBCAMERA_INTERNAL_MEDIA_DEVICE_H__ */
diff --git a/include/libcamera/internal/media_object.h b/include/libcamera/internal/media_object.h
index e8f2f27c..be6fb896 100644
--- a/include/libcamera/internal/media_object.h
+++ b/include/libcamera/internal/media_object.h
@@ -4,8 +4,8 @@
*
* media_object.h - Media Device objects: entities, pads and links.
*/
-#ifndef __LIBCAMERA_MEDIA_OBJECT_H__
-#define __LIBCAMERA_MEDIA_OBJECT_H__
+#ifndef __LIBCAMERA_INTERNAL_MEDIA_OBJECT_H__
+#define __LIBCAMERA_INTERNAL_MEDIA_OBJECT_H__
#include <string>
#include <vector>
@@ -121,4 +121,4 @@ private:
} /* namespace libcamera */
-#endif /* __LIBCAMERA_MEDIA_OBJECT_H__ */
+#endif /* __LIBCAMERA_INTERNAL_MEDIA_OBJECT_H__ */
diff --git a/include/libcamera/internal/message.h b/include/libcamera/internal/message.h
index 8e8b013d..92ea64a5 100644
--- a/include/libcamera/internal/message.h
+++ b/include/libcamera/internal/message.h
@@ -4,8 +4,8 @@
*
* message.h - Message queue support
*/
-#ifndef __LIBCAMERA_MESSAGE_H__
-#define __LIBCAMERA_MESSAGE_H__
+#ifndef __LIBCAMERA_INTERNAL_MESSAGE_H__
+#define __LIBCAMERA_INTERNAL_MESSAGE_H__
#include <atomic>
@@ -67,4 +67,4 @@ private:
} /* namespace libcamera */
-#endif /* __LIBCAMERA_MESSAGE_H__ */
+#endif /* __LIBCAMERA_INTERNAL_MESSAGE_H__ */
diff --git a/include/libcamera/internal/pipeline_handler.h b/include/libcamera/internal/pipeline_handler.h
index 428f5887..56968d14 100644
--- a/include/libcamera/internal/pipeline_handler.h
+++ b/include/libcamera/internal/pipeline_handler.h
@@ -4,8 +4,8 @@
*
* pipeline_handler.h - Pipeline handler infrastructure
*/
-#ifndef __LIBCAMERA_PIPELINE_HANDLER_H__
-#define __LIBCAMERA_PIPELINE_HANDLER_H__
+#ifndef __LIBCAMERA_INTERNAL_PIPELINE_HANDLER_H__
+#define __LIBCAMERA_INTERNAL_PIPELINE_HANDLER_H__
#include <list>
#include <map>
@@ -148,4 +148,4 @@ static handler##Factory global_##handler##Factory;
} /* namespace libcamera */
-#endif /* __LIBCAMERA_PIPELINE_HANDLER_H__ */
+#endif /* __LIBCAMERA_INTERNAL_PIPELINE_HANDLER_H__ */
diff --git a/include/libcamera/internal/process.h b/include/libcamera/internal/process.h
index d322fce1..36595106 100644
--- a/include/libcamera/internal/process.h
+++ b/include/libcamera/internal/process.h
@@ -4,8 +4,8 @@
*
* process.h - Process object
*/
-#ifndef __LIBCAMERA_PROCESS_H__
-#define __LIBCAMERA_PROCESS_H__
+#ifndef __LIBCAMERA_INTERNAL_PROCESS_H__
+#define __LIBCAMERA_INTERNAL_PROCESS_H__
#include <string>
#include <vector>
@@ -52,4 +52,4 @@ private:
} /* namespace libcamera */
-#endif /* __LIBCAMERA_PROCESS_H__ */
+#endif /* __LIBCAMERA_INTERNAL_PROCESS_H__ */
diff --git a/include/libcamera/internal/pub_key.h b/include/libcamera/internal/pub_key.h
index f35bf373..f5f988b5 100644
--- a/include/libcamera/internal/pub_key.h
+++ b/include/libcamera/internal/pub_key.h
@@ -4,8 +4,8 @@
*
* pub_key.h - Public key signature verification
*/
-#ifndef __LIBCAMERA_PUB_KEY_H__
-#define __LIBCAMERA_PUB_KEY_H__
+#ifndef __LIBCAMERA_INTERNAL_PUB_KEY_H__
+#define __LIBCAMERA_INTERNAL_PUB_KEY_H__
#include <stdint.h>
@@ -35,4 +35,4 @@ private:
} /* namespace libcamera */
-#endif /* __LIBCAMERA_PUB_KEY_H__ */
+#endif /* __LIBCAMERA_INTERNAL_PUB_KEY_H__ */
diff --git a/include/libcamera/internal/semaphore.h b/include/libcamera/internal/semaphore.h
index 4d93077c..9dc65d29 100644
--- a/include/libcamera/internal/semaphore.h
+++ b/include/libcamera/internal/semaphore.h
@@ -4,8 +4,8 @@
*
* semaphore.h - General-purpose counting semaphore
*/
-#ifndef __LIBCAMERA_SEMAPHORE_H__
-#define __LIBCAMERA_SEMAPHORE_H__
+#ifndef __LIBCAMERA_INTERNAL_SEMAPHORE_H__
+#define __LIBCAMERA_INTERNAL_SEMAPHORE_H__
#include <condition_variable>
@@ -31,4 +31,4 @@ private:
} /* namespace libcamera */
-#endif /* __LIBCAMERA_SEMAPHORE_H__ */
+#endif /* __LIBCAMERA_INTERNAL_SEMAPHORE_H__ */
diff --git a/include/libcamera/internal/thread.h b/include/libcamera/internal/thread.h
index 6594c9b0..7b59e583 100644
--- a/include/libcamera/internal/thread.h
+++ b/include/libcamera/internal/thread.h
@@ -4,8 +4,8 @@
*
* thread.h - Thread support
*/
-#ifndef __LIBCAMERA_THREAD_H__
-#define __LIBCAMERA_THREAD_H__
+#ifndef __LIBCAMERA_INTERNAL_THREAD_H__
+#define __LIBCAMERA_INTERNAL_THREAD_H__
#include <memory>
#include <mutex>
@@ -74,4 +74,4 @@ private:
} /* namespace libcamera */
-#endif /* __LIBCAMERA_THREAD_H__ */
+#endif /* __LIBCAMERA_INTERNAL_THREAD_H__ */
diff --git a/include/libcamera/internal/utils.h b/include/libcamera/internal/utils.h
index 3334ff16..0953423e 100644
--- a/include/libcamera/internal/utils.h
+++ b/include/libcamera/internal/utils.h
@@ -4,8 +4,8 @@
*
* utils.h - Miscellaneous utility functions
*/
-#ifndef __LIBCAMERA_UTILS_H__
-#define __LIBCAMERA_UTILS_H__
+#ifndef __LIBCAMERA_INTERNAL_UTILS_H__
+#define __LIBCAMERA_INTERNAL_UTILS_H__
#include <algorithm>
#include <chrono>
@@ -194,4 +194,4 @@ std::string libcameraSourcePath();
} /* namespace libcamera */
-#endif /* __LIBCAMERA_UTILS_H__ */
+#endif /* __LIBCAMERA_INTERNAL_UTILS_H__ */
diff --git a/include/libcamera/internal/v4l2_controls.h b/include/libcamera/internal/v4l2_controls.h
index cffe9efd..0851b8dd 100644
--- a/include/libcamera/internal/v4l2_controls.h
+++ b/include/libcamera/internal/v4l2_controls.h
@@ -5,8 +5,8 @@
* v4l2_controls.h - V4L2 Controls Support
*/
-#ifndef __LIBCAMERA_V4L2_CONTROLS_H__
-#define __LIBCAMERA_V4L2_CONTROLS_H__
+#ifndef __LIBCAMERA_INTERNAL_V4L2_CONTROLS_H__
+#define __LIBCAMERA_INTERNAL_V4L2_CONTROLS_H__
#include <linux/videodev2.h>
@@ -28,4 +28,4 @@ public:
} /* namespace libcamera */
-#endif /* __LIBCAMERA_V4L2_CONTROLS_H__ */
+#endif /* __LIBCAMERA_INTERNAL_V4L2_CONTROLS_H__ */
diff --git a/include/libcamera/internal/v4l2_device.h b/include/libcamera/internal/v4l2_device.h
index d491eafd..bf643f2e 100644
--- a/include/libcamera/internal/v4l2_device.h
+++ b/include/libcamera/internal/v4l2_device.h
@@ -4,8 +4,8 @@
*
* v4l2_device.h - Common base for V4L2 video devices and subdevices
*/
-#ifndef __LIBCAMERA_V4L2_DEVICE_H__
-#define __LIBCAMERA_V4L2_DEVICE_H__
+#ifndef __LIBCAMERA_INTERNAL_V4L2_DEVICE_H__
+#define __LIBCAMERA_INTERNAL_V4L2_DEVICE_H__
#include <map>
#include <memory>
@@ -57,4 +57,4 @@ private:
} /* namespace libcamera */
-#endif /* __LIBCAMERA_V4L2_DEVICE_H__ */
+#endif /* __LIBCAMERA_INTERNAL_V4L2_DEVICE_H__ */
diff --git a/include/libcamera/internal/v4l2_pixelformat.h b/include/libcamera/internal/v4l2_pixelformat.h
index 4d0e034b..9bfd81ad 100644
--- a/include/libcamera/internal/v4l2_pixelformat.h
+++ b/include/libcamera/internal/v4l2_pixelformat.h
@@ -5,8 +5,8 @@
*
* v4l2_pixelformat.h - V4L2 Pixel Format
*/
-#ifndef __LIBCAMERA_V4L2_PIXELFORMAT_H__
-#define __LIBCAMERA_V4L2_PIXELFORMAT_H__
+#ifndef __LIBCAMERA_INTERNAL_V4L2_PIXELFORMAT_H__
+#define __LIBCAMERA_INTERNAL_V4L2_PIXELFORMAT_H__
#include <stdint.h>
#include <string>
@@ -46,4 +46,4 @@ private:
} /* namespace libcamera */
-#endif /* __LIBCAMERA_V4L2_PIXELFORMAT_H__ */
+#endif /* __LIBCAMERA_INTERNAL_V4L2_PIXELFORMAT_H__ */
diff --git a/include/libcamera/internal/v4l2_subdevice.h b/include/libcamera/internal/v4l2_subdevice.h
index 07dc93d9..a3ecf123 100644
--- a/include/libcamera/internal/v4l2_subdevice.h
+++ b/include/libcamera/internal/v4l2_subdevice.h
@@ -4,8 +4,8 @@
*
* v4l2_subdevice.h - V4L2 Subdevice
*/
-#ifndef __LIBCAMERA_V4L2_SUBDEVICE_H__
-#define __LIBCAMERA_V4L2_SUBDEVICE_H__
+#ifndef __LIBCAMERA_INTERNAL_V4L2_SUBDEVICE_H__
+#define __LIBCAMERA_INTERNAL_V4L2_SUBDEVICE_H__
#include <string>
#include <vector>
@@ -74,4 +74,4 @@ private:
} /* namespace libcamera */
-#endif /* __LIBCAMERA_V4L2_SUBDEVICE_H__ */
+#endif /* __LIBCAMERA_INTERNAL_V4L2_SUBDEVICE_H__ */
diff --git a/include/libcamera/internal/v4l2_videodevice.h b/include/libcamera/internal/v4l2_videodevice.h
index 45c3404c..4d21f5a0 100644
--- a/include/libcamera/internal/v4l2_videodevice.h
+++ b/include/libcamera/internal/v4l2_videodevice.h
@@ -4,8 +4,8 @@
*
* v4l2_videodevice.h - V4L2 Video Device
*/
-#ifndef __LIBCAMERA_V4L2_VIDEODEVICE_H__
-#define __LIBCAMERA_V4L2_VIDEODEVICE_H__
+#ifndef __LIBCAMERA_INTERNAL_V4L2_VIDEODEVICE_H__
+#define __LIBCAMERA_INTERNAL_V4L2_VIDEODEVICE_H__
#include <atomic>
#include <memory>
@@ -274,4 +274,4 @@ private:
} /* namespace libcamera */
-#endif /* __LIBCAMERA_V4L2_VIDEODEVICE_H__ */
+#endif /* __LIBCAMERA_INTERNAL_V4L2_VIDEODEVICE_H__ */