# AP4_SttsAtom Class Reference

`#include <Ap4SttsAtom.h>`

Inheritance diagram for AP4_SttsAtom:

List of all members.

## Public Member Functions
| AP4_SttsAtom ()
virtual AP4_Result | InspectFields (AP4_AtomInspector &inspector)
virtual AP4_Result | GetDts (AP4_Ordinal sample, AP4_TimeStamp &dts)
virtual AP4_Result | AddEntry (AP4_UI32 sample_count, AP4_UI32 sample_duration)
virtual AP4_Result | GetSampleIndexForTimeStamp (AP4_TimeStamp ts, AP4_Ordinal &sample_index)
virtual AP4_Result | WriteFields (AP4_ByteStream &stream)
## Static Public Member Functions
static AP4_SttsAtom * | Create (AP4_Size size, AP4_ByteStream &stream)

## Detailed Description

Definition at line 58 of file Ap4SttsAtom.h.

## Constructor & Destructor Documentation

AP4_SttsAtom::AP4_SttsAtom | ( |  | ) |

## Member Function Documentation

static AP4_SttsAtom* AP4_SttsAtom::Create | ( | AP4_Size | size,
|  | AP4_ByteStream & | stream |
| ) |  |  | `[static]`

virtual AP4_Result AP4_SttsAtom::InspectFields | ( | AP4_AtomInspector & | inspector | ) | `[virtual]`

Reimplemented from AP4_Atom.

virtual AP4_Result AP4_SttsAtom::GetDts | ( | AP4_Ordinal | sample,
|  | AP4_TimeStamp & | dts |
| ) |  |  | `[virtual]`

virtual AP4_Result AP4_SttsAtom::AddEntry | ( | AP4_UI32 | sample_count,
|  | AP4_UI32 | sample_duration |
| ) |  |  | `[virtual]`

virtual AP4_Result AP4_SttsAtom::GetSampleIndexForTimeStamp | ( | AP4_TimeStamp | ts,
|  | AP4_Ordinal & | sample_index |
| ) |  |  | `[virtual]`

virtual AP4_Result AP4_SttsAtom::WriteFields | ( | AP4_ByteStream & | stream | ) | `[virtual]`

Implements AP4_Atom.

## Member Data Documentation

AP4_Ordinal AP4_SttsAtom::entry_index

Definition at line 83 of file Ap4SttsAtom.h.

AP4_Ordinal AP4_SttsAtom::sample

Definition at line 84 of file Ap4SttsAtom.h.

AP4_TimeStamp AP4_SttsAtom::dts

Definition at line 85 of file Ap4SttsAtom.h.

The documentation for this class was generated from the following file:

- Ap4SttsAtom.h