From patchwork Mon Jun 19 14:48:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Todor Tomov X-Patchwork-Id: 105840 Delivered-To: patch@linaro.org Received: by 10.140.91.2 with SMTP id y2csp915054qgd; Mon, 19 Jun 2017 07:56:52 -0700 (PDT) X-Received: by 10.84.224.79 with SMTP id a15mr9522829plt.78.1497884212579; Mon, 19 Jun 2017 07:56:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497884212; cv=none; d=google.com; s=arc-20160816; b=EK2fzKbsjzlgCDse8Zd1iPX3daxqqjvhnvjxeW0jIkfUFWHIGaNbMNDFudu2MgcpJ8 Kx9X82mmjv1gAJUbSbsBTIEYM36Kr2KnES9/bfROab/Y2Ar7ma8Tsm27PA08617hmKQg 0kTRDg/8z7fl7rbWm++Z1Vg5vtCekGqw0Vyjm4FJlrf199LT3UJOHmnerWopvUNIN2hs 3uL7Mz4irVK3XDSHM4frFHU8yRBnBexhcxsh7F2vqVssCV3fqymLu64k6Fone1tIurCr Caslpi13TdZSXRXI2XWCF2MYzb8h8BctPOr9SWQCA2EB1Hb0GaLZFXbtoFaB55gJtodW 01ZQ== 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=8YC3z9sXmFY1w4ZvXucHkZ7Yi97QijSn94hmrLb/v4A=; b=qbzo/lGd+JxRvDYgoIpWAyUw7s4/2vjI+wCQhqMkYf4TbCTACKEuN2zC2SEIdEnGaj ktY/q+/WSkaj52Do4X2fOPL0f3F6jERDpIL2Zk8+hdmHGWTXKVETpSp5p94XRG7UERYd th5T75pFtpZUInzB9ecl1dSXUt66lScztXcEJmbnhInjfAxCxoyuKmv/QZEOwDyoP7qu o+uC05UcA9Y5YRu1IlPSRDTNeSQE/rK0gMvF0dofsquycnLtQRIoCdGsLS/UfF15jUgB 6t9iiWwDB+JigSI5tpff/y3Eqzec95Ez13pJoPzBuBoOxlAb8qUbnUaPcjwnpGqToMw1 naVQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 z16si8035761pfi.467.2017.06.19.07.56.52; Mon, 19 Jun 2017 07:56:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1752137AbdFSO4m (ORCPT + 25 others); Mon, 19 Jun 2017 10:56:42 -0400 Received: from ns.mm-sol.com ([37.157.136.199]:56072 "EHLO extserv.mm-sol.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751385AbdFSO4j (ORCPT ); Mon, 19 Jun 2017 10:56:39 -0400 Received: from mms-0439.qualcomm.mm-sol.com (unknown [37.157.136.206]) by extserv.mm-sol.com (Postfix) with ESMTPSA id 4146A4F892; Mon, 19 Jun 2017 17:49:24 +0300 (EEST) From: Todor Tomov To: mchehab@kernel.org, hans.verkuil@cisco.com, javier@osg.samsung.com, s.nawrocki@samsung.com, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Todor Tomov Subject: [PATCH v2 18/19] doc: media/v4l-drivers: Qualcomm Camera Subsystem - Scale and crop Date: Mon, 19 Jun 2017 17:48:38 +0300 Message-Id: <1497883719-12410-19-git-send-email-todor.tomov@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1497883719-12410-1-git-send-email-todor.tomov@linaro.org> References: <1497883719-12410-1-git-send-email-todor.tomov@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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(-) -- 1.9.1 diff --git a/Documentation/media/v4l-drivers/qcom_camss.rst b/Documentation/media/v4l-drivers/qcom_camss.rst index 4df5655..7e4ab6e 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. @@ -69,6 +70,11 @@ The current version of the driver supports: - NV12/NV21 (two plane YUV 4:2:0); - NV16/NV61 (two plane YUV 4:2:2). + - 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. @@ -130,6 +136,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 -------------