diff options
author | Helen Fornazier <helen.koike@collabora.com> | 2019-03-06 17:42:42 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-03-19 15:55:27 -0400 |
commit | 43e3b726f5e1b34e4d6bdacc72fdde84cfffaf13 (patch) | |
tree | 8bd71977a4cbdc52f6acd6a0cc8ddddf172e91dd /drivers/media/platform/vimc/vimc-streamer.h | |
parent | b72e449521247a463572c8398a7517d231207f00 (diff) |
media: vimc: stream: add docs to struct vimc_stream
Add missing documentation for struct vimc_stream
Signed-off-by: Helen Koike <helen.koike@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/platform/vimc/vimc-streamer.h')
-rw-r--r-- | drivers/media/platform/vimc/vimc-streamer.h | 15 |
1 files changed, 15 insertions, 0 deletions
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 @@ | |||
15 | 15 | ||
16 | #define VIMC_STREAMER_PIPELINE_MAX_SIZE 16 | 16 | #define VIMC_STREAMER_PIPELINE_MAX_SIZE 16 |
17 | 17 | ||
18 | /** | ||
19 | * struct vimc_stream - struct that represents a stream in the pipeline | ||
20 | * | ||
21 | * @pipe: the media pipeline object associated with this stream | ||
22 | * @ved_pipeline: array containing all the entities participating in the | ||
23 | * stream. The order is from a video device (usually a capture device) where | ||
24 | * stream_on was called, to the entity generating the first base image to be | ||
25 | * processed in the pipeline. | ||
26 | * @pipe_size: size of @ved_pipeline | ||
27 | * @kthread: thread that generates the frames of the stream. | ||
28 | * | ||
29 | * When the user call stream_on in a video device, struct vimc_stream is | ||
30 | * used to keep track of all entities and subdevices that generates and | ||
31 | * process frames for the stream. | ||
32 | */ | ||
18 | struct vimc_stream { | 33 | struct vimc_stream { |
19 | struct media_pipeline pipe; | 34 | struct media_pipeline pipe; |
20 | struct vimc_ent_device *ved_pipeline[VIMC_STREAMER_PIPELINE_MAX_SIZE]; | 35 | struct vimc_ent_device *ved_pipeline[VIMC_STREAMER_PIPELINE_MAX_SIZE]; |