Hi Marco,

On Tuesday 01 July 2008, Marco Argiolas wrote:
> Hi Laurent,
> just one question:
> I didn't understand why it is not possible to add my patch to the driver.
> You said because it's a userspace job...
> yes I know...but I also know there are also other driver that do this kind
> of job!!

Those drivers are not 'legal'. Linus made it clear that image processing 
belongs to userspace. This includes transcoding (MJPEG decompression for 
instance) and software rotation/mirroring.

If the hardware supports image rotation/mirroring, the driver should of course 
expose that functionality to userspace.

As the UVC driver already includes a memcpy operation in the URB completion 
handler, we could argue that rotating the image there using a reversed memcpy 
would not introduce any overhead. This might not be true, as the resulting 
code will have to take the pixel size into account, which will probably make 
the reversed memcpy less efficient.

Best regards,

Laurent Pinchart
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to