The PixeLINK Data Stream file (.pds) is a binary file with the following format:


U32

"magic number" 0X04040404, indicating that this is a valid PDS file

U32

number of frames in the file

FRAME_DESC

FRAME_DESC for the first frame


Note: The uSize field indicates the size of the FRAME_DESC used in the PDS.

data

Data for the first frame.


Note: Format and size of data can be determined by examining the FRAME_DESC for this frame.

FRAME_DESC

FRAME_DESC for the second frame

data

Data for the second frame

...

And so on until...

FRAME_DESC

FRAME_DESC for the last frame

data

Data for the last frame


See the PixeLINK Data Stream demonstration application for an example of how to parse a PDS file.