From f5da05ed03eea8bf8911edb554c80f402a410c0f Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Thu, 23 Jan 2025 16:34:56 +0200 Subject: 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 Reviewed-by: Stefan Klug --- Documentation/environment_variables.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Documentation/environment_variables.rst') 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__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`` -- cgit v1.2.1