All of lore.kernel.org
 help / color / mirror / Atom feed
From: jacopo mondi <jacopo@jmondi.org>
To: "Niklas Söderlund" <niklas.soderlund@ragnatech.se>
Cc: linux-renesas-soc@vger.kernel.org
Subject: Re: [PATCH v2 3/4] vin-tests: Add capture format for parallel input
Date: Fri, 24 Aug 2018 18:25:36 +0200	[thread overview]
Message-ID: <20180824162536.GH26480@w540> (raw)
In-Reply-To: <20180824161812.GF1493@bigcity.dyn.berto.se>

[-- Attachment #1: Type: text/plain, Size: 2233 bytes --]

Hi Niklas,

On Fri, Aug 24, 2018 at 06:18:13PM +0200, Niklas Söderlund wrote:
> Hi Jacopo,
>
> Thanks for your work.
>
> On 2018-08-24 12:24:21 +0200, Jacopo Mondi wrote:
> > Add configurable capture format to propagate_parallel() function.
> > The capture format is the image format set on the VIN nodes.
> >
> > Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
> > ---
> >  scripts/boards.sh    | 2 ++
> >  scripts/vin-tests.sh | 2 +-
> >  2 files changed, 3 insertions(+), 1 deletion(-)
> >
> > diff --git a/scripts/boards.sh b/scripts/boards.sh
> > index 7eb3a27..b379af6 100644
> > --- a/scripts/boards.sh
> > +++ b/scripts/boards.sh
> > @@ -28,6 +28,7 @@ case $info in
> >          # FIXME: This is a hack and not the correct mbus format
> >          # for V3M, but results in an image.
> >          parallelformat="YUYV8_1X16"
> > +	parallel_captureformat="RGB565"
>
> I'm sorry I don't see the value of this change, am I missing something?
> There is no functional change but I assume you use this for something
> but until I figure out what I will leave this change hanging.
> >          ;;
> >      "Renesas Draak board based on r8a77995")
> >          gen="gen3"
> > @@ -35,6 +36,7 @@ case $info in
> >          parallelname="adv7612 0-004c"
> >          # FIXME: This is a hackfor D3, but results in an image.
> >          parallelformat="YUYV8_1X16"
> > +	parallel_captureformat="RGB565"

Oops, this was supposed to be a different format, that's why I have
added this new variable.

I'll fix it in next iteration.

> >          ;;
> >      "Koelsch")
> >          gen="gen2"
> > diff --git a/scripts/vin-tests.sh b/scripts/vin-tests.sh
> > index 0c5b29a..e7b7a48 100644
> > --- a/scripts/vin-tests.sh
> > +++ b/scripts/vin-tests.sh
> > @@ -111,5 +111,5 @@ mc_propagate_parallel() {
> >      echo "format: $format size: $size/$vinsize field: $field/$vinfield vdev: $vdev"
> >
> >      $mediactl -d $mdev -V "$cam [fmt:$format/$size field:$field]"
> > -    yavta -f RGB565 -s $vinsize --field $vinfield $vdev
> > +    yavta -f $parallel_captureformat -s $vinsize --field $vinfield $vdev


> >  }
> > --
> > 2.7.4
> >
>
> --
> Regards,
> Niklas Söderlund

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2018-08-24 20:01 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-24 10:24 [PATCH v2 0/4] vin-tests: Add D3 Draak support Jacopo Mondi
2018-08-24 10:24 ` [PATCH v2 1/4] vin-tests: Add support for D3 Draak Jacopo Mondi
2018-08-24 16:12   ` Niklas Söderlund
2018-08-24 16:28     ` jacopo mondi
2018-08-24 16:36       ` Niklas Söderlund
2018-08-24 10:24 ` [PATCH v2 2/4] vin-tests: Fix vdev name in propagate_parallel Jacopo Mondi
2018-08-24 16:13   ` Niklas Söderlund
2018-08-24 10:24 ` [PATCH v2 3/4] vin-tests: Add capture format for parallel input Jacopo Mondi
2018-08-24 16:18   ` Niklas Söderlund
2018-08-24 16:25     ` jacopo mondi [this message]
2018-08-24 10:24 ` [PATCH v2 4/4] vin-tests: yavta-hdmi: Add VIN4 and parallel link Jacopo Mondi
2018-08-24 16:27   ` Niklas Söderlund
2018-08-25  9:29     ` jacopo mondi

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=20180824162536.GH26480@w540 \
    --to=jacopo@jmondi.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=niklas.soderlund@ragnatech.se \
    /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.