Skip to content

Commit f7c7d6c

Browse files
Sakari Ailusmchehab
authored andcommitted
media: uapi: Add an entity type for Image Signal Processors
Add and document a media entity type for Image Signal Processor devices. Surprisingly we didn't have one, so add one now. More or less all ISP drivers should use this type instead of what they currently are using (or not using anything). Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
1 parent d8401ed commit f7c7d6c

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

‎Documentation/userspace-api/media/mediactl/media-types.rst‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ Types and flags used to represent the media graph elements
3939
.. _MEDIA-ENT-F-PROC-VIDEO-STATISTICS:
4040
.. _MEDIA-ENT-F-PROC-VIDEO-ENCODER:
4141
.. _MEDIA-ENT-F-PROC-VIDEO-DECODER:
42+
.. _MEDIA-ENT-F-PROC-VIDEO-ISP:
4243
.. _MEDIA-ENT-F-VID-MUX:
4344
.. _MEDIA-ENT-F-VID-IF-BRIDGE:
4445
.. _MEDIA-ENT-F-DV-DECODER:
@@ -201,6 +202,12 @@ Types and flags used to represent the media graph elements
201202
decompressing a compressed video stream into uncompressed video
202203
frames. Must have one sink pad and at least one source pad.
203204

205+
* - ``MEDIA_ENT_F_PROC_VIDEO_ISP``
206+
- An Image Signal Processor (ISP) device. ISPs generally are one of a
207+
kind devices that have their specific control interfaces using a
208+
combination of custom V4L2 controls and IOCTLs, and parameters
209+
supplied in a metadata buffer.
210+
204211
* - ``MEDIA_ENT_F_VID_MUX``
205212
- Video multiplexer. An entity capable of multiplexing must have at
206213
least two sink pads and one source pad, and must pass the video

‎include/uapi/linux/media.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ struct media_device_info {
127127
#define MEDIA_ENT_F_PROC_VIDEO_STATISTICS (MEDIA_ENT_F_BASE + 0x4006)
128128
#define MEDIA_ENT_F_PROC_VIDEO_ENCODER (MEDIA_ENT_F_BASE + 0x4007)
129129
#define MEDIA_ENT_F_PROC_VIDEO_DECODER (MEDIA_ENT_F_BASE + 0x4008)
130+
#define MEDIA_ENT_F_PROC_VIDEO_ISP (MEDIA_ENT_F_BASE + 0x4009)
130131

131132
/*
132133
* Switch and bridge entity functions

0 commit comments

Comments
 (0)