Video Processing Application
The multi-stage video-processing application decodes a motion-JPEG video stream and then applies a motion detection method to the decoded video stream:
The MJPEG decoder can decode multiple video frames in parallel. The motion detection method is composed of a Gaussian blur, a gradient magnitude calculation using Sobel filters, and an optical flow motion analysis. Tokens transmitted between these three components correspond to single video frames, but in all filters, the calculation of an output pixel is independent of the other output pixels so that a high degree of data parallelism can be achieved.