Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1613764 > unrolled thread

[Patch v3 05/11] [media] videodev2.h: Add v4l2 definition for HEVC

Started bySmitha T Murthy <smitha.t@samsung.com>
First post2017-03-31 11:10 +0200
Last post2017-04-03 14:20 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [Patch v3 05/11] [media] videodev2.h: Add v4l2 definition for HEVC Smitha T Murthy <smitha.t@samsung.com> - 2017-03-31 11:10 +0200
    Re: [Patch v3 05/11] [media] videodev2.h: Add v4l2 definition for  HEVC Hans Verkuil <hverkuil@xs4all.nl> - 2017-04-03 10:20 +0200
      Re: [Patch v3 05/11] [media] videodev2.h: Add v4l2 definition for HEVC Smitha T Murthy <smitha.t@samsung.com> - 2017-04-03 14:20 +0200

#1613764 — [Patch v3 05/11] [media] videodev2.h: Add v4l2 definition for HEVC

FromSmitha T Murthy <smitha.t@samsung.com>
Date2017-03-31 11:10 +0200
Subject[Patch v3 05/11] [media] videodev2.h: Add v4l2 definition for HEVC
Message-ID<tr0Jb-2AS-15@gated-at.bofh.it>
Add V4L2 definition for HEVC compressed format

Signed-off-by: Smitha T Murthy <smitha.t@samsung.com>
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
---
 include/uapi/linux/videodev2.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h
index 45184a2..38cf5f1 100644
--- a/include/uapi/linux/videodev2.h
+++ b/include/uapi/linux/videodev2.h
@@ -629,6 +629,7 @@ struct v4l2_pix_format {
 #define V4L2_PIX_FMT_VC1_ANNEX_L v4l2_fourcc('V', 'C', '1', 'L') /* SMPTE 421M Annex L compliant stream */
 #define V4L2_PIX_FMT_VP8      v4l2_fourcc('V', 'P', '8', '0') /* VP8 */
 #define V4L2_PIX_FMT_VP9      v4l2_fourcc('V', 'P', '9', '0') /* VP9 */
+#define V4L2_PIX_FMT_HEVC     v4l2_fourcc('H', 'E', 'V', 'C') /* HEVC */
 
 /*  Vendor-specific formats   */
 #define V4L2_PIX_FMT_CPIA1    v4l2_fourcc('C', 'P', 'I', 'A') /* cpia1 YUV */
-- 
2.7.4

[toc] | [next] | [standalone]


#1614971 — Re: [Patch v3 05/11] [media] videodev2.h: Add v4l2 definition for HEVC

FromHans Verkuil <hverkuil@xs4all.nl>
Date2017-04-03 10:20 +0200
SubjectRe: [Patch v3 05/11] [media] videodev2.h: Add v4l2 definition for HEVC
Message-ID<ts5ns-4l0-17@gated-at.bofh.it>
In reply to#1613764
On 03/31/2017 11:06 AM, Smitha T Murthy wrote:
> Add V4L2 definition for HEVC compressed format
> 
> Signed-off-by: Smitha T Murthy <smitha.t@samsung.com>
> Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
> ---
>  include/uapi/linux/videodev2.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h
> index 45184a2..38cf5f1 100644
> --- a/include/uapi/linux/videodev2.h
> +++ b/include/uapi/linux/videodev2.h
> @@ -629,6 +629,7 @@ struct v4l2_pix_format {
>  #define V4L2_PIX_FMT_VC1_ANNEX_L v4l2_fourcc('V', 'C', '1', 'L') /* SMPTE 421M Annex L compliant stream */
>  #define V4L2_PIX_FMT_VP8      v4l2_fourcc('V', 'P', '8', '0') /* VP8 */
>  #define V4L2_PIX_FMT_VP9      v4l2_fourcc('V', 'P', '9', '0') /* VP9 */
> +#define V4L2_PIX_FMT_HEVC     v4l2_fourcc('H', 'E', 'V', 'C') /* HEVC */
>  
>  /*  Vendor-specific formats   */
>  #define V4L2_PIX_FMT_CPIA1    v4l2_fourcc('C', 'P', 'I', 'A') /* cpia1 YUV */
> 

You also need to update v4l2-ioctl.c, v4l_fill_fmtdesc().

Regards,

	Hans

[toc] | [prev] | [next] | [standalone]


#1615154

FromSmitha T Murthy <smitha.t@samsung.com>
Date2017-04-03 14:20 +0200
Message-ID<ts97J-6L2-37@gated-at.bofh.it>
In reply to#1614971
On Mon, 2017-04-03 at 10:11 +0200, Hans Verkuil wrote:
> On 03/31/2017 11:06 AM, Smitha T Murthy wrote:
> > Add V4L2 definition for HEVC compressed format
> > 
> > Signed-off-by: Smitha T Murthy <smitha.t@samsung.com>
> > Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
> > ---
> >  include/uapi/linux/videodev2.h | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h
> > index 45184a2..38cf5f1 100644
> > --- a/include/uapi/linux/videodev2.h
> > +++ b/include/uapi/linux/videodev2.h
> > @@ -629,6 +629,7 @@ struct v4l2_pix_format {
> >  #define V4L2_PIX_FMT_VC1_ANNEX_L v4l2_fourcc('V', 'C', '1', 'L') /* SMPTE 421M Annex L compliant stream */
> >  #define V4L2_PIX_FMT_VP8      v4l2_fourcc('V', 'P', '8', '0') /* VP8 */
> >  #define V4L2_PIX_FMT_VP9      v4l2_fourcc('V', 'P', '9', '0') /* VP9 */
> > +#define V4L2_PIX_FMT_HEVC     v4l2_fourcc('H', 'E', 'V', 'C') /* HEVC */
> >  
> >  /*  Vendor-specific formats   */
> >  #define V4L2_PIX_FMT_CPIA1    v4l2_fourcc('C', 'P', 'I', 'A') /* cpia1 YUV */
> > 
> 
> You also need to update v4l2-ioctl.c, v4l_fill_fmtdesc().
> 
> Regards,
> 
> 	Hans
> 
Ok I will add it in the v4l_fill_fmtdesc() function.

Thank you for the review.
Regards,
Smitha
> 

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web