From: hverkuil@xs4all.nl (Hans Verkuil)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] media: Add mem2mem deinterlacing driver.
Date: Wed, 11 Jul 2012 12:17:52 +0200 [thread overview]
Message-ID: <201207111217.52973.hverkuil@xs4all.nl> (raw)
In-Reply-To: <CACKLOr1xgjuGp-jshCaCBZwG4pbWsBSt9Cq9jUdd3PGjpHiXEQ@mail.gmail.com>
On Wed 11 July 2012 12:02:48 javier Martin wrote:
> Hi Hans,
> thank you for your comments.
>
> On 11 July 2012 11:45, Hans Verkuil <hverkuil@xs4all.nl> wrote:
> > Hi Javier!
> >
> > Thanks for the patch.
> >
> > On Wed 11 July 2012 10:55:03 Javier Martin wrote:
> >> Some video decoders such as tvp5150 provide separate
> >> video fields (V4L2_FIELD_SEQ_TB). This driver uses
> >> dmaengine to convert this format to V4L2_FIELD_INTERLACED_TB
> >> (weaving) or V4L2_FIELD_NONE (line doubling)
> >
> > Which field is used for the line doubling? Top or bottom? Or is each field
> > doubled, thus doubling the framerate?
>
> No, just top field is used.
> I don't know if it's worth defining a new field format for doubling fields.
Probably not, but just make sure it is clearly documented.
> > I also recommend adding SEQ_BT/INTERLACED_BT support: NTSC transmits the bottom
> > field first, so it is useful to have support for that.
>
> Adding that is quite easy but I cannot test it.
> Maybe someone could add it later?
It shouldn't be too hard to test: make the top field red and the bottom field blue
and check if the resulting image is correct.
Regards,
Hans
next prev parent reply other threads:[~2012-07-11 10:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-11 8:55 [PATCH 0/2] Add video deinterlacing support Javier Martin
2012-07-11 8:55 ` [PATCH 1/2] media: Add mem2mem deinterlacing driver Javier Martin
2012-07-11 9:45 ` Hans Verkuil
2012-07-11 10:02 ` javier Martin
2012-07-11 10:17 ` Hans Verkuil [this message]
2012-07-11 8:55 ` [PATCH 2/2] i.MX27: Visstrim_M10: Add support for " Javier Martin
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=201207111217.52973.hverkuil@xs4all.nl \
--to=hverkuil@xs4all.nl \
--cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).