MJPEG Buffer Passing Format

This page describes the exact format used by the MJPEG File object when passing data to another object. The MJPEG Play object expects data to be in this form in so much that each of the buffer chunks described below should exist in the scatterbuffer passed. The order of the buffer chunks is irrelevant.

The MJPEG File object sends each frame in a separate scatter buffer. A scatter buffer list corresponds to sending 1 or more frame. Each scatter buffer has the following buffer chunks:

MJPEG Buffer Header Chunk

This buffer chunk consists of:

CM Data Chunk

This chunk consists of: