MovieData

Description

MovieData.jpg

MovieData stores interleaved component data by frame.

FrameHeader

A FrameHeader is placed at beginning of each frame data of the MovieData.

The start of FrameHeader stores the frame sizes of the previous frame (frameSizePrevious) and the next frame (frameSizeNext). The frameSizePrevious of the first frame stores the size of the last frame. The frameSizeNext of the last frame stores the size of the first frame.

Next, FrameHeader stores size information for the component data interleaved in the frame. This size information must be stored in the interleaved order of the components defined in THPFrameCompInfo.

The size of each frame must be a multiple of 32 bytes. The end of each frame dataset is padded with zero data as required so that the frame size is a multiple of 32 bytes.

Notes for Using MovieData

Note: The component data sizes included in FrameHeader basically store size data for each component; however, they store the data size for a single audio track only when the component is an audio component.

Note: THP audio data is compressed in the Revolution audio system's DSP ADPCM format. Therefore, the number of samples in the stored audio data must be a multiple of 14 in all frames, except the last frame.


See Also

THPConv.exe
THP movie file format

Revision History

2006/03/01 Initial version.


CONFIDENTIAL