> Hm, this isn't that bad. ;). You're just doing byte-by-byte. You could > try grabbing 32-bit frames, so you can work with 32-bit variables > (glib's guint32, you can use sys/types.h's __u32 too). If so, here's my > try: Well, with 32bit you can simply set a bit in a control register and the bt878 will byteswap in hardware for you. That requires the v4l2 API through ... Gerd -- You can't please everybody. And usually if you _try_ to please everybody, the end result is one big mess. -- Linus Torvalds, 2002-04-20