Linux Media Controller development
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Sebastian Fricke <sebastian.fricke@collabora.com>
Cc: linux-media@vger.kernel.org, kernel@collabora.com,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	Hans Verkuil <hverkuil-cisco@xs4all.nl>,
	Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>,
	Sakari Ailus <sakari.ailus@linux.intel.com>,
	Ricardo Ribalda <ribalda@chromium.org>,
	Andrzej Pietrasiewicz <andrzej.p@collabora.com>,
	Daniel Scally <djrscally@gmail.com>,
	Sergey Senozhatsky <senozhatsky@chromium.org>,
	Nicolas Dufresne <nicolas.dufresne@collabora.com>,
	Benjamin Gaignard <benjamin.gaignard@collabora.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] media: Fix incorrect P010 chroma order description
Date: Mon, 27 Jun 2022 22:01:51 +0300	[thread overview]
Message-ID: <Yrn+nwBu/PD6djq/@pendragon.ideasonboard.com> (raw)
In-Reply-To: <20220627170209.hzf3ezujtrm2ahau@basti-XPS-13-9310>

Hi Sebastian,

On Mon, Jun 27, 2022 at 07:02:09PM +0200, Sebastian Fricke wrote:
> On 27.06.2022 11:42, Laurent Pinchart wrote:
> > On Mon, Jun 27, 2022 at 09:12:23AM +0200, Sebastian Fricke wrote:
> >> The chroma order of P010 is `CbCr`,
> >> match with the descriptions in `include/uapi/linux/videodev2.h` and the
> >> documentation.
> >>
> >> Fixes: 5374d8fb75f31 Add P010 video format
> >
> > This should be
> >
> > Fixes: 5374d8fb75f3 ("media: Add P010 video format")
> 
> I assume this can probably be fixed while merging it right? So, I don't
> have to resend it.

No need to resend indeed, this can be fixed when merging.

> > I recommend adding the following to your ~/.gitconfig:
> >
> > [pretty]
> >	fixes = Fixes: %h (\"%s\")
> >
> > You can then use `git show --pretty=fixes -s` to generate the right
> > Fixes: tag. If you fix lots of bugs, an alias in your ~/.bashrc is also
> > useful:
> >
> > gpf() {
> >	git show --pretty=fixes -s ${1:-HEAD} | xclip -selection clipboard
> > }
> 
> Thanks a lot for the advice :).
> 
> >
> >> Signed-off-by: Sebastian Fricke <sebastian.fricke@collabora.com>
> >
> > Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
> >
> >> ---
> >>  drivers/media/v4l2-core/v4l2-ioctl.c | 2 +-
> >>  1 file changed, 1 insertion(+), 1 deletion(-)
> >>
> >> diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c b/drivers/media/v4l2-core/v4l2-ioctl.c
> >> index e2526701294e..e03362c8aef9 100644
> >> --- a/drivers/media/v4l2-core/v4l2-ioctl.c
> >> +++ b/drivers/media/v4l2-core/v4l2-ioctl.c
> >> @@ -1306,7 +1306,7 @@ static void v4l_fill_fmtdesc(struct v4l2_fmtdesc *fmt)
> >>  	case V4L2_PIX_FMT_NV61:		descr = "Y/CrCb 4:2:2"; break;
> >>  	case V4L2_PIX_FMT_NV24:		descr = "Y/CbCr 4:4:4"; break;
> >>  	case V4L2_PIX_FMT_NV42:		descr = "Y/CrCb 4:4:4"; break;
> >> -	case V4L2_PIX_FMT_P010:		descr = "10-bit Y/CrCb 4:2:0"; break;
> >> +	case V4L2_PIX_FMT_P010:		descr = "10-bit Y/CbCr 4:2:0"; break;
> >>  	case V4L2_PIX_FMT_NV12_4L4:	descr = "Y/CbCr 4:2:0 (4x4 Linear)"; break;
> >>  	case V4L2_PIX_FMT_NV12_16L16:	descr = "Y/CbCr 4:2:0 (16x16 Linear)"; break;
> >>  	case V4L2_PIX_FMT_NV12_32L32:   descr = "Y/CbCr 4:2:0 (32x32 Linear)"; break;

-- 
Regards,

Laurent Pinchart

  reply	other threads:[~2022-06-27 19:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-27  7:12 [PATCH] media: Fix incorrect P010 chroma order description Sebastian Fricke
2022-06-27  8:42 ` Laurent Pinchart
2022-06-27 17:02   ` Sebastian Fricke
2022-06-27 19:01     ` Laurent Pinchart [this message]
2022-06-28 19:05 ` Ezequiel Garcia

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=Yrn+nwBu/PD6djq/@pendragon.ideasonboard.com \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=andrzej.p@collabora.com \
    --cc=benjamin.gaignard@collabora.com \
    --cc=djrscally@gmail.com \
    --cc=ezequiel@vanguardiasur.com.ar \
    --cc=hverkuil-cisco@xs4all.nl \
    --cc=kernel@collabora.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=nicolas.dufresne@collabora.com \
    --cc=ribalda@chromium.org \
    --cc=sakari.ailus@linux.intel.com \
    --cc=sebastian.fricke@collabora.com \
    --cc=senozhatsky@chromium.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox