From patchwork Thu Jun 4 13:42:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marvin Schmidt X-Patchwork-Id: 3923 Return-Path: Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 0A5D7612EF for ; Thu, 4 Jun 2020 15:43:10 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="fzHtgAkg"; dkim-atps=neutral Received: by mail-ej1-x62f.google.com with SMTP id f7so6155029ejq.6 for ; Thu, 04 Jun 2020 06:43:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=TBqP2ZRwVdsbQobpgGvxb5hToeiLg6eQQa9fRz0Tq64=; b=fzHtgAkgliM980oujlb4c/27R4tbxpQ4AwgN5C2cssds05WOacwrrNCjkQh9relyZu I7aCCWnRq1KBUiLGSTlw9UqhkZKHcgGceGngH6O36uOv7LkJc3ihm0wzpWsjUtAMQZXS dWJ9FjYvnIw2zJTXhe8RO72Hv1PuvxNjtb4LC303xtfjn08ACNGrevIC6m6bbWhNhqvI ylu6gn1lUoZde9XvEZrytJJDqGMskQCwZ/f/Qb1hKfRa18OKnnESvcqR/4RLQK/lSeDx YseXx3s5tXy7EYZ/BbjCyUyI2VXBzSqObtSpwtEiQQqA29avae2TdJLllqe2rDquHrht nf8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=TBqP2ZRwVdsbQobpgGvxb5hToeiLg6eQQa9fRz0Tq64=; b=dRGMEToBHBHmyJMfLbICBATLvhdFHgAHPdknc5d8MV7Cvyx9JsK1W+nrSa8+iloUg0 MpEIukKbzOQhHJZGV4BTn5XnOX2hI0Wl+sxIGxS10h1EftsUlPK1/akrl3O5g6xQZw4U G1Xtk1/d9WFi2mjKqjCFzVmd1J3h6vmLqYjRJM++Lpr/ApfXCGQ9JhnwoemPFsLC3imO d/SqUgHOMIdQOQ+tULZ80zOQcuesFZkHpwKlNE35BRZjNc0IMmcDzj27lIe3Iuvb4wHE guNMcgtHE8BaArv6BjOrCYxLMN0KmvmWG7BZ4iLIQwYRT/S6DPpTIj8GsIY4rAT5aw61 oUgA== X-Gm-Message-State: AOAM533CU/e6MAyFwbBqUPZFwkIhFv3gec/l8syB6dz91ILVB3j436on +QMDaaXuIezD3O06FXVgcfpc9pWO X-Google-Smtp-Source: ABdhPJyJPDvP2fUTVx1uPNq4ut+vyhcj/SBzsT/jbHRFHlTVs5HoL8G3ukTjBKJsLck8Zi+KbmJM2w== X-Received: by 2002:a17:906:c812:: with SMTP id cx18mr3900470ejb.94.1591278189545; Thu, 04 Jun 2020 06:43:09 -0700 (PDT) Received: from pythagoras.local (x4d0a9ed1.dyn.telefonica.de. [77.10.158.209]) by smtp.gmail.com with ESMTPSA id v16sm2226675ejq.74.2020.06.04.06.43.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jun 2020 06:43:09 -0700 (PDT) From: Marvin Schmidt To: libcamera-devel@lists.libcamera.org Date: Thu, 4 Jun 2020 15:42:58 +0200 Message-Id: <20200604134300.2986113-5-marvin.schmidt1987@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200604134300.2986113-1-marvin.schmidt1987@gmail.com> References: <20200604134300.2986113-1-marvin.schmidt1987@gmail.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 4/6] docs: Markup LD_PRELOAD as code X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jun 2020 13:43:10 -0000 --- Documentation/docs.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Reviewed-by: Kieran Bingham diff --git a/Documentation/docs.rst b/Documentation/docs.rst index 873d8cd..f4c6ec5 100644 --- a/Documentation/docs.rst +++ b/Documentation/docs.rst @@ -148,7 +148,7 @@ V4L2 Compatibility Layer The project shall support traditional V4L2 application through an additional libcamera wrapper library. The wrapper library shall trap all accesses to -camera devices through LD_PRELOAD, and route them through libcamera to +camera devices through `LD_PRELOAD`, and route them through libcamera to emulate a high-level V4L2 camera device. It shall expose camera device features on a best-effort basis, and aim for the level of features traditionally available from a UVC camera designed for video conferencing. @@ -380,7 +380,7 @@ V4L2 Compatibility Layer V4L2 compatibility is achieved through a shared library that traps all accesses to camera devices and routes them to libcamera to emulate high-level V4L2 camera devices. It is injected in a process address space through -LD_PRELOAD and is completely transparent for applications. +`LD_PRELOAD` and is completely transparent for applications. The compatibility layer exposes camera device features on a best-effort basis, and aims for the level of features traditionally available from a UVC camera