summaryrefslogtreecommitdiff
path: root/Documentation/environment_variables.rst
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2025-01-23 16:34:56 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2025-01-24 22:41:36 +0200
commitf5da05ed03eea8bf8911edb554c80f402a410c0f (patch)
treeaa35fc3452085d5fc7838422abcdf824b3673e77 /Documentation/environment_variables.rst
parent3e753e2273508f6f8fa20d645592a763771f6c86 (diff)
libcamera: pipeline: Move tuning file override handling to IPAProxy
The rkisp1 and rpi pipeline handlers duplicate code to handle the LIBCAMERA_RKISP1_TUNING_FILE and LIBCAMERA_RPI_TUNING_FILE environment variables that override tuning file selection. Move the common code to IPAProxy::configurationFile() to avoid the duplication, and make the feature available to all pipeline handlers with the same behaviour. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Stefan Klug <stefan.klug@ideasonboard.com>
Diffstat (limited to 'Documentation/environment_variables.rst')
-rw-r--r--Documentation/environment_variables.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/environment_variables.rst b/Documentation/environment_variables.rst
index 7da9883a..6f123558 100644
--- a/Documentation/environment_variables.rst
+++ b/Documentation/environment_variables.rst
@@ -57,8 +57,8 @@ 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.
+LIBCAMERA_<NAME>_TUNING_FILE
+ Define a custom IPA tuning file to use with the pipeline handler `NAME`.
Example value: ``/usr/local/share/libcamera/ipa/rpi/vc4/custom_sensor.json``