DUNE: Uniform Navigational Environment
2016.05.0
|
Class representing an AVI stream header chunk.
Public Member Functions | |
STRH (const Properties &properties) | |
void | writeData (std::ostream &os) |
Public Member Functions inherited from DUNE::Media::MJPG::Chunk | |
Chunk (const Properties &properties, const char *id) | |
virtual | ~Chunk (void) |
void | write (std::ostream &os) |
void | setData (const uint8_t *data, uint32_t data_size) |
uint32_t | getSize (void) const |
void | setDataSize (size_t size) |
uint32_t | getDataSize (void) const |
Additional Inherited Members | |
Protected Member Functions inherited from DUNE::Media::MJPG::Chunk | |
void | writeShort (const uint16_t &value, std::ostream &os) |
void | writeWord (const uint32_t &value, std::ostream &os) |
void | writeFourCC (const char *value, std::ostream &os) |
void | writeString (const std::string &value, std::ostream &os) |
Protected Attributes inherited from DUNE::Media::MJPG::Chunk | |
const Properties & | m_properties |
|
inline |
Constructor.
[in] | properties | stream properties. |
References DUNE::Media::MJPG::Chunk::setDataSize().
|
inlinevirtual |
Write chunk data to output stream.
[in] | os | output stream. |
Reimplemented from DUNE::Media::MJPG::Chunk.
References DUNE::Media::MJPG::Properties::fps, DUNE::Media::MJPG::Properties::height, DUNE::Media::MJPG::Chunk::m_properties, DUNE::Media::MJPG::Properties::total_frames, DUNE::Media::MJPG::Properties::width, DUNE::Media::MJPG::Chunk::writeFourCC(), DUNE::Media::MJPG::Chunk::writeShort(), and DUNE::Media::MJPG::Chunk::writeWord().