[PATCH] USB: add zr364xx V4L2 driver
- From: Alan <alan (at) lxorguk.ukuu.org.uk>
- Date: Wed, 14 Feb 2007 12:37:47 +0000
> > My comment is not very good, in fact on some cameras I need to swap the bytes
> > to have correct JPEG data (so this is not an endianness issue I think).
> > Maybe there is a macro to swap bytes in a buffer? I cannot find it.
>
> Sorry, there's a swab32, but no swab16. I misremembered.
Its just called "swab" for 16bit values and is a gcc builtin/string
function.
Alan
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request (at) redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list