For details click below:
Livestream of Kinect webcam with realtime libjpeg-turbo JPEG compression and decompression. Upper Window is from libfreenect library, lower window is a custom built yay-derivate. Heavy use of pipes for easy parallel processing, command line:
~/q/dump_RGB | ./jpegturbo -s 640×480 | pv | ./jpegturbo -s 640×480 -d | ~/q/yay_stdin -s 640×480 -o -f 3
jpegturbo, dump_RGB and yay_stdin are own binaries with custom optimization. Delay is about 100-200ms, Datarate 600KB/s, ~30fps. Basis for lightweight live-feed distribution of videostream over WLAN network.