Operating systems, development tools, and professional services
for connected embedded systems

Developer Resources
Blogs
Board support packages
Foundry27 projects
Forums
Hardware support listing
Online video tutorials
Product documentation

MediaFormat_t

MediaFormat_t

A merged formats structure

Synopsis:

See below.

Description:

This structure defines a generic media type, which can be audio, video, or image, and includes compression information. It contains the following members:

uint32_t mtype
A flag indicating media type, which can be one of:
  • MEDIA_TYPE_IMAGE
  • MEDIA_TYPE_VIDEO
  • MEDIA_TYPE_AUDIO
These flags can be ORed with MEDIA_TYPE_COMPRESSED if the data is compressed.
uint32_t fourcc
A standard "four character code" that describes the media type. This is the standard FOURCC value used in avi and quicktime files. A number of additional values are defined:
  • RGB6 -- 16 bit RGB
  • RGB5 -- 15 bit RGB
  • RGB4 -- 24 bit RGB
  • RGB2 -- 32 bit RGB
u
A straight union for the above media formats. The union contains members image, audio, and video, of type ImageFormat_t, AudioFormat_t, and VideoFormat_t respectively.

Classification:

QNX Neutrino

See also:

ImageFormat_t, VideoFormat_t, AudioFormat_t