lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20161103142134.4a59dfc34c593391086c0508@kinali.ch>
Date:   Thu, 3 Nov 2016 14:21:34 +0100
From:   Attila Kinali <attila@...ali.ch>
To:     Matt Ranostay <matt@...ostay.consulting>
Cc:     Hans Verkuil <hverkuil@...all.nl>,
        Linux Media Mailing List <linux-media@...r.kernel.org>,
        Linux Kernel <linux-kernel@...r.kernel.org>,
        Jonathan Cameron <jic23@...nel.org>,
        Lars-Peter Clausen <lars@...afoo.de>,
        Marek Vasut <marex@...x.de>, Luca Barbato <lu_zero@...too.org>
Subject: Re: [RFC] v4l2 support for thermopile devices

On Wed, 2 Nov 2016 23:10:41 -0700
Matt Ranostay <matt@...ostay.consulting> wrote:

> 
> So does anyone know of any software that is using V4L2_PIX_FMT_Y12
> currently? Want to test my driver but seems there isn't anything that
> uses that format (ffmpeg, mplayer, etc).
> 
> Raw data seems correct but would like to visualize it :). Suspect I'll
> need to write a test case application though

I was pretty sure that MPlayer supports 12bit greyscale, but I cannot
find where it was handled. You can of course pass it to the MPlayer
internas as 8bit greyscale, which would be IMGFMT_Y8 or just pass
it on as 16bit which would be IMGFMT_Y16_LE (LE = little endian).

You can find the internal #defines of the image formats in
libmpcodecs/img_format.h and can use https://www.fourcc.org/yuv.php
to decode their meaning.

The equivalent for libav would be libavutil/pixfmt.h

Luca Barbato tells me that adding Y12 support to libav would be easy.

			Attila Kinali

-- 
It is upon moral qualities that a society is ultimately founded. All 
the prosperity and technological sophistication in the world is of no 
use without that foundation.
                 -- Miss Matheson, The Diamond Age, Neil Stephenson

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ