|
gstreamermm
1.10.0
|
A class that represents a 4 byte identifier (used in codecs). More...
#include <gstreamermm/value.h>
Public Member Functions | |
| Fourcc () | |
| Construct an undefined Gst::Fourcc. More... | |
| Fourcc (const Fourcc& src) | |
| Construct a Gst::Fourcc from another. More... | |
| Fourcc (char first, char second, char third, char fourth) | |
| Construct a Gst::Fourcc from 4 characters. More... | |
| Fourcc (const Glib::ustring& s) | |
| Construct a Gst::Fourcc from an input string. More... | |
| Fourcc (guint32 fourcc) | |
| Construct a Gst::Fourcc from a 32 bit unsigned integer. More... | |
| Fourcc& | operator= (const Fourcc& src) |
Public Attributes | |
| char | first |
| char | second |
| char | third |
| char | fourth |
A class that represents a 4 byte identifier (used in codecs).
Gst::Fourcc is used to store a four byte identifier in Gst::Structure of Gst::Caps as a value representing a property (see GStreamer Application Development Manual section 8.2.2 and GstValue docs). When the value is set, it is transformed to a GStreamer GType so retrieving the value is a bit different. The class can be used in setting and getting a Gst::Structure field like so:
Last reviewed on 2016-08-27 (1.8.0)
| Gst::Fourcc::Fourcc | ( | ) |
Construct an undefined Gst::Fourcc.
| Gst::Fourcc::Fourcc | ( | const Fourcc& | src | ) |
Construct a Gst::Fourcc from another.
| Gst::Fourcc::Fourcc | ( | char | first, |
| char | second, | ||
| char | third, | ||
| char | fourth | ||
| ) |
Construct a Gst::Fourcc from 4 characters.
|
explicit |
Construct a Gst::Fourcc from an input string.
Caller is responsible for ensuring the input string consists of at least four characters.
|
explicit |
Construct a Gst::Fourcc from a 32 bit unsigned integer.
| char Gst::Fourcc::first |
| char Gst::Fourcc::fourth |
| char Gst::Fourcc::second |
| char Gst::Fourcc::third |
1.8.18