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: THPFrameCompInfo</title>
9</head>
10
11<BODY>
12
13<H1 align="left">THPFrameCompInfo</H1>
14
15<H2>Description</H2>
16<P><IMG src="THPFrameCompInfo.jpg" alt="THPFrameCompInfo.jpg" width="720"></P>
17<P>The THP movie data can interleave multiple datasets into frames and store them internally.</P>
18<P>In the THP library, the interleaved datasets are called components. THP video data and THP audio data are both single components. In the interest of extensibility, the THP movie data can store components other than video and audio components.</P>
19
20<P><CODE>THPFrameCompInfo</CODE> stores the number of components contained in the THP movie data (<CODE>numComponents</CODE>) and the order they are stored in each frame as an array (<CODE>frameComp[]</CODE>). This array stores the THP component identifiers in component interleave order (see table below).</P>
21
22
23<BLOCKQUOTE><BLOCKQUOTE>
24<table border="1" >
25    <tr ALIGN="center" bgcolor="#E6E6FA">
26      <th ALIGN="center" width =180 >Video Comp</th>
27      <th ALIGN="center" width =30>0</th>
28    </tr>
29    <tr ALIGN="center" bgcolor="#E6E6FA">
30      <th ALIGN="center" width =180>Audio Comp</th>
31      <th ALIGN="center" width =30>1</th>
32    </tr>
33    <tr ALIGN="center">
34      <th ALIGN="center" width =180>Undetermined</th>
35      <th ALIGN="center" width =30>2</th>
36    </tr>
37    <tr ALIGN="center">
38      <th ALIGN="center" width =180>Undetermined</th>
39      <th ALIGN="center" width =30>3</th>
40    </tr>
41    <tr ALIGN="center">
42      <th ALIGN="center" width =180>Undetermined</th>
43      <th ALIGN="center" width =30>4</th>
44    </tr>
45    <tr ALIGN="center">
46      <th ALIGN="center" width =180>Undetermined</th>
47      <th ALIGN="center" width =30>5</th>
48    </tr>
49    <tr ALIGN="center">
50      <th ALIGN="center" width =180>Undetermined</th>
51      <th ALIGN="center" width =30>6</th>
52    <tr ALIGN="center">
53      <th ALIGN="center" width =180>Undetermined</th>
54      <th ALIGN="center" width =30>7</th>
55    </tr>
56    <tr ALIGN="center">
57      <th ALIGN="center" width =180>�E/th>
58      <th ALIGN="center" width =30>8</th>
59    </tr>
60    <tr ALIGN="center">
61      <th ALIGN="center" width =180>�E/th>
62      <th ALIGN="center" width =30>9</th>
63    </tr>
64    <tr ALIGN="center">
65      <th ALIGN="center" width =180>�E/th>
66      <th ALIGN="center" width =30>A</th>
67    </tr>
68    <tr ALIGN="center">
69      <th ALIGN="center" width =180>�E/th>
70      <th ALIGN="center" width =30>B</th>
71    </tr>
72    <tr ALIGN="center">
73      <th ALIGN="center" width =180>�E/th>
74      <th ALIGN="center" width =30>C</th>
75    </tr>
76    <tr ALIGN="center">
77      <th ALIGN="center" width =180>�E/th>
78      <th ALIGN="center" width =30>D</th>
79    </tr>
80    <tr ALIGN="center">
81      <th ALIGN="center" width =180>�E/th>
82      <th ALIGN="center" width =30>E</th>
83    </tr>
84    <tr ALIGN="center">
85      <th ALIGN="center" width =180>�E/th>
86      <th ALIGN="center" width =30>F</th>
87    </tr>
88
89</table>
90
91<table border="1" >
92    <tr ALIGN="center" bgcolor="#C0C0C0">
93      <th ALIGN="center" width =180>Nothing</th>
94      <th ALIGN="center" width =30>FF</th>
95    </tr>
96
97</table>
98</BLOCKQUOTE></BLOCKQUOTE>
99<BR>
100
101<H2>Examples</H2>
102<P>If the first component is THP video data and the second component is THP audio data, then <CODE>THPFrameCompInfo</CODE> is as follows.</P>
103<BLOCKQUOTE><HR><BLOCKQUOTE>
104<table border="0">
105  <tbody>
106    <tr ALIGN="center">
107      <td ALIGN="left" width =180 ><CODE>numComponents</CODE></td>
108      <td ALIGN="left" width =60> = 2 </td>
109      <td width =300 ALIGN="left">:No. of components</td>
110    </tr>
111  </tbody>
112</table>
113<table border="0">
114  <tbody>
115    <tr ALIGN="center">
116      <td ALIGN="left" width =180 ><CODE>frameComp [0]</CODE></td>
117      <td ALIGN="left" width =60> = 0 </td>
118      <td width =300 ALIGN="left">:Video data identifier</td>
119    </tr>
120    <tr ALIGN="center">
121      <td ALIGN="left" width =180 ><CODE>frameComp [1]</CODE></td>
122      <td ALIGN="left" width =60> = 1 </td>
123      <td width =300 ALIGN="left">:Audio data identifier</td>
124    </tr>
125    <tr ALIGN="center">
126      <td ALIGN="left" width =180 ><CODE>frameComp [2�E5]</CODE></td>
127      <td ALIGN="left" width =60> = FF </td>
128      <td width =300 ALIGN="left">:No data</td>
129    </tr>
130
131
132  </tbody>
133</table>
134</BLOCKQUOTE><HR></BLOCKQUOTE>
135
136<P>After <CODE>THPFrameCompInfo</CODE> is the information about each type of components (for example, <CODE>THPVideoInfo</CODE> and <CODE>THPAudioInfo</CODE>). This component information must also be in the THP Components identifier order that is stored in the <CODE>frameComp</CODE> array.</P>
137<BR>
138
139<H2>See Also</H2>
140<P>
141<A href="../THPConv.html"><CODE>THPConv.exe</CODE></A><BR><A href="../THPFormat.html">THP movie file format</A>
142</P>
143
144<H2>Revision History</H2>
145<P>
1462006/03/01 Initial version.<br>
147</P>
148
149<hr><p>CONFIDENTIAL</p></body>
150</HTML>