All of lore.kernel.org
 help / color / mirror / Atom feed
From: jacopo mondi <jacopo@jmondi.org>
To: Hans Verkuil <hverkuil@xs4all.nl>
Cc: Jacopo Mondi <jacopo+renesas@jmondi.org>,
	laurent.pinchart@ideasonboard.com, magnus.damm@gmail.com,
	geert@glider.be, mchehab@kernel.org,
	linux-renesas-soc@vger.kernel.org, linux-media@vger.kernel.org,
	linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v1 03/10] v4l: platform: Add Renesas CEU driver
Date: Mon, 18 Dec 2017 15:12:30 +0100	[thread overview]
Message-ID: <20171218141230.GH20926@w540> (raw)
In-Reply-To: <db4d1c15-1a6c-7375-b1e1-e780b628ed04@xs4all.nl>

Hi Hans,
   thanks for review comments

On Wed, Dec 13, 2017 at 01:03:03PM +0100, Hans Verkuil wrote:
> On 15/11/17 11:55, Jacopo Mondi wrote:
> > Add driver for Renesas Capture Engine Unit (CEU).
> > +
> > +	/* Register the video device */
> > +	strncpy(vdev->name, DRIVER_NAME, strlen(DRIVER_NAME));
> > +	vdev->v4l2_dev		= v4l2_dev;
> > +	vdev->lock		= &ceudev->mlock;
> > +	vdev->queue		= &ceudev->vb2_vq;
> > +	vdev->ctrl_handler	= v4l2_sd->ctrl_handler;
> > +	vdev->fops		= &ceu_fops;
> > +	vdev->ioctl_ops		= &ceu_ioctl_ops;
> > +	vdev->release		= ceu_vdev_release;
> > +	vdev->device_caps	= V4L2_CAP_VIDEO_CAPTURE_MPLANE |
>
> Why MPLANE? It doesn't appear to be needed since there are no multiplane
> (really: multibuffer) pixelformats defined.

The driver support NV12/21 and NV16/61 as output pixel formats (along
with single plane YUYV).

NV* formats are semi-planar, as luma is stored in one buffer, while
chrominances are stored together in a different one. Am I wrong?

> >
>
> Regards,

Thanks
   j

>
> 	Hans

WARNING: multiple messages have this Message-ID (diff)
From: jacopo mondi <jacopo@jmondi.org>
To: Hans Verkuil <hverkuil@xs4all.nl>
Cc: Jacopo Mondi <jacopo+renesas@jmondi.org>,
	laurent.pinchart@ideasonboard.com, magnus.damm@gmail.com,
	geert@glider.be, mchehab@kernel.org,
	linux-renesas-soc@vger.kernel.org, linux-media@vger.kernel.org,
	linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v1 03/10] v4l: platform: Add Renesas CEU driver
Date: Mon, 18 Dec 2017 14:12:30 +0000	[thread overview]
Message-ID: <20171218141230.GH20926@w540> (raw)
In-Reply-To: <db4d1c15-1a6c-7375-b1e1-e780b628ed04@xs4all.nl>

Hi Hans,
   thanks for review comments

On Wed, Dec 13, 2017 at 01:03:03PM +0100, Hans Verkuil wrote:
> On 15/11/17 11:55, Jacopo Mondi wrote:
> > Add driver for Renesas Capture Engine Unit (CEU).
> > +
> > +	/* Register the video device */
> > +	strncpy(vdev->name, DRIVER_NAME, strlen(DRIVER_NAME));
> > +	vdev->v4l2_dev		= v4l2_dev;
> > +	vdev->lock		= &ceudev->mlock;
> > +	vdev->queue		= &ceudev->vb2_vq;
> > +	vdev->ctrl_handler	= v4l2_sd->ctrl_handler;
> > +	vdev->fops		= &ceu_fops;
> > +	vdev->ioctl_ops		= &ceu_ioctl_ops;
> > +	vdev->release		= ceu_vdev_release;
> > +	vdev->device_caps	= V4L2_CAP_VIDEO_CAPTURE_MPLANE |
>
> Why MPLANE? It doesn't appear to be needed since there are no multiplane
> (really: multibuffer) pixelformats defined.

The driver support NV12/21 and NV16/61 as output pixel formats (along
with single plane YUYV).

NV* formats are semi-planar, as luma is stored in one buffer, while
chrominances are stored together in a different one. Am I wrong?

> >
>
> Regards,

Thanks
   j

>
> 	Hans

  reply	other threads:[~2017-12-18 14:12 UTC|newest]

Thread overview: 118+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-15 10:55 [PATCH v1 00/10] Renesas Capture Engine Unit (CEU) V4L2 driver Jacopo Mondi
2017-11-15 10:55 ` Jacopo Mondi
2017-11-15 10:55 ` [PATCH v1 01/10] dt-bindings: media: Add Renesas CEU bindings Jacopo Mondi
2017-11-15 10:55   ` Jacopo Mondi
2017-11-15 11:32   ` Kieran Bingham
2017-11-15 12:33   ` Sakari Ailus
2017-11-15 12:33     ` Sakari Ailus
2017-12-11 14:24     ` Laurent Pinchart
2017-12-11 14:24       ` Laurent Pinchart
2017-11-15 13:07   ` Geert Uytterhoeven
2017-11-15 13:07     ` Geert Uytterhoeven
2017-11-15 13:07     ` Geert Uytterhoeven
2017-11-15 18:15     ` jacopo mondi
2017-11-15 18:15       ` jacopo mondi
2017-11-15 18:39       ` Geert Uytterhoeven
2017-11-15 18:39         ` Geert Uytterhoeven
2017-11-15 10:55 ` [PATCH v1 02/10] include: media: Add Renesas CEU driver interface Jacopo Mondi
2017-11-15 10:55   ` Jacopo Mondi
2017-11-15 12:36   ` Sakari Ailus
2017-11-15 12:36     ` Sakari Ailus
2017-12-11 14:26     ` Laurent Pinchart
2017-12-11 14:26       ` Laurent Pinchart
2017-12-11 14:32       ` Laurent Pinchart
2017-12-11 14:32         ` Laurent Pinchart
2017-11-15 10:55 ` [PATCH v1 03/10] v4l: platform: Add Renesas CEU driver Jacopo Mondi
2017-11-15 10:55   ` Jacopo Mondi
2017-11-15 12:45   ` Sakari Ailus
2017-11-15 12:45     ` Sakari Ailus
2017-11-15 14:25     ` jacopo mondi
2017-11-15 14:25       ` jacopo mondi
2017-11-17  0:36       ` Sakari Ailus
2017-11-17  0:36         ` Sakari Ailus
2017-11-17  9:33         ` jacopo mondi
2017-11-17  9:33           ` jacopo mondi
2017-11-25 15:56           ` Sakari Ailus
2017-11-25 15:56             ` Sakari Ailus
2017-11-25 18:17             ` jacopo mondi
2017-11-25 18:17               ` jacopo mondi
2017-12-11 15:04         ` Laurent Pinchart
2017-12-11 15:04           ` Laurent Pinchart
2017-12-11 16:15   ` Laurent Pinchart
2017-12-11 16:15     ` Laurent Pinchart
2017-12-18 12:25     ` jacopo mondi
2017-12-18 12:25       ` jacopo mondi
2017-12-18 15:28       ` Laurent Pinchart
2017-12-18 15:28         ` Laurent Pinchart
2017-12-21 16:27         ` jacopo mondi
2017-12-21 16:27           ` jacopo mondi
2017-12-22 12:03           ` Laurent Pinchart
2017-12-22 12:03             ` Laurent Pinchart
2017-12-22 14:40             ` jacopo mondi
2017-12-22 14:40               ` jacopo mondi
2017-12-23 11:39               ` Laurent Pinchart
2017-12-23 11:39                 ` Laurent Pinchart
2017-12-19 11:57     ` jacopo mondi
2017-12-19 11:57       ` jacopo mondi
2017-12-19 13:07       ` Laurent Pinchart
2017-12-19 13:07         ` Laurent Pinchart
2017-12-19 13:28         ` Sakari Ailus
2017-12-19 13:28           ` Sakari Ailus
2017-12-19 13:52           ` Laurent Pinchart
2017-12-19 13:52             ` Laurent Pinchart
2017-12-13 12:03   ` Hans Verkuil
2017-12-13 12:03     ` Hans Verkuil
2017-12-18 14:12     ` jacopo mondi [this message]
2017-12-18 14:12       ` jacopo mondi
2017-11-15 10:55 ` [PATCH v1 04/10] ARM: dts: r7s72100: Add Capture Engine Unit (CEU) Jacopo Mondi
2017-11-15 10:55   ` Jacopo Mondi
2017-11-17 14:22   ` Simon Horman
2017-11-17 14:22     ` Simon Horman
2017-11-23  9:41   ` Geert Uytterhoeven
2017-11-23  9:41     ` Geert Uytterhoeven
2017-11-15 10:55 ` [PATCH v1 05/10] arch: sh: migor: Use new renesas-ceu camera driver Jacopo Mondi
2017-11-15 10:55   ` Jacopo Mondi
2017-12-11 14:36   ` Laurent Pinchart
2017-12-11 14:36     ` Laurent Pinchart
2017-12-12 10:00   ` Laurent Pinchart
2017-12-12 10:00     ` Laurent Pinchart
2017-12-21 20:31     ` jacopo mondi
2017-12-21 20:31       ` jacopo mondi
2017-12-22  8:04       ` Geert Uytterhoeven
2017-12-22  8:04         ` Geert Uytterhoeven
2017-12-22 11:56       ` Laurent Pinchart
2017-12-22 11:56         ` Laurent Pinchart
2017-11-15 10:55 ` [PATCH v1 06/10] sh: sh7722: Rename CEU clock Jacopo Mondi
2017-11-15 10:55   ` Jacopo Mondi
2017-11-15 13:13   ` Geert Uytterhoeven
2017-11-15 13:13     ` Geert Uytterhoeven
2017-11-17  9:15     ` jacopo mondi
2017-11-17  9:15       ` jacopo mondi
2017-11-15 10:56 ` [PATCH v1 07/10] v4l: i2c: Copy ov772x soc_camera sensor driver Jacopo Mondi
2017-11-15 10:56   ` Jacopo Mondi
2017-12-11 14:49   ` Laurent Pinchart
2017-12-11 14:49     ` Laurent Pinchart
2017-12-13 12:10   ` Hans Verkuil
2017-12-13 12:10     ` Hans Verkuil
2017-12-13 13:02   ` Philippe Ombredanne
2017-12-13 13:02     ` Philippe Ombredanne
2017-11-15 10:56 ` [PATCH v1 08/10] media: i2c: ov772x: Remove soc_camera dependencies Jacopo Mondi
2017-11-15 10:56   ` Jacopo Mondi
2017-11-17  0:43   ` Sakari Ailus
2017-11-17  0:43     ` Sakari Ailus
2017-11-17  9:14     ` jacopo mondi
2017-11-17  9:14       ` jacopo mondi
2017-11-25 16:04       ` Sakari Ailus
2017-11-25 16:04         ` Sakari Ailus
2017-12-11 14:47   ` Laurent Pinchart
2017-12-11 14:47     ` Laurent Pinchart
2017-11-15 10:56 ` [PATCH v1 09/10] v4l: i2c: Copy tw9910 soc_camera sensor driver Jacopo Mondi
2017-11-15 10:56   ` Jacopo Mondi
2017-12-11 14:50   ` Laurent Pinchart
2017-12-11 14:50     ` Laurent Pinchart
2017-11-15 10:56 ` [PATCH v1 10/10] media: i2c: tw9910: Remove soc_camera dependencies Jacopo Mondi
2017-11-15 10:56   ` Jacopo Mondi
2017-12-11 14:55   ` Laurent Pinchart
2017-12-11 14:55     ` Laurent Pinchart
2017-12-13 12:13   ` Hans Verkuil
2017-12-13 12:13     ` 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=20171218141230.GH20926@w540 \
    --to=jacopo@jmondi.org \
    --cc=geert@glider.be \
    --cc=hverkuil@xs4all.nl \
    --cc=jacopo+renesas@jmondi.org \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=linux-sh@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    --cc=mchehab@kernel.org \
    /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.