Sakari Ailus schrieb am 08.11.2012 10:29:
On Thu, Nov 08, 2012 at 10:26:11AM +0100, Laurent Pinchart wrote:
media-ctl doesn't show pad formats, that's a bit weird. Are you using a recent
version ?
This could as well be an issue with the kernel API --- I think that kernel
has a version which isn't in mainline. So the IOCTL used to access the media
bus formats are quite possibly different.
Regards,
Hi Sakari,
hi Laurent,
first, I could resolve my issues.
When I allocated buffers with the CMEM library from TI (provides aligned
and contiguous memory buffers), I was able to use user pointers. And
VIDIOC_STREAMON just failed because of a wrong but similar written
pixelformat. Since yesterday, I am now able to capture frames and save
them as YUV data in a file.
My Technexion kernel is based on the TI linux kernel and they
(Technexion) probably backported some version of Media Controller into
that kernel. In order to build Laurents media-ctl application, I had to
rename all MEDIA_* constants in the source files (e.g. MEDIA_PAD_FL_SINK
into MEDIA_PAD_FLAG_INPUT).
It's probably true, that this implementation is quite different from the
one in mainline or other kernels. That might also be the reason, why
media-ctl -p does not print pad formats.
But as long as Technexion keep board support for themselves, I cannot
use another kernel. I already tried that with some mainline and
linux-omap versions(3.2, 3.4, 3.6). They don't boot, or if they actually
do, I don't see anything because network and tty is not available.
Lastly, the TVP5146 indeed generates interlaced frames.
All the best,
Andreas
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html