<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/media/video/mx3_camera.c, branch linux-3.1.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.1.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.1.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2011-07-27T20:56:08Z</updated>
<entry>
<title>[media] V4L: soc-camera: remove soc-camera bus and devices on it</title>
<updated>2011-07-27T20:56:08Z</updated>
<author>
<name>Guennadi Liakhovetski</name>
</author>
<published>2011-07-15T23:03:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7dfff95366f48bf66f77c17cdc9ebd8be696ac5d'/>
<id>urn:sha1:7dfff95366f48bf66f77c17cdc9ebd8be696ac5d</id>
<content type='text'>
Now that v4l2 subdevices have got their own device objects, having
one more device in soc-camera clients became redundant and confusing.
This patch removes those devices and the soc-camera bus, they used to
reside on.

Signed-off-by: Guennadi Liakhovetski &lt;g.liakhovetski@gmx.de&gt;
Acked-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] V4L: mx3_camera: remove redundant calculations</title>
<updated>2011-07-27T20:53:21Z</updated>
<author>
<name>Guennadi Liakhovetski</name>
</author>
<published>2011-06-04T17:11:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6523208758a7a0dbb8947e248110992da53d4143'/>
<id>urn:sha1:6523208758a7a0dbb8947e248110992da53d4143</id>
<content type='text'>
soc_camera core now performs the standard .bytesperline and .sizeimage
calculations internally, no need to duplicate in drivers.

Signed-off-by: Guennadi Liakhovetski &lt;g.liakhovetski@gmx.de&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] Stop using linux/version.h on the remaining video drivers</title>
<updated>2011-07-27T20:53:16Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2011-06-25T14:28:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=64dc3c1a906467d90c24913b0b38dd13d9378f4f'/>
<id>urn:sha1:64dc3c1a906467d90c24913b0b38dd13d9378f4f</id>
<content type='text'>
Standardize the remaining video drivers to return the API version
for the VIDIOC_QUERYCAP version, instead of a per-driver version.

Those drivers had the version updated more recently or are SoC
drivers. Even so, it doesn't sound a good idea to keep a per-driver
version control, so, let's use the per-subsystem version control
instead.

Acked-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] V4L: soc-camera: a missing mediabus code -&gt; fourcc translation is not critical</title>
<updated>2011-05-20T15:06:46Z</updated>
<author>
<name>Guennadi Liakhovetski</name>
</author>
<published>2011-05-18T09:49:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d2dcad49bc346054b49bd40fd96f397fec695a0f'/>
<id>urn:sha1:d2dcad49bc346054b49bd40fd96f397fec695a0f</id>
<content type='text'>
soc_mbus_get_fmtdesc() returning NULL means only, that no standard
mediabus code -&gt; fourcc conversion is known, this shouldn't be treated
as an error by drivers.

Signed-off-by: Guennadi Liakhovetski &lt;g.liakhovetski@gmx.de&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] V4L: soc-camera: add a new packing for YUV 4:2:0 type formats</title>
<updated>2011-05-20T15:05:08Z</updated>
<author>
<name>Guennadi Liakhovetski</name>
</author>
<published>2011-05-20T07:25:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cc552b620fa3a184ba3d4064223ca1d59325b166'/>
<id>urn:sha1:cc552b620fa3a184ba3d4064223ca1d59325b166</id>
<content type='text'>
12-bit formats, similar to YUV 4:2:0 occupy 3 bytes for each two pixels
and cannot be described by any of the existing SOC_MBUS_PACKING_* macros.
This patch adds a new one SOC_MBUS_PACKING_1_5X8 to describe such
formats and extends soc_mbus_samples_per_pixel() to support it.

Signed-off-by: Guennadi Liakhovetski &lt;g.liakhovetski@gmx.de&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] V4L: mx3_camera: implement .stop_streaming()</title>
<updated>2011-05-20T14:52:53Z</updated>
<author>
<name>Guennadi Liakhovetski</name>
</author>
<published>2011-03-25T08:24:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=08a31b960598adef6aa9430c2cab4b5ef4db1ab8'/>
<id>urn:sha1:08a31b960598adef6aa9430c2cab4b5ef4db1ab8</id>
<content type='text'>
The .stop_streaming() videobuf2 operation has to be implemented to
guarantee, that video buffers are not written to after a STREAMOFF.

Signed-off-by: Guennadi Liakhovetski &lt;g.liakhovetski@gmx.de&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] V4L: mx3_camera: convert to videobuf2</title>
<updated>2011-03-21T23:32:15Z</updated>
<author>
<name>Guennadi Liakhovetski</name>
</author>
<published>2011-02-21T10:14:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=379fa5d3567ca2c20843bdba06e456de51b195e9'/>
<id>urn:sha1:379fa5d3567ca2c20843bdba06e456de51b195e9</id>
<content type='text'>
Now that soc-camera supports videobuf API v1 and v2, camera-host drivers
can be converted to videobuf2 individually. This patch converts the
mx3_camera driver.

Signed-off-by: Guennadi Liakhovetski &lt;g.liakhovetski@gmx.de&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] V4L: mx3_camera: fix capture issues for non 8-bit per pixel formats</title>
<updated>2011-03-21T23:32:14Z</updated>
<author>
<name>Alberto Panizzo</name>
</author>
<published>2011-01-17T09:52:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a48be1d626ceb05b58a980a962214431af8041e8'/>
<id>urn:sha1:a48be1d626ceb05b58a980a962214431af8041e8</id>
<content type='text'>
If the camera was set to output formats like RGB565 YUYV or SBGGR10,
the resulting image was scrambled due to erroneous interpretations of
horizontal parameter's units.

This patch in fourcc_to_ipu_pix, eliminate also the pixel formats mappings
that, first are not used within mainline code and second, standing at
the datasheets, they will not work properly:

The IPU internal bus support only the following data formatting
(44.1.1.3 Data Flows and Formats):
 1 YUV 4:4:4 or RGB-8 bits per color component
 2 YUV 4:4:4 or RGB-10 bits per color component
 3 Generic data (from sensor to the system memory only)

And format conversions are done:
 - from memory: unpacking from other formats to IPU supported ones
 - to memory: packing in the inverse order.

So, assigning a packing/unpacking strategy to the IPU for those formats
will produce a packing to memory and not the inverse.

Signed-off-by: Alberto Panizzo &lt;maramaopercheseimorto@gmail.com&gt;
Signed-off-by: Guennadi Liakhovetski &lt;g.liakhovetski@gmx.de&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] V4L: mx3_camera: correct 'sizeimage' value reporting</title>
<updated>2011-03-21T23:32:14Z</updated>
<author>
<name>Anatolij Gustschin</name>
</author>
<published>2011-01-31T12:58:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=44facdc8c43a8b5172d6cbe995845c9889561aa0'/>
<id>urn:sha1:44facdc8c43a8b5172d6cbe995845c9889561aa0</id>
<content type='text'>
The 'pix-&gt;width' field may be updated in mx3_camera_set_fmt() to
fulfill the IPU stride line alignment requirements. If this update
takes place, the 'fmt.pix.sizeimage' field in the struct v4l2_format
stucture returned by VIDIOC_S_FMT is wrong. We need to update the
'pix-&gt;sizeimage' field in the mx3_camera_set_fmt() function to fix
this issue.

Signed-off-by: Anatolij Gustschin &lt;agust@denx.de&gt;
Signed-off-by: Guennadi Liakhovetski &lt;g.liakhovetski@gmx.de&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] v4l: soc-camera: switch to .unlocked_ioctl</title>
<updated>2010-12-31T00:29:26Z</updated>
<author>
<name>Guennadi Liakhovetski</name>
</author>
<published>2010-12-25T20:40:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b6a633c18ba83c0c8e96759a31d356bfb77e2b5f'/>
<id>urn:sha1:b6a633c18ba83c0c8e96759a31d356bfb77e2b5f</id>
<content type='text'>
Use the V4L mutex infrastructure in soc-camera core and drivers and switch to
.unlocked_ioctl.

Signed-off-by: Guennadi Liakhovetski &lt;g.liakhovetski@gmx.de&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
</feed>
