1<html> 2 3<head> 4<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 5<META name="GENERATOR" content="Microsoft FrontPage 5.0"> 6<LINK rel="stylesheet" type="text/css" href="../../../CSS/revolution.css"> 7<title>THPConv - MovieData</title> 8</head> 9 10<BODY> 11 12<H1 align="left">MovieData</H1> 13 14<H2>Description</H2> 15<P><IMG src="MovieData.jpg" alt="MovieData.jpg" width="720"></P> 16<P><CODE>MovieData</CODE> stores each component data that is interleaved by frame. </P> 17 18<H2>FrameHeader</H2> 19<P><CODE>FrameHeader</CODE> is placed at the beginning of each <CODE>MovieData</CODE> frame. </P> 20<P>The start of the <CODE>FrameHeader</CODE> stores the frame sizes of the previous frame (<CODE>frameSizePrevious</CODE>) and the next frame (<CODE>frameSizeNext</CODE>). <CODE>frameSizePrevious</CODE> of the first frame stores the size of the last frame. Furthermore, <CODE>frameSizeNext</CODE> of the last frame stores the size of the first frame. </P> 21<P><CODE>FrameHeader</CODE> stores the size of each component dat that is interleaved in the frame. This size data must be stored in the interleave order of each component that is defined in <CODE>THPFrameCompInfo</CODE>. </P> 22<P>The size of each frame must be a multiple of 32 bytes. The end of each frame data is padded with zeroes to ensure that the frame size is a multiple of 32 bytes. </P> 23 24 25<h2><font color="#FF0000">Notes for Using MovieData</FONT></h2> 26<P><STRONG>Note: </STRONG>Each component data size contained in FrameHeader normally stores size information for each component. However, in the case of audio components, FrameHeader holds the data size information <B>for only a single audio track</B>. 27</P> 28 29<P><STRONG>Note: </STRONG>THP audio data is compressed in the DSP ADPCM format of the Revolution audio system. For this reason, the number of the audio data samples that are stored must be a multiple of 14 in all frames except in the last frame. </P> 30 31<BR> 32 33<H2>See Also</H2> 34<P> 35<A href="../THPConv.html">THPConv.exe</A>,<BR> <A href="../THPFormat.html">THP Movie File Format</A>,<BR> 36</P> 37 38<H2>Revision History</H2> 39<P>03/01/2006 Initial version.</P> 40 41</BODY> 42</HTML>