# AP4_MdhdAtom Class Reference

`#include <Ap4MdhdAtom.h>`

Inheritance diagram for AP4_MdhdAtom:

List of all members.

## Public Member Functions
| AP4_MdhdAtom (AP4_UI32 creation_time, AP4_UI32 modification_time, AP4_UI32 time_scale, AP4_UI32 duration, const char *language)
virtual AP4_Result | InspectFields (AP4_AtomInspector &inspector)
virtual AP4_Result | WriteFields (AP4_ByteStream &stream)
AP4_UI32 | GetDurationMs ()
AP4_UI32 | GetDuration ()
AP4_UI32 | GetTimeScale ()
AP4_String | GetLanguage ()
## Static Public Member Functions
static AP4_MdhdAtom * | Create (AP4_Size size, AP4_ByteStream &stream)

## Detailed Description

Definition at line 47 of file Ap4MdhdAtom.h.

## Constructor & Destructor Documentation

AP4_MdhdAtom::AP4_MdhdAtom | ( | AP4_UI32 | creation_time,
|  | AP4_UI32 | modification_time,
|  | AP4_UI32 | time_scale,
|  | AP4_UI32 | duration,
|  | const char * | language |
| ) |  |  |

## Member Function Documentation

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

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

Reimplemented from AP4_Atom.

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

Implements AP4_Atom.

AP4_UI32 AP4_MdhdAtom::GetDurationMs | ( |  | ) |

AP4_UI32 AP4_MdhdAtom::GetDuration | ( |  | ) | `[inline]`

Definition at line 63 of file Ap4MdhdAtom.h.

AP4_UI32 AP4_MdhdAtom::GetTimeScale | ( |  | ) | `[inline]`

Definition at line 64 of file Ap4MdhdAtom.h.

AP4_String AP4_MdhdAtom::GetLanguage | ( |  | ) | `[inline]`

Definition at line 65 of file Ap4MdhdAtom.h.

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

- Ap4MdhdAtom.h