From patchwork Fri Jun 5 08:26:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marvin Schmidt X-Patchwork-Id: 3932 Return-Path: Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 5A61B6120E for ; Fri, 5 Jun 2020 10:26:54 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="hv+JIYvC"; dkim-atps=neutral Received: by mail-ej1-x633.google.com with SMTP id z5so9166316ejb.3 for ; Fri, 05 Jun 2020 01:26:54 -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=/SYhnHTFrZ3mKOkVBwL6EjqJroBlXqIGQO7x8uDjcJI=; b=hv+JIYvCZd4QVpjBDsEzFjl7/sVFVZgJS4h1M60mEKYbMm96GH9de8ElGlMHGOsFPr mPvRVCwleaALGdD8sEpGYxAPT8bYvNuuxT+1J01CS7320Yjo+HuVgoP1SlIegt8xQ0xH 0bE0JukwjYFUo6OJD9c9ROCsRP+XM5luhkx1UXlWocRqwziw0oUareKkb8+Ieq3fIAyh FWn6IrKhoiRoAFEWXt3HeT7WnV0SFSgiouOMtL23gmQsNTn/VOvukk5+u77p8avwoPZ6 Yi5Bc1RTrZO6dmvUitFRVSD7ug6oyTM/mGdNIXviG8qd2cvECu2T6hHUfUPP6OM1pRPZ KeiQ== 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=/SYhnHTFrZ3mKOkVBwL6EjqJroBlXqIGQO7x8uDjcJI=; b=AVEBBwdjIE97LIOtCNJO50qHfvYM8IBcfixd3XFIrja9hUQP4YDyEOqgqwzZlVXqTS z2Y9isTeayrAknlnT9TDIn6v0vBPRd2W3L5+S0JShFBVTNtNuUmrADq303+brQtnDR/L eY4g90t0nndMvdjUlW4K7LB2vw9twf8qDyl/27rr3mr4afk70Psf0s6ze1iVmvD7H46O n2Fcio+Qk0KpMmJ+KIFGzhgDBIuGUqh/Osq3pu4LHcOzDpH6VAapZvXZB0e0wmKDg+JV SaaC0Y/nG7WRDfQWJAy7JpjxezmN9e/6wjyQjF/41tYO/1cuxQcz8KMj8wDPFnRp0VtI /xxQ== X-Gm-Message-State: AOAM5336rGfsm8aN5gVM4y5bdz2S+Tt6whRObrRClnprAPr1vjKuM7aE wB4dxEoo01KcDBGDNYUgMUcrA3ZW1g0= X-Google-Smtp-Source: ABdhPJy1/kMg0DvY22+gPc/Y2m3IcJfsC5HE30Zh4S/R6sKa7WK76pGk7bPiCuALKJR/xMK6GufyWw== X-Received: by 2002:a17:906:ccd5:: with SMTP id ot21mr7479159ejb.508.1591345613887; Fri, 05 Jun 2020 01:26:53 -0700 (PDT) Received: from pythagoras.local (x5f7085d1.dyn.telefonica.de. [95.112.133.209]) by smtp.gmail.com with ESMTPSA id i9sm3684473ejv.44.2020.06.05.01.26.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jun 2020 01:26:53 -0700 (PDT) From: Marvin Schmidt To: libcamera-devel@lists.libcamera.org Date: Fri, 5 Jun 2020 10:26:16 +0200 Message-Id: <20200605082618.3793785-5-marvin.schmidt1987@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200605082618.3793785-1-marvin.schmidt1987@gmail.com> References: <20200605082618.3793785-1-marvin.schmidt1987@gmail.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v2 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: Fri, 05 Jun 2020 08:26:55 -0000 LD_PRELOAD is an environment variable, use code markup to reflect that semantic Signed-off-by: Marvin Schmidt Reviewed-by: Kieran Bingham Reviewed-by: Laurent Pinchart --- Documentation/docs.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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