1
0
Fork 0
alistair23-linux/Documentation/media/kapi
Sakari Ailus 20b8522736 [media] media: Rename graph and pipeline structs and functions
The media_entity_pipeline_start() and media_entity_pipeline_stop()
functions are renamed as media_pipeline_start() and media_pipeline_stop(),
respectively. The reason is two-fold: the pipeline struct is, rightly,
already called media_pipeline (rather than media_entity_pipeline) and what
this really is about is a pipeline. A pipeline consists of entities ---
and, well, other objects embedded in these entities.

As the pipeline object will be in the future moved from entities to pads
in order to support multiple pipelines through a single entity, do the
renaming now.

Similarly, functions operating on struct media_entity_graph as well as the
struct itself are renamed by dropping the "entity_" part from the prefix
of the function family and the data structure. The graph traversal which
is what the functions are about is not specifically about entities only
and will operate on pads for the same reason as the media pipeline.

The patch has been generated using the following command:

git grep -l media_entity |xargs perl -i -pe '
	s/media_entity_pipeline/media_pipeline/g;
	s/media_entity_graph/media_graph/g'

And a few manual edits related to line start alignment and line wrapping.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-01-27 16:13:24 -02:00
..
cec-core.rst [media] cec: pass parent device in register(), not allocate() 2016-11-29 12:07:17 -02:00
csi2.rst [media] doc-rst: v4l: Add documentation on CSI-2 bus configuration 2016-11-18 13:27:03 -02:00
dtv-core.rst [media] dtv-core: get rid of duplicated kernel-doc include 2016-11-17 09:03:18 -02:00
mc-core.rst [media] media: Rename graph and pipeline structs and functions 2017-01-27 16:13:24 -02:00
rc-core.rst [media] doc-rst: fix media kAPI documentation 2016-07-18 14:46:07 -03:00
v4l2-clocks.rst [media] move V4L2 clocks to a separate .rst file 2016-07-23 08:04:21 -03:00
v4l2-common.rst [media] v4l2-ioctl.h add debug info for struct v4l2_ioctl_ops 2016-07-23 08:04:21 -03:00
v4l2-controls.rst [media] doc-rst: reorganize the kAPI v4l2 chapters 2016-07-23 08:04:21 -03:00
v4l2-core.rst [media] doc-rst: reorganize the kAPI v4l2 chapters 2016-07-23 08:04:21 -03:00
v4l2-dev.rst [media] get rid of a number of problems at the cross references 2016-09-22 10:00:23 -03:00
v4l2-device.rst [media] doc-rst: kapi: use :c:func: instead of :cpp:func 2016-07-23 08:04:21 -03:00
v4l2-dv-timings.rst [media] doc-rst: reorganize the kAPI v4l2 chapters 2016-07-23 08:04:21 -03:00
v4l2-event.rst [media] docs-rst: convert uAPI structs to C domain 2016-09-09 09:34:01 -03:00
v4l2-fh.rst [media] docs-next: stop abusing on the cpp domain 2016-08-22 21:23:00 -03:00
v4l2-flash-led-class.rst [media] doc-rst: reorganize the kAPI v4l2 chapters 2016-07-23 08:04:21 -03:00
v4l2-intro.rst [media] doc-rst: reorganize the kAPI v4l2 chapters 2016-07-23 08:04:21 -03:00
v4l2-mc.rst [media] doc-rst: reorganize the kAPI v4l2 chapters 2016-07-23 08:04:21 -03:00
v4l2-mediabus.rst [media] doc-rst: reorganize the kAPI v4l2 chapters 2016-07-23 08:04:21 -03:00
v4l2-mem2mem.rst [media] doc-rst: reorganize the kAPI v4l2 chapters 2016-07-23 08:04:21 -03:00
v4l2-of.rst [media] doc-rst: Split v4l-core into one file per kAPI 2016-07-23 08:03:24 -03:00
v4l2-rect.rst [media] doc-rst: reorganize the kAPI v4l2 chapters 2016-07-23 08:04:21 -03:00
v4l2-subdev.rst [media] v4l2-subdev.rst: get rid of legacy functions 2016-09-09 09:44:37 -03:00
v4l2-tuner.rst [media] doc-rst: reorganize the kAPI v4l2 chapters 2016-07-23 08:04:21 -03:00
v4l2-tveeprom.rst [media] doc-rst: reorganize the kAPI v4l2 chapters 2016-07-23 08:04:21 -03:00
v4l2-videobuf.rst [media] v4l2-dev: add cross-references and improve markup 2016-07-23 08:04:21 -03:00
v4l2-videobuf2.rst [media] doc-rst: reorganize the kAPI v4l2 chapters 2016-07-23 08:04:21 -03:00