Hi,

no, not really. I have an embedded system with an ARM9 and DSP CPU. The DSP encodes the video with h264. So, I have to send the frames to the DSP with a specific shared memory section (shared memory is outside the linux memory). Currently, I have to copy each frame from the requested v4l2 buffers to this shared memory. But I would like to pass a pointer to the shared memory directly to the uvc driver (USERPTR streaming).

Cheers,
Andreas

Adrian Sergiu Darabant schrieb:
Andreas,

Would this be for using X shared memory segments with the uvcdriver ?
Adrian


----- Original Message ----
From: Andreas Auer <a.a...@zydacron.com>
To: linux-uvc-de...@lists.berlios.dea
Sent: Fri, 28 May, 2010 12:08:19
Subject: [Linux-uvc-devel] UVC userpointer  streaming (memory mapping)

Hi,

I'm trying to get user pointer streaming with UVC webcams working. I already 
got a patch from Laurent Pinchart (thanks) which enables user pointer 
streaming. This patch works if I pass malloc()'d memory to the driver.
My problem is that I want to use mmap()'d memory (via /dev/mem) and this type 
of memory (flags VM_IO and VM_PFNMAP are set) is not supported to be used with 
get_user_pages to map the memory to the kernel space.

So, is there another way to map the pages into the kernel space to be used for 
user pointer streaming?? I had a look at kmap (kmap_atomic)... would this be 
possible??

Thanks,
Andreas

_______________________________________________
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

_______________________________________________
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to