# FormatFrame
- [Overview](#section1358808790165631)
- [Summary](#section204336603165631)
- [Data Fields](#pub-attribs)
- [Details](#section1167159755165631)
- [Field](#section1590948647165631)
- [data](#a632575f46669a67c78ab28049e5654c6)
- [durationUs](#ab342d9f6536876e5d0a5952a9043ca2d)
- [frameIndex](#a1a966266639de3b0b8db994232c71687)
- [frameType](#a9cb91c927687f9875efa0d5600e04d1a)
- [isKeyFrame](#a6a1cd875ac96a43d01524249a7f32026)
- [item](#a9739fdfe949e2464d14a0a2c56f3fff6)
- [itemCnt](#ace44c0b0dfc642c8a296e69b6a3e7d9d)
- [len](#aa8bb4e843e90b0f4a7dd95d23faee65f)
- [position](#a8d0f0f738cab6d389423afd66dddcab2)
- [timestampUs](#a290ab46c3660d73cde08b268bf36c323)
- [trackId](#a36d27cb02e6d06479354618e959a429a)
## **Overview**
**Related Modules:**
[Format](format.md)
**Description:**
Defines the data frame, which is used for data transferring.
**Since:**
1.0
**Version:**
1.0
## **Summary**
## Data Fields
## **Details**
## **Field **
## data
```
uint8_t* FormatFrame::data
```
**Description:**
Address of the data frame buffer
## durationUs
```
int64_t FormatFrame::durationUs
```
**Description:**
Data frame duration, in us
## frameIndex
```
uint32_t FormatFrame::frameIndex
```
**Description:**
Data frame index. For the MPF container, the value indicates the index of the sub-image frame.
## frameType
```
[FrameType](format.md#gad495a9f61af7fff07d7e97979d1ab854) FormatFrame::frameType
```
**Description:**
Data frame type. For details, see [FrameType](format.md#gad495a9f61af7fff07d7e97979d1ab854).
## isKeyFrame
```
bool FormatFrame::isKeyFrame
```
**Description:**
Keyframe flag. **false**: The data frame is not a keyframe. **true**: The data frame is a keyframe.
## item
```
[ParameterItem](parameteritem.md)* FormatFrame::item
```
**Description:**
Pointer to the parameter array
## itemCnt
```
int32_t FormatFrame::itemCnt
```
**Description:**
Number of parameters, which can be used for information such as side data, PSSH, DRM, and HDR.
## len
```
uint32_t FormatFrame::len
```
**Description:**
Data frame length
## position
```
int64_t FormatFrame::position
```
**Description:**
Position of the data frame in the file
## timestampUs
```
int64_t FormatFrame::timestampUs
```
**Description:**
Timestamp of a data frame, in us
## trackId
```
uint32_t FormatFrame::trackId
```
**Description:**
Index of the track where the data frame is located