| Framework | QTKit/QTKit.h |
| Declared in | QTTimeRange.h |
This chapter describes the data types and constants found in the QuickTime Kit framework.
Defines the value and time scale of a time.
typedef struct { long long timeValue; long timeScale; long flags; }
The QTTime structure defines the value and time scale of a time. Currently only one flag is defined:
enum { |
kQTTimeIsIndefinite = 1 << 0 |
}; |
If this flag is set in a QTTime structure, the other fields should not be used. The QTKit provides a number of functions for converting and comparing QTTime structures.
Defines a range of time.
typedef struct { QTTime time; QTTime duration; } QTTimeRange;
The QTTimeRange structure defines a range of time. It is used, for instance, to specify the active segment of a movie or track. The QTKit provides a number of functions for converting and comparing QTTimeRange structures.
QTTimeRange.h
© 2006 Apple Computer, Inc. All Rights Reserved. (Last updated: 2006-05-23)