User Guide

5-6 Ampex 1308911-02
Model No.
Running Head
DST API Overview libdd2 API Functions
int adfn; /* Absolute double-frame number */
int ptid; /* Partition ID (starting at zero!) */
int fsn; /* File section number (within partition) */
dst_dbn_st cdbn; /* Cumulative data block no. (within partition.)
/* (not counting FSNs as blocks) */
} dst_600_pos_st;
valid Same as described for dst_dd2_pos_st.
adfn Same as described for dst_dd2_pos_st.
ptid Same as described for dst_dd2_pos_st.
fsn Same as described for dst_dd2_pos_st. Although fsn is returned
for current DST600 position, it is not used when setting DST600
position.
cdbn Cumulative Data Block Number - The block number of the location.
Data blocks are numbered sequentially within the partition starting at
zero, and filemarks are counted as blocks.
dst_dis_pos_st Structure
This structure type represents position in DIS format and may not be portable across
platforms. It is similar to the native DST structure, except that it uses timecode to specify a
location instead of
fsn and ldbn.
typedef struct
{
u_int valid; /* Flag indicating which members are valid */
int adfn; /* Absolute double-frame number */
int ptid; /* Partition ID (0-1023) */
int reserve2; /* timecode don't have FSN */
dst_dbn_st timecode; /* Timecode */
} dst_dis_pos_st;
valid Same as described for dst_dd2_pos_st.
adfn Same as described for dst_dd2_pos_st.
ptid Same as described for dst_dd2_pos_st.
reserve2 Not used.
timecode IRIG-B timecode value recorded for the location. This is a 64-bit
extended precision integer that specifies IRIG-B time in number of
milliseconds.