1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META name="GENERATOR" content="Microsoft FrontPage 5.0">
7<LINK rel="stylesheet" type="text/css" href="../../../CSS/revolution.css">
8<title>THP Movie Information: MovieData</title>
9</head>
10
11<BODY>
12
13<H1 align="left">MovieData</H1>
14
15<H2>Description</H2>
16<P><IMG src="MovieData.jpg" alt="MovieData.jpg" width="720"></P>
17<P><CODE>MovieData</CODE> stores interleaved component data by frame.</P>
18
19<H2>FrameHeader</H2>
20<P>A <CODE>FrameHeader</CODE> is placed at beginning of each frame data of the <CODE>MovieData</CODE>.</P>
21<P>The start of <CODE>FrameHeader</CODE> stores the frame sizes of the previous frame (<CODE>frameSizePrevious</CODE>) and the next frame (<CODE>frameSizeNext</CODE>). The <CODE>frameSizePrevious</CODE> of the first frame stores the size of the last frame. The <CODE>frameSizeNext</CODE> of the last frame stores the size of the first frame.</P>
22<P>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 <CODE>THPFrameCompInfo</CODE>.</P>
23<P>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.</P>
24
25
26<h2><font color="#FF0000">Notes for Using MovieData</FONT></h2>
27<P><STRONG>Note:</STRONG> The component data sizes included in <CODE>FrameHeader</CODE> basically store size data for each component; however, they store the <B>data size for a single audio track</B> only when the component is an audio component.
28</P>
29
30<P><STRONG>Note: </STRONG> 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.</P>
31
32<BR>
33
34<H2>See Also</H2>
35<P>
36<A href="../THPConv.html"><CODE>THPConv.exe</CODE></A><BR><A href="../THPFormat.html">THP movie file format</A>
37</P>
38
39<H2>Revision History</H2>
40<P>
412006/03/01 Initial version.<br>
42</P>
43
44<hr><p>CONFIDENTIAL</p></body>
45</HTML>