From patchwork Tue Aug 8 13:30:16 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Todor Tomov X-Patchwork-Id: 109643 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp2954121qge; Tue, 8 Aug 2017 06:31:44 -0700 (PDT) X-Received: by 10.84.228.214 with SMTP id y22mr4836726pli.245.1502199104287; Tue, 08 Aug 2017 06:31:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502199104; cv=none; d=google.com; s=arc-20160816; b=M2RHI4Fj2B6mV7+9iPHFOrxXbn5wv32ydhSzeoFp6AZQapZQ+0KHrdkaWX4vzdyhw0 FjzHVSkb6RBgjG5+vHpeXwhk85r7jkjcgvh76qtRtN1Js1A4j3zo3VZxifET4nc6A/WG RS6o2KEN0RaLppFOlRiKNMadq0bcmTw2bfhgQpfyBxHvEEqV+foxnZ7gw83LrupEiZ4o NzvJNQoMU20l3kqrafbwnand0cRoTMNKcf66YLNKzrQNgd3XbfduP4Kw8AB31A3AQkOb XkopvvJ+Z9ieZYU6Kne1mlZyhQ6tfr1BLHgdRNQBBf5a1Duub4DfnlZc2bFlrbL2vsi0 4K2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=wy8uQLiXkhCvweo+EvEoX4oSLd2XsHQlWkXOW55Zlqc=; b=kq1s2tuNDj78PNA7zxU4cnMBM4IBqU/M0aZivakhXUJDC4EvrGoQxz/AH/x/I+B+7D F6YucyN72DrC+1JHjTj8/wyvAzaOaSypCZkKeQRA8/e0nz96GvAkhtlRnMF3mTVU8HxY P6mvpN2bNlakqa2dzDe+JHFzH3JGiQEtdruZrGp2Se4ImHt7a9XnSqqcapuZl1KKLoUu iBCTn/JQ7yYwEXJfQX1i8M6nofVY/g2VVyYgGOcMUPEC+RFAmgLKlHsNM8MVLgXFe1yz bxDGRB/RmIjcZejvYkmMZipciW2jZGsBz3OyzhAth0IPCJltJME1421TGskYKjAMvgiV 0ipw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o33si739903pld.779.2017.08.08.06.31.44; Tue, 08 Aug 2017 06:31:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752248AbdHHNbm (ORCPT + 9 others); Tue, 8 Aug 2017 09:31:42 -0400 Received: from ns.mm-sol.com ([37.157.136.199]:40281 "EHLO extserv.mm-sol.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752348AbdHHNbA (ORCPT ); Tue, 8 Aug 2017 09:31:00 -0400 Received: from mms-0439.qualcomm.mm-sol.com (unknown [37.157.136.206]) by extserv.mm-sol.com (Postfix) with ESMTPSA id 8CFC04F894; Tue, 8 Aug 2017 16:30:53 +0300 (EEST) From: Todor Tomov To: mchehab@kernel.org, hans.verkuil@cisco.com, s.nawrocki@samsung.com, sakari.ailus@iki.fi, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Todor Tomov Subject: [PATCH v4 19/21] doc: media/v4l-drivers: Qualcomm Camera Subsystem - Scale and crop Date: Tue, 8 Aug 2017 16:30:16 +0300 Message-Id: <1502199018-28250-20-git-send-email-todor.tomov@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1502199018-28250-1-git-send-email-todor.tomov@linaro.org> References: <1502199018-28250-1-git-send-email-todor.tomov@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Update the Qualcomm Camera Subsystem driver document for VFE scale and crop modules support. Signed-off-by: Todor Tomov --- Documentation/media/v4l-drivers/qcom_camss.rst | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Documentation/media/v4l-drivers/qcom_camss.rst b/Documentation/media/v4l-drivers/qcom_camss.rst index d888443..e6e948f 100644 --- a/Documentation/media/v4l-drivers/qcom_camss.rst +++ b/Documentation/media/v4l-drivers/qcom_camss.rst @@ -35,7 +35,8 @@ driver consists of: the CSIDs to the inputs of the VFE; - VFE (Video Front End) module. Contains a pipeline of image processing hardware blocks. The VFE has different input interfaces. The PIX input interface feeds - the input data to the image processing pipeline. Three RDI input interfaces + the input data to the image processing pipeline. The image processing pipeline + contains also a scale and crop module at the end. Three RDI input interfaces bypass the image processing pipeline. The VFE also contains the AXI bus interface which writes the output data to memory. @@ -74,6 +75,11 @@ The current version of the driver supports: - NV12/NV21 (two plane YUV 4:2:0 - V4L2_PIX_FMT_NV12 / V4L2_PIX_FMT_NV21); - NV16/NV61 (two plane YUV 4:2:2 - V4L2_PIX_FMT_NV16 / V4L2_PIX_FMT_NV61). + - Scaling support. Configuration of the VFE Encoder Scale module + for downscalling with ratio up to 16x. + + - Cropping support. Configuration of the VFE Encoder Crop module. + - Concurrent and independent usage of two data inputs - could be camera sensors and/or TG. @@ -135,6 +141,12 @@ not required to implement the currently supported functionality. The complete configuration on each hardware module is applied on STREAMON ioctl based on the current active media links, formats and controls set. +The output size of the scaler module in the VFE is configured with the actual +compose selection rectangle on the sink pad of the 'msm_vfe0_pix' entity. + +The crop output area of the crop module in the VFE is configured with the actual +crop selection rectangle on the source pad of the 'msm_vfe0_pix' entity. + Documentation -------------