Commit 7c8362c4 authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab

media: media.h: add MEDIA_ENT_F_DV_ENCODER

Add a new function for digital video encoders such as HDMI transmitters.
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Acked-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent d272bc92
...@@ -206,6 +206,13 @@ Types and flags used to represent the media graph elements ...@@ -206,6 +206,13 @@ Types and flags used to represent the media graph elements
and output it in some digital video standard, with appropriate and output it in some digital video standard, with appropriate
timing signals. timing signals.
* - ``MEDIA_ENT_F_DV_ENCODER``
- Digital video encoder. The basic function of the video encoder is
to accept digital video from some digital video standard with
appropriate timing signals (usually a parallel video bus with sync
signals) and output this to a digital video output connector such
as HDMI or DisplayPort.
.. tabularcolumns:: |p{5.5cm}|p{12.0cm}| .. tabularcolumns:: |p{5.5cm}|p{12.0cm}|
.. _media-entity-flag: .. _media-entity-flag:
......
...@@ -90,10 +90,11 @@ struct media_device_info { ...@@ -90,10 +90,11 @@ struct media_device_info {
#define MEDIA_ENT_F_LENS (MEDIA_ENT_F_OLD_SUBDEV_BASE + 3) #define MEDIA_ENT_F_LENS (MEDIA_ENT_F_OLD_SUBDEV_BASE + 3)
/* /*
* Video decoder functions * Video decoder/encoder functions
*/ */
#define MEDIA_ENT_F_ATV_DECODER (MEDIA_ENT_F_OLD_SUBDEV_BASE + 4) #define MEDIA_ENT_F_ATV_DECODER (MEDIA_ENT_F_OLD_SUBDEV_BASE + 4)
#define MEDIA_ENT_F_DV_DECODER (MEDIA_ENT_F_BASE + 0x6001) #define MEDIA_ENT_F_DV_DECODER (MEDIA_ENT_F_BASE + 0x6001)
#define MEDIA_ENT_F_DV_ENCODER (MEDIA_ENT_F_BASE + 0x6002)
/* /*
* Digital TV, analog TV, radio and/or software defined radio tuner functions. * Digital TV, analog TV, radio and/or software defined radio tuner functions.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment