From: Hans Verkuil <hverkuil-cisco@xs4all.nl>
To: Pedro Terra <pedro@terraco.de>,
dafna.hirschfeld@collabora.com, mchehab@kernel.org,
skhan@linuxfoundation.org, linux-media@vger.kernel.org,
linux-kernel@vger.kernel.org, gabrielabittencourt00@gmail.com,
gfmandaji@gmail.com, laurent.pinchart@ideasonboard.com
Subject: Re: [PATCH v7] media: vimc: Enable set resolution at the scaler src pad
Date: Mon, 13 Sep 2021 10:28:40 +0200 [thread overview]
Message-ID: <8e7ff5a2-0629-228f-c9d5-35d39bf92ce2@xs4all.nl> (raw)
In-Reply-To: <20210831174822.83870-1-pedro@terraco.de>
Hi Pedro,
Your 'From' email is Pedro Terra <pedro@terraco.de>, but...
On 31/08/2021 19:48, Pedro Terra wrote:
> Modify the scaler subdevice to accept setting the resolution of the source
> pad (previously the source resolution would always be 3 times the sink for
> both dimensions). Now any resolution can be set at src (even smaller ones)
> and the sink video will be scaled to match it.
>
> Test example: With the vimc module up (using the default vimc topology)
> media-ctl -d platform:vimc -V '"Sensor A":0[fmt:SBGGR8_1X8/640x480]'
> media-ctl -d platform:vimc -V '"Debayer A":0[fmt:SBGGR8_1X8/640x480]'
> media-ctl -d platform:vimc -V '"Scaler":0[fmt:RGB888_1X24/640x480]'
> media-ctl -d platform:vimc -V '"Scaler":0[crop:(100,50)/400x150]'
> media-ctl -d platform:vimc -V '"Scaler":1[fmt:RGB888_1X24/300x700]'
> v4l2-ctl -z platform:vimc -d "RGB/YUV Capture" -v width=300,height=700
> v4l2-ctl -z platform:vimc -d "Raw Capture 0" -v pixelformat=BA81
> v4l2-ctl --stream-mmap --stream-count=10 -z platform:vimc -d "RGB/YUV Capture" \
> -stream-to=test.raw
>
> The result will be a cropped stream that can be checked with the command
> ffplay -loglevel warning -v info -f rawvideo -pixel_format rgb24 \
> -video_size "300x700" test.raw
>
> Co-developed-by: Gabriela Bittencourt <gabrielabittencourt00@gmail.com>
> Signed-off-by: Gabriela Bittencourt <gabrielabittencourt00@gmail.com>
> Co-developed-by: Gabriel Francisco Mandaji <gfmandaji@gmail.com>
> Signed-off-by: Gabriel Francisco Mandaji <gfmandaji@gmail.com>
> Signed-off-by: Pedro "pirate" Terra <pirate@terraco.de>
... that differs from what is used in this Signed-off-by.
checkpatch.pl complains about that.
Which of the two should I use? I can fix it myself in the pull request,
but I need to know which one I should use.
For future patches, please use consistent email addresses.
Regards,
Hans
next prev parent reply other threads:[~2021-09-13 8:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-31 17:48 Pedro Terra
2021-08-31 21:52 ` Laurent Pinchart
2021-09-01 0:06 ` Pedro Terra Delboni
2021-09-13 8:28 ` Hans Verkuil [this message]
2021-09-13 17:01 ` Pedro Terra Delboni
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=8e7ff5a2-0629-228f-c9d5-35d39bf92ce2@xs4all.nl \
--to=hverkuil-cisco@xs4all.nl \
--cc=dafna.hirschfeld@collabora.com \
--cc=gabrielabittencourt00@gmail.com \
--cc=gfmandaji@gmail.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=pedro@terraco.de \
--cc=skhan@linuxfoundation.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
all inboxes | Powered by JetHome®