aboutsummaryrefslogtreecommitdiff
path: root/libraries/phpvideotoolkit/adapters/ffmpeg-php/php-reader/docs/php-reader/ISO/ISO14496_Box_TKHD.html
blob: ec62feceb3136be99a280022c2cab76e9b61ea2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class ISO14496_Box_TKHD</title>
			<link rel="stylesheet" href="../../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			

<h2 class="class-name">Class ISO14496_Box_TKHD</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
													<a href="#sec-vars">Vars</a>
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
											<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
						
			</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The <em>Track Header Box</em> specifies the characteristics of a single track.</p>
<p class="description"><p>Exactly one Track Header Box is contained in a track.</p><p>In the absence of an edit list, the presentation of a track starts at the  beginning of the overall presentation. An empty edit is used to offset the  start time of a track.</p></p>
	<ul class="tags">
				<li><span class="field">author:</span> Sven Vollbehr &lt;<a href="mailto:svollbehr@gmail.com">svollbehr@gmail.com</a>&gt;</li>
				<li><span class="field">version:</span> $Rev: 92 $</li>
				<li><span class="field">copyright:</span> Copyright (c) 2008 The PHP Reader Project Workgroup</li>
				<li><span class="field">license:</span> <a href="http://code.google.com/p/php-reader/wiki/License">New BSD License</a></li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_ISO14496---Box---TKHD.php.html">/ISO14496/Box/TKHD.php</a> (line <span class="field">57</span>)
		</p>
		
				
		<pre><a href="../../php-reader/ISO/ISO14496_Box.html">ISO14496_Box</a>
   |
   --<a href="../../php-reader/ISO/ISO14496_Box_Full.html">ISO14496_Box_Full</a>
      |
      --ISO14496_Box_TKHD</pre>
	
			</div>
</div>


	<a name="sec-const-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Class Constant Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
						<span class="disabled">Constants</span> (<a href="#sec-consts">details</a>)
												<a href="#sec-vars">Vars</a>
				 
				|
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<div class="const-summary">
								<div class="const-title">
					<img src="../../media/images/Constant.png" alt=" " />
					<a href="#TRACK_ENABLED" title="details" class="const-name">TRACK_ENABLED</a> = 					<span class="var-type"> 1</span>

				</div>
								<div class="const-title">
					<img src="../../media/images/Constant.png" alt=" " />
					<a href="#TRACK_IN_MOVIE" title="details" class="const-name">TRACK_IN_MOVIE</a> = 					<span class="var-type"> 2</span>

				</div>
								<div class="const-title">
					<img src="../../media/images/Constant.png" alt=" " />
					<a href="#TRACK_IN_PREVIEW" title="details" class="const-name">TRACK_IN_PREVIEW</a> = 					<span class="var-type"> 4</span>

				</div>
							</div>
		</div>
	</div>


	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
															<a href="#sec-vars">Vars</a>
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																												
												<div class="method-definition">
											<span class="method-result">ISO14496_Box_TKHD</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
											(<span class="var-type"><a href="../../php-reader/Reader.html">Reader</a></span>&nbsp;<span class="var-name">$reader</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">&$options</span> = <span class="var-default">array()</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">integer</span>
										<a href="#getCreationTime" title="details" class="method-name">getCreationTime</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">integer</span>
										<a href="#getDuration" title="details" class="method-name">getDuration</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">integer</span>
										<a href="#getHeight" title="details" class="method-name">getHeight</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">integer</span>
										<a href="#getModificationTime" title="details" class="method-name">getModificationTime</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">integer</span>
										<a href="#getTrackId" title="details" class="method-name">getTrackId</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">integer</span>
										<a href="#getWidth" title="details" class="method-name">getWidth</a>
										()
									</div>
								</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
												<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			
							<h4>Inherited Variables</h4>
				<A NAME='inherited_vars'><!-- --></A>
									<p>Inherited from <span class="classname"><a href="../../php-reader/ISO/ISO14496_Box_Full.html">ISO14496_Box_Full</a></span></p>
					<blockquote>
													<span class="var-title">
								<span class="var-name"><a href="../../php-reader/ISO/ISO14496_Box_Full.html#var$_flags">ISO14496_Box_Full::$_flags</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../php-reader/ISO/ISO14496_Box_Full.html#var$_version">ISO14496_Box_Full::$_version</a></span><br>
							</span>
											</blockquote> 
									<p>Inherited from <span class="classname"><a href="../../php-reader/ISO/ISO14496_Box.html">ISO14496_Box</a></span></p>
					<blockquote>
													<span class="var-title">
								<span class="var-name"><a href="../../php-reader/ISO/ISO14496_Box.html#var$_reader">ISO14496_Box::$_reader</a></span><br>
							</span>
											</blockquote> 
										
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-vars">Vars</a>
																			<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
										<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>

<a name="method__construct" id="__construct"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">Constructor __construct</span> (line <span class="line-number">95</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Constructs the class with given parameters and reads box related data from  the ISO Base Media file.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">ISO14496_Box_TKHD</span>
		<span class="method-name">
			__construct
		</span>
					(<span class="var-type"><a href="../../php-reader/Reader.html">Reader</a></span>&nbsp;<span class="var-name">$reader</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">&$options</span> = <span class="var-default">array()</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../../php-reader/Reader.html">Reader</a></span>
				<span class="var-name">$reader</span><span class="var-description">: The reader object.</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">&$options</span>			</li>
				</ul>
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../../php-reader/ISO/ISO14496_Box_Full.html#method__construct">ISO14496_Box_Full::__construct()</a></dt>
						<dd>Constructs the class with given parameters and reads box related data from  the ISO Base Media file.</dd>
					</dl>
			
	</div>
<a name="methodgetCreationTime" id="getCreationTime"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getCreationTime</span> (line <span class="line-number">127</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the creation time of this track in seconds since midnight, Jan. 1,  1904, in UTC time.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">integer</span>
		<span class="method-name">
			getCreationTime
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetDuration" id="getDuration"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getDuration</span> (line <span class="line-number">156</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the duration of this track (in the timescale indicated in the</p>
<p class="description"><p>MVHD). The value of this field is equal to the sum  of the durations of all of the track's edits. If there is no edit list,  then the duration is the sum of the sample durations, converted into the  timescale in the MVHD. If the duration of this  track cannot be determined then duration is set to all 32-bit maxint.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">integer</span>
		<span class="method-name">
			getDuration
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetHeight" id="getHeight"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getHeight</span> (line <span class="line-number">176</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the track's visual presentation height. This needs not be the same  as the pixel height of the images; all images in the sequence are scaled to  this height, before any overall transformation of the track represented by  the matrix. The pixel height of the images is the default value.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">integer</span>
		<span class="method-name">
			getHeight
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetModificationTime" id="getModificationTime"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getModificationTime</span> (line <span class="line-number">135</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the most recent time the track was modified in seconds since  midnight, Jan. 1, 1904, in UTC time.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">integer</span>
		<span class="method-name">
			getModificationTime
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetTrackId" id="getTrackId"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getTrackId</span> (line <span class="line-number">144</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns a number that uniquely identifies this track over the entire  life-time of this presentation. Track IDs are never re-used and cannot be  zero.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">integer</span>
		<span class="method-name">
			getTrackId
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetWidth" id="getWidth"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getWidth</span> (line <span class="line-number">166</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the track's visual presentation width. This needs not be the same  as the pixel width of the images; all images in the sequence are scaled to  this width, before any overall transformation of the track represented by  the matrix. The pixel width of the images is the default value.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">integer</span>
		<span class="method-name">
			getWidth
		</span>
				()
			</div>
	
		
			
	</div>
							<h4>Inherited Methods</h4>
				<a name='inherited_methods'><!-- --></a>	
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../../php-reader/ISO/ISO14496_Box_Full.html">ISO14496_Box_Full</a></span></p>
					<blockquote>
													<span class="method-name"><a href="../../php-reader/ISO/ISO14496_Box_Full.html#method__construct">ISO14496_Box_Full::__construct()</a></span><br>
													<span class="method-name"><a href="../../php-reader/ISO/ISO14496_Box_Full.html#methodgetFlags">ISO14496_Box_Full::getFlags()</a></span><br>
													<span class="method-name"><a href="../../php-reader/ISO/ISO14496_Box_Full.html#methodgetVersion">ISO14496_Box_Full::getVersion()</a></span><br>
													<span class="method-name"><a href="../../php-reader/ISO/ISO14496_Box_Full.html#methodhasFlag">ISO14496_Box_Full::hasFlag()</a></span><br>
													<span class="method-name"><a href="../../php-reader/ISO/ISO14496_Box_Full.html#methodsetFlags">ISO14496_Box_Full::setFlags()</a></span><br>
													<span class="method-name"><a href="../../php-reader/ISO/ISO14496_Box_Full.html#methodsetVersion">ISO14496_Box_Full::setVersion()</a></span><br>
													<span class="method-name"><a href="../../php-reader/ISO/ISO14496_Box_Full.html#method__toString">ISO14496_Box_Full::__toString()</a></span><br>
											</blockquote>
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../../php-reader/ISO/ISO14496_Box.html">ISO14496_Box</a></span></p>
					<blockquote>
													<span class="method-name"><a href="../../php-reader/ISO/ISO14496_Box.html#method__construct">ISO14496_Box::__construct()</a></span><br>
													<span class="method-name"><a href="../../php-reader/ISO/ISO14496_Box.html#methodaddBox">ISO14496_Box::addBox()</a></span><br>
													<span class="method-name"><a href="../../php-reader/ISO/ISO14496_Box.html#methodconstructBoxes">ISO14496_Box::constructBoxes()</a></span><br>
													<span class="method-name"><a href="../../php-reader/ISO/ISO14496_Box.html#methodgetBoxes">ISO14496_Box::getBoxes()</a></span><br>
													<span class="method-name"><a href="../../php-reader/ISO/ISO14496_Box.html#methodgetBoxesByIdentifier">ISO14496_Box::getBoxesByIdentifier()</a></span><br>
													<span class="method-name"><a href="../../php-reader/ISO/ISO14496_Box.html#methodgetContainer">ISO14496_Box::getContainer()</a></span><br>
													<span class="method-name"><a href="../../php-reader/ISO/ISO14496_Box.html#methodgetOffset">ISO14496_Box::getOffset()</a></span><br>
													<span class="method-name"><a href="../../php-reader/ISO/ISO14496_Box.html#methodgetOption">ISO14496_Box::getOption()</a></span><br>
													<span class="method-name"><a href="../../php-reader/ISO/ISO14496_Box.html#methodgetOptions">ISO14496_Box::getOptions()</a></span><br>
													<span class="method-name"><a href="../../php-reader/ISO/ISO14496_Box.html#methodgetParent">ISO14496_Box::getParent()</a></span><br>
													<span class="method-name"><a href="../../php-reader/ISO/ISO14496_Box.html#methodgetSize">ISO14496_Box::getSize()</a></span><br>
													<span class="method-name"><a href="../../php-reader/ISO/ISO14496_Box.html#methodgetType">ISO14496_Box::getType()</a></span><br>
													<span class="method-name"><a href="../../php-reader/ISO/ISO14496_Box.html#methodhasBox">ISO14496_Box::hasBox()</a></span><br>
													<span class="method-name"><a href="../../php-reader/ISO/ISO14496_Box.html#methodisContainer">ISO14496_Box::isContainer()</a></span><br>
													<span class="method-name"><a href="../../php-reader/ISO/ISO14496_Box.html#methodsetContainer">ISO14496_Box::setContainer()</a></span><br>
													<span class="method-name"><a href="../../php-reader/ISO/ISO14496_Box.html#methodsetOffset">ISO14496_Box::setOffset()</a></span><br>
													<span class="method-name"><a href="../../php-reader/ISO/ISO14496_Box.html#methodsetOption">ISO14496_Box::setOption()</a></span><br>
													<span class="method-name"><a href="../../php-reader/ISO/ISO14496_Box.html#methodsetOptions">ISO14496_Box::setOptions()</a></span><br>
													<span class="method-name"><a href="../../php-reader/ISO/ISO14496_Box.html#methodsetParent">ISO14496_Box::setParent()</a></span><br>
													<span class="method-name"><a href="../../php-reader/ISO/ISO14496_Box.html#methodsetSize">ISO14496_Box::setSize()</a></span><br>
													<span class="method-name"><a href="../../php-reader/ISO/ISO14496_Box.html#methodsetType">ISO14496_Box::setType()</a></span><br>
													<span class="method-name"><a href="../../php-reader/ISO/ISO14496_Box.html#method__get">ISO14496_Box::__get()</a></span><br>
													<span class="method-name"><a href="../../php-reader/ISO/ISO14496_Box.html#method__isset">ISO14496_Box::__isset()</a></span><br>
													<span class="method-name"><a href="../../php-reader/ISO/ISO14496_Box.html#method__set">ISO14496_Box::__set()</a></span><br>
													<span class="method-name"><a href="../../php-reader/ISO/ISO14496_Box.html#method__toString">ISO14496_Box::__toString()</a></span><br>
													<span class="method-name"><a href="../../php-reader/ISO/ISO14496_Box.html#method__unset">ISO14496_Box::__unset()</a></span><br>
											</blockquote>
										
		</div>
	</div>

	<a name="sec-consts"></a>
	<div class="info-box">
		<div class="info-box-title">Class Constants</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Constants</a> (<span class="disabled">details</span>)
						
			
												<a href="#sec-vars">Vars</a>
														| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="constTRACK_ENABLED" id="TRACK_ENABLED"><!-- --></A>
<div class="evenrow">

	<div class="const-header">
		<img src="../../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">TRACK_ENABLED</span>
			 = <span class="const-default"> 1</span>
			(line <span class="line-number">81</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Indicates that the track is enabled. A disabled track is treated as if it  were not present.</p>
	
	
</div>
<a name="constTRACK_IN_MOVIE" id="TRACK_IN_MOVIE"><!-- --></A>
<div class="oddrow">

	<div class="const-header">
		<img src="../../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">TRACK_IN_MOVIE</span>
			 = <span class="const-default"> 2</span>
			(line <span class="line-number">84</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Indicates that the track is used in the presentation.</p>
	
	
</div>
<a name="constTRACK_IN_PREVIEW" id="TRACK_IN_PREVIEW"><!-- --></A>
<div class="evenrow">

	<div class="const-header">
		<img src="../../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">TRACK_IN_PREVIEW</span>
			 = <span class="const-default"> 4</span>
			(line <span class="line-number">87</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Indicates that the track is used when previewing the presentation.</p>
	
	
</div>

						
		</div>
	</div>

	<p class="notes" id="credit">
		Documentation generated on Fri, 05 Sep 2008 20:19:47 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.1</a>
	</p>
	</div></body>
</html>