Sorry this is a slippery slope argument and it won't wash.
The kernel is intended as the arbiter between userspace and hardware,
and userspace and userspace. Format conversion has nothing to do with
arbitration.
Format conversion in kernelspace is far less flexible than userspace:
you cannot replace your algorithms at will nor fix bugs at will. You
cannot support assembly optimizations for format conversions without
bloating the kernel.
Finally, the example you describe is invalid. If your tool is doing
-two- format conversions, then [again] the tool should be fixed. The
kernel most definitely should not work around stupid shortcomings of
userspace software.
> Anyway, I am not going to debate this any further at this point. Johannes,
> please remove my webcam driver from the USB source tree,
whatever. I don't see Alan or Linus accepting such a change, even if
Johannes does.
> until the software
> YUV/RGB conversion has been removed from ALL other video devices (preferably
> all at the same time).
Send a patch for this instead!
Format conversion should not be in the kernel...
Jeff
-- Jeff Garzik | "Are you the police?" Building 1024 | "No, ma'am. We're musicians." MandrakeSoft | - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/