All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hans Verkuil <hverkuil@xs4all.nl>
To: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Cc: linux-media@vger.kernel.org,
	Tom aan de Wiel <tom.aandewiel@gmail.com>,
	Hans Verkuil <hans.verkuil@cisco.com>
Subject: Re: [PATCHv2 1/5] media.h: add encoder/decoder functions for codecs
Date: Wed, 25 Jul 2018 13:41:07 +0200	[thread overview]
Message-ID: <82c851ae-7102-ec2e-9443-f7a403ed1ae8@xs4all.nl> (raw)
In-Reply-To: <20180725083936.74190211@coco.lan>

On 25/07/18 13:39, Mauro Carvalho Chehab wrote:
> Em Fri, 20 Jul 2018 10:27:32 +0200
> Hans Verkuil <hverkuil@xs4all.nl> escreveu:
> 
>> From: Hans Verkuil <hans.verkuil@cisco.com>
>>
>> Add MEDIA_ENT_F_PROC_VIDEO_EN/DECODER to be used for the encoder
>> and decoder entities of codec hardware.
>>
>> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
>> Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
>> ---
>>  Documentation/media/uapi/mediactl/media-types.rst | 11 +++++++++++
>>  include/uapi/linux/media.h                        |  2 ++
>>  2 files changed, 13 insertions(+)
>>
>> diff --git a/Documentation/media/uapi/mediactl/media-types.rst b/Documentation/media/uapi/mediactl/media-types.rst
>> index 96910cf2eaaa..5bb933c42879 100644
>> --- a/Documentation/media/uapi/mediactl/media-types.rst
>> +++ b/Documentation/media/uapi/mediactl/media-types.rst
>> @@ -37,6 +37,8 @@ Types and flags used to represent the media graph elements
>>  .. _MEDIA-ENT-F-PROC-VIDEO-LUT:
>>  .. _MEDIA-ENT-F-PROC-VIDEO-SCALER:
>>  .. _MEDIA-ENT-F-PROC-VIDEO-STATISTICS:
>> +.. _MEDIA-ENT-F-PROC-VIDEO-ENCODER:
>> +.. _MEDIA-ENT-F-PROC-VIDEO-DECODER:
>>  .. _MEDIA-ENT-F-VID-MUX:
>>  .. _MEDIA-ENT-F-VID-IF-BRIDGE:
>>  .. _MEDIA-ENT-F-DTV-DECODER:
>> @@ -188,6 +190,15 @@ Types and flags used to represent the media graph elements
>>  	  received on its sink pad and outputs the statistics data on
>>  	  its source pad.
>>  
>> +    *  -  ``MEDIA_ENT_F_PROC_VIDEO_ENCODER``
>> +       -  Video (MPEG, HEVC, VPx, etc.) encoder. An entity capable of
>> +          compressing video frames must have one sink pad and one source pad.
> 
> I guess a dot is missing here:
> 
>           compressing video frames. Must have one sink pad and one source pad.
> 
> 
>> +
>> +    *  -  ``MEDIA_ENT_F_PROC_VIDEO_DECODER``
>> +       -  Video (MPEG, HEVC, VPx, etc.) decoder. An entity capable of
>> +          decompressing a compressed video stream into uncompressed video
>> +	  frames must have one sink pad and one source pad.
> 
> Same here:
> 	  frames. Must have one sink pad and one source pad.
> 
> 
> If you're ok with that, I can fix it when applying the patch.

Yes, I'm OK with that.

Thanks!

	Hans

> 
>> +
>>      *  -  ``MEDIA_ENT_F_VID_MUX``
>>         - Video multiplexer. An entity capable of multiplexing must have at
>>           least two sink pads and one source pad, and must pass the video
>> diff --git a/include/uapi/linux/media.h b/include/uapi/linux/media.h
>> index 86c7dcc9cba3..9004d0c5560c 100644
>> --- a/include/uapi/linux/media.h
>> +++ b/include/uapi/linux/media.h
>> @@ -132,6 +132,8 @@ struct media_device_info {
>>  #define MEDIA_ENT_F_PROC_VIDEO_LUT		(MEDIA_ENT_F_BASE + 0x4004)
>>  #define MEDIA_ENT_F_PROC_VIDEO_SCALER		(MEDIA_ENT_F_BASE + 0x4005)
>>  #define MEDIA_ENT_F_PROC_VIDEO_STATISTICS	(MEDIA_ENT_F_BASE + 0x4006)
>> +#define MEDIA_ENT_F_PROC_VIDEO_ENCODER		(MEDIA_ENT_F_BASE + 0x4007)
>> +#define MEDIA_ENT_F_PROC_VIDEO_DECODER		(MEDIA_ENT_F_BASE + 0x4008)
>>  
>>  /*
>>   * Switch and bridge entity functions
> 
> 
> 
> Thanks,
> Mauro
> 

  reply	other threads:[~2018-07-25 12:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-20  8:27 [PATCHv2 0/5] vicodec: the Virtual Codec driver Hans Verkuil
2018-07-20  8:27 ` [PATCHv2 1/5] media.h: add encoder/decoder functions for codecs Hans Verkuil
2018-07-25 11:39   ` Mauro Carvalho Chehab
2018-07-25 11:41     ` Hans Verkuil [this message]
2018-07-20  8:27 ` [PATCHv2 2/5] videodev.h: add PIX_FMT_FWHT for use with vicodec Hans Verkuil
2018-07-20  8:27 ` [PATCHv2 3/5] v4l2-mem2mem: add v4l2_m2m_last_buf() Hans Verkuil
2018-07-20  8:27 ` [PATCHv2 4/5] vicodec: add the FWHT software codec Hans Verkuil
2018-07-20  8:27 ` [PATCHv2 5/5] vicodec: add the virtual codec driver Hans Verkuil

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=82c851ae-7102-ec2e-9443-f7a403ed1ae8@xs4all.nl \
    --to=hverkuil@xs4all.nl \
    --cc=hans.verkuil@cisco.com \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab+samsung@kernel.org \
    --cc=tom.aandewiel@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.