summaryrefslogtreecommitdiff
path: root/Documentation/environment_variables.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/environment_variables.rst')
-rw-r--r--Documentation/environment_variables.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/environment_variables.rst b/Documentation/environment_variables.rst
index 4e9fbb27..7cc13e9f 100644
--- a/Documentation/environment_variables.rst
+++ b/Documentation/environment_variables.rst
@@ -37,6 +37,11 @@ LIBCAMERA_IPA_MODULE_PATH
Example value: ``${HOME}/.libcamera/lib:/opt/libcamera/vendor/lib``
+LIBCAMERA_IPA_PROXY_PATH
+ Define custom full path for a proxy worker for a given executable name.
+
+ Example value: ``${HOME}/.libcamera/proxy/worker:/opt/libcamera/vendor/proxy/worker``
+
LIBCAMERA_PIPELINES_MATCH_LIST
Define an ordered list of pipeline names to be used to match the media
devices in the system. The pipeline handler names used to populate the
@@ -50,6 +55,11 @@ LIBCAMERA_RPI_CONFIG_FILE
Example value: ``/usr/local/share/libcamera/pipeline/rpi/vc4/minimal_mem.yaml``
+LIBCAMERA_RPI_TUNING_FILE
+ Define a custom JSON tuning file to use in the Raspberry Pi.
+
+ Example value: ``/usr/local/share/libcamera/ipa/rpi/vc4/custom_sensor.json``
+
Further details
---------------
ase/class.h> #include <libcamera/base/log.h> #include <libcamera/geometry.h> #include "libcamera/internal/formats.h" #include "libcamera/internal/media_object.h" #include "libcamera/internal/v4l2_device.h" namespace libcamera { class MediaDevice; struct V4L2SubdeviceFormat { uint32_t mbus_code; Size size; const std::string toString() const; uint8_t bitsPerPixel() const; }; class V4L2Subdevice : public V4L2Device { public: using Formats = std::map<unsigned int, std::vector<SizeRange>>; enum Whence { ActiveFormat, TryFormat, }; explicit V4L2Subdevice(const MediaEntity *entity); ~V4L2Subdevice(); int open(); const MediaEntity *entity() const { return entity_; } int getSelection(unsigned int pad, unsigned int target, Rectangle *rect); int setSelection(unsigned int pad, unsigned int target, Rectangle *rect); Formats formats(unsigned int pad); int getFormat(unsigned int pad, V4L2SubdeviceFormat *format, Whence whence = ActiveFormat); int setFormat(unsigned int pad, V4L2SubdeviceFormat *format, Whence whence = ActiveFormat); static std::unique_ptr<V4L2Subdevice> fromEntityName(const MediaDevice *media, const std::string &entity); protected: std::string logPrefix() const override; private: LIBCAMERA_DISABLE_COPY(V4L2Subdevice) std::vector<unsigned int> enumPadCodes(unsigned int pad); std::vector<SizeRange> enumPadSizes(unsigned int pad, unsigned int code); const MediaEntity *entity_; }; } /* namespace libcamera */ #endif /* __LIBCAMERA_INTERNAL_V4L2_SUBDEVICE_H__ */