<feed xmlns='http://www.w3.org/2005/Atom'>
<title>BMC/Intel-BMC/linux.git/drivers/media/platform/vivid, branch dev</title>
<subtitle>Intel OpenBMC Linux kernel source tree (mirror)</subtitle>
<id>https://git.radix-linux.su/BMC/Intel-BMC/linux.git/atom?h=dev</id>
<link rel='self' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/atom?h=dev'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/'/>
<updated>2015-06-09T20:45:05+00:00</updated>
<entry>
<title>[media] vivid: Use interlaced info for cvt/gtf timing detection</title>
<updated>2015-06-09T20:45:05+00:00</updated>
<author>
<name>Prashant Laddha</name>
<email>prladdha@cisco.com</email>
</author>
<published>2015-05-22T05:27:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=d0154d83a8ed8166411851888b92ccfd937c2515'/>
<id>urn:sha1:d0154d83a8ed8166411851888b92ccfd937c2515</id>
<content type='text'>
The detect_cvt/gtf() now supports timing calculations for interlaced
format.

Signed-off-by: Prashant Laddha &lt;prladdha@cisco.com&gt;
Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@osg.samsung.com&gt;
</content>
</entry>
<entry>
<title>[media] v4l2-dv-timings: add interlace support in detect cvt/gtf</title>
<updated>2015-06-09T20:44:42+00:00</updated>
<author>
<name>Prashant Laddha</name>
<email>prladdha@cisco.com</email>
</author>
<published>2015-05-22T05:27:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=061ddda681fea4a06befe1fc8e34ef2e0d14f5dc'/>
<id>urn:sha1:061ddda681fea4a06befe1fc8e34ef2e0d14f5dc</id>
<content type='text'>
Extend detect_cvt/gtf API to indicate the format type (interlaced
or progressive). In case of interlaced, the vertical front and back
porch and vsync values for both (odd,even) fields are considered to
derive image height. Populated vsync, vertical front, back porch
values in bt timing structure for even and odd fields and updated
the flags appropriately.

Also modified the functions calling the detect_cvt/gtf(). As of now
these functions are calling detect_cvt/gtf() with interlaced flag
set to false.

Cc: Martin Bugge &lt;marbugge@cisco.com&gt;
Cc: Mats Randgaard &lt;matrandg@cisco.com&gt;
Cc: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Signed-off-by: Prashant Laddha &lt;prladdha@cisco.com&gt;
Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@osg.samsung.com&gt;
</content>
</entry>
<entry>
<title>[media] vivid-tpg: improve Y16 color setup</title>
<updated>2015-06-06T10:34:52+00:00</updated>
<author>
<name>Hans Verkuil</name>
<email>hverkuil@xs4all.nl</email>
</author>
<published>2015-06-05T06:45:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=afeef4ee23b4865d6c3bf294b5ac9d55dbff5b82'/>
<id>urn:sha1:afeef4ee23b4865d6c3bf294b5ac9d55dbff5b82</id>
<content type='text'>
Currently the colors for the Y16 and Y16_BE pixelformats are in the range
0x0000-0xff00. So pure white (0xffff) is never created.

Improve this by making white really white. For other colors the lsb remains 0
so vivid can be used to detect endian problems.

Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Reviewed-by: Ricardo Ribalda &lt;ricardo.ribalda@gmail.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@osg.samsung.com&gt;
</content>
</entry>
<entry>
<title>[media] vivid: move video loopback control to the capture device</title>
<updated>2015-06-06T10:33:17+00:00</updated>
<author>
<name>Hans Verkuil</name>
<email>hverkuil@xs4all.nl</email>
</author>
<published>2015-06-01T10:15:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=63344b6592f1d69e13d0e32d8b213137ab6b663e'/>
<id>urn:sha1:63344b6592f1d69e13d0e32d8b213137ab6b663e</id>
<content type='text'>
This has been on my TODO list for some time now: the control that enables the video
loopback was part of the controls of the video output device instead of the video
capture device. In practice this was quite annoying since you expect it at the capture
side since that's where you want to make the decision whether to use the TPG or looped
video.

This patch moves the control from the output to the capture side.

Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@osg.samsung.com&gt;
</content>
</entry>
<entry>
<title>[media] vivid: move PRINTSTR to separate functions</title>
<updated>2015-06-06T01:22:05+00:00</updated>
<author>
<name>Hans Verkuil</name>
<email>hverkuil@xs4all.nl</email>
</author>
<published>2015-06-05T16:09:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=c70316f2a193fcd62232cddc1b2d44997ca2c930'/>
<id>urn:sha1:c70316f2a193fcd62232cddc1b2d44997ca2c930</id>
<content type='text'>
Commit 84cb7be43cec12868e94163c99fdc34c0297c3b8 broke vivid-tpg
(uninitialized variable p).

This patch takes a different approach: four different functions are
created, one for each PRINTSTR version.

In order to avoid the 'the frame size of 1308 bytes is larger than 1024
bytes' warning I had to mark those functions with 'noinline'. For
whatever reason gcc seems to inline this aggressively and it is doing
weird things with the stack.

I tried to read the assembly code, but I couldn't see what exactly it
was doing on the stack.

Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@osg.samsung.com&gt;
</content>
</entry>
<entry>
<title>[media] vivid-tpg: precalculate colorspace/xfer_func combinations</title>
<updated>2015-06-05T14:50:36+00:00</updated>
<author>
<name>Hans Verkuil</name>
<email>hans.verkuil@cisco.com</email>
</author>
<published>2015-04-28T13:08:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=78aad7f81aa6dfccdb2804ac35db6fc371d265cf'/>
<id>urn:sha1:78aad7f81aa6dfccdb2804ac35db6fc371d265cf</id>
<content type='text'>
Precalculate all the colorspace/transfer function combinations in order
to easily generate the correct colors.

Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@osg.samsung.com&gt;
</content>
</entry>
<entry>
<title>[media] vivid: add xfer_func support</title>
<updated>2015-06-05T14:49:53+00:00</updated>
<author>
<name>Hans Verkuil</name>
<email>hans.verkuil@cisco.com</email>
</author>
<published>2015-04-28T12:41:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=ca5316db08199124bf72b0ed16dc1a83fe0609e2'/>
<id>urn:sha1:ca5316db08199124bf72b0ed16dc1a83fe0609e2</id>
<content type='text'>
Add support for the transfer function: create a new control for it,
and support it for both capture and output sides.

Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@osg.samsung.com&gt;
</content>
</entry>
<entry>
<title>[media] vivid: don't use more than 1024 bytes of stack</title>
<updated>2015-06-05T10:41:54+00:00</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab@osg.samsung.com</email>
</author>
<published>2015-06-05T10:24:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=84cb7be43cec12868e94163c99fdc34c0297c3b8'/>
<id>urn:sha1:84cb7be43cec12868e94163c99fdc34c0297c3b8</id>
<content type='text'>
Remove the following compilation warnings:

	drivers/media/platform/vivid/vivid-tpg.c: In function 'tpg_gen_text':
	drivers/media/platform/vivid/vivid-tpg.c:1562:1: warning: the frame size of 1308 bytes is larger than 1024 bytes [-Wframe-larger-than=]
	 }
	 ^

This seems to be due to some bad optimization done by gcc.

Moving the for() loop to happen inside the macro solves the
issue.

While here, fix CodingStyle at the switch().

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@osg.samsung.com&gt;
Acked-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
</content>
</entry>
<entry>
<title>[media] vivid: SDR cap add 'CU08' Complex U8 format</title>
<updated>2015-05-30T14:40:38+00:00</updated>
<author>
<name>Antti Palosaari</name>
<email>crope@iki.fi</email>
</author>
<published>2015-05-17T11:34:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=7615f4bcfae51a4cc5a5ad9610c02b735496a96b'/>
<id>urn:sha1:7615f4bcfae51a4cc5a5ad9610c02b735496a96b</id>
<content type='text'>
Add complex unsigned 8-bit sample format for SDR capture.

Signed-off-by: Antti Palosaari &lt;crope@iki.fi&gt;
Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@osg.samsung.com&gt;
</content>
</entry>
<entry>
<title>[media] vivid: use new V4L2_MAP_*_DEFAULT defines</title>
<updated>2015-05-30T14:39:52+00:00</updated>
<author>
<name>Hans Verkuil</name>
<email>hans.verkuil@cisco.com</email>
</author>
<published>2015-05-15T12:29:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=9c54faef71c0dd7ce01ff0c4251d6fdfbf570b09'/>
<id>urn:sha1:9c54faef71c0dd7ce01ff0c4251d6fdfbf570b09</id>
<content type='text'>
Use these defines instead of hardcoding this in any driver that needs it.

Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@osg.samsung.com&gt;
</content>
</entry>
</feed>
