Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp4484386imb; Wed, 6 Mar 2019 14:46:09 -0800 (PST) X-Google-Smtp-Source: APXvYqxK78pU+Ox0YtCvmcxkzy3uULCxN1Pu69ia/1/lQRcSSTikgFzvJTBJvywgiHRVyY2m3x5i X-Received: by 2002:a17:902:5066:: with SMTP id f35mr9688203plh.184.1551912369855; Wed, 06 Mar 2019 14:46:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551912369; cv=none; d=google.com; s=arc-20160816; b=gCS7x7tNys5kzJOcpaGWFpTKpPidDIFfm3jrgIVhDYOVg+/pSXLxKD3la/lZ4UI+GS KClrSH3o/VKBIwPZiLYfFx2r5juHhWajsn8AVPjZcfzTOsBVmsuiaouhuxQDUZkHPQe6 SsgpMc+NeUpMu9E9UO59QRScjri5YzLH0VCMz+LmTjDoOJKNd4UCkLWJXWu49n9PyVxo WHOyNHhetMer7p3bjNQAUfO4NCkXbUbSbvfZgyWfECIZ81ZIEA1PLszdwim0FSWVZHlb SnBacbczFYgIVI/0Z2oEEtrYhGDfzm3daykFzVufmvJtGxI+61YMTiho3IapCIsKdyCA ZHsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=D/scHOj6hEkVqR3gdB8gG3uPkQGptpcyOhEIBZbmpmw=; b=ry7a1F1fNan84Xs3fmldWK4NZwvs4uTH1dFHiifh9v/33kYmxhDnR6mKE6XzDB6l3e 1oNjnya0cBX5Z+cryjWEpG5gE7w5qMxnpIifk0m5P1f/DhTZMr0y5sAeqZEa16eatCmo 7JgOPDcnlpH587C4trgC6aJQDlXeymrzDQJC3IF+4q6gfAANkmFH9bnhl73kprW9R6mL Tr7TKDE7qU+9I7FfwXSpj1eNG7Jr3QNk4Oalvr2BoHspWMkU7/95lVWwm0FCXO6Luzd6 iaazGpL8FvDD3sxcVXtT6jaEWIBqXwtjWTDSc8mEncA9Im4q9M/bpG5hAA3DtBH6TfTh TYWw== 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=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i3si2378351pgq.282.2019.03.06.14.45.54; Wed, 06 Mar 2019 14:46:09 -0800 (PST) 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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726408AbfCFWnt (ORCPT + 99 others); Wed, 6 Mar 2019 17:43:49 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:60874 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725793AbfCFWnt (ORCPT ); Wed, 6 Mar 2019 17:43:49 -0500 Received: from localhost.localdomain (unknown [IPv6:2804:431:9719:798c:6bb0:a97a:4a09:e6d8]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: koike) by bhuna.collabora.co.uk (Postfix) with ESMTPSA id 2218E27FF14; Wed, 6 Mar 2019 22:43:36 +0000 (GMT) From: Helen Koike To: linux-media@vger.kernel.org Cc: lucmaga@gmail.com, linux-kernel@vger.kernel.org, lkcamp@lists.libreplanetbr.org, andrealmeid@collabora.com, Hans Verkuil , kernel@collabora.com Subject: [PATCH 6/8] media: vimc: stream: add docs to struct vimc_stream Date: Wed, 6 Mar 2019 19:42:42 -0300 Message-Id: <20190306224244.21070-7-helen.koike@collabora.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190306224244.21070-1-helen.koike@collabora.com> References: <20190306224244.21070-1-helen.koike@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add missing documentation for struct vimc_stream Signed-off-by: Helen Koike --- drivers/media/platform/vimc/vimc-streamer.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/drivers/media/platform/vimc/vimc-streamer.h b/drivers/media/platform/vimc/vimc-streamer.h index dc1d0be431cb..a7c5ac5ace4f 100644 --- a/drivers/media/platform/vimc/vimc-streamer.h +++ b/drivers/media/platform/vimc/vimc-streamer.h @@ -15,6 +15,21 @@ #define VIMC_STREAMER_PIPELINE_MAX_SIZE 16 +/** + * struct vimc_stream - struct that represents a stream in the pipeline + * + * @pipe: the media pipeline object associated with this stream + * @ved_pipeline: array containing all the entities participating in the + * stream. The order is from a video device (usually a capture device) where + * stream_on was called, to the entity generating the first base image to be + * processed in the pipeline. + * @pipe_size: size of @ved_pipeline + * @kthread: thread that generates the frames of the stream. + * + * When the user call stream_on in a video device, struct vimc_stream is + * used to keep track of all entities and subdevices that generates and + * process frames for the stream. + */ struct vimc_stream { struct media_pipeline pipe; struct vimc_ent_device *ved_pipeline[VIMC_STREAMER_PIPELINE_MAX_SIZE]; -- 2.20.1