Re: cx231xx: DMA problem on ARM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Em 26-09-2011 16:59, Thomas Petazzoni escreveu:
> Hello Laurent,
> 
> Le Mon, 26 Sep 2011 21:02:48 +0200,
> Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx> a écrit :
> 
>> Are you using the MMAP or USERPTR capture method ? If using MMAP, can
>> you try (as a test only) to unmap the buffer before queueing it and
>> to remap it after dequeuing it ?
> 
> So far, we have used VLC, Cheese, or a simple OpenCV based application
> to test the V4L2 device on our ARM platform, and I have no idea which
> capture method those are using. Is there a very simple V4L test
> application that we could use to hack the buffer unmap/remap trick
> you're suggesting as a test ?

The simplest application is the v4l2grab util:
	http://git.linuxtv.org/v4l-utils.git/blob/HEAD:/contrib/test/v4l2grab.c

it uses libv4l to convert to RGB and outputs a series of ppm images. By
generating one image per frame, it is easy to check artifacts on each
image.

> 
> Regards,
> 
> Thomas

--
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


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux