Represents a video frame rate as a rational number.
Definition framerate.h:36
bool isValid() const
Returns true if this frame rate is valid (numerator > 0).
Definition framerate.h:68
Dynamic array container wrapping std::vector.
Definition list.h:40
size_t size() const noexcept
Returns the number of elements in the list.
Definition list.h:301
Describes a video format including frame rate, image layers, audio channels, and metadata.
Definition videodesc.h:25
void setFrameRate(const FrameRate &val)
Sets the frame rate.
Definition videodesc.h:47
List< ImageDesc > ImageDescList
List of ImageDesc values describing each image layer.
Definition videodesc.h:32
AudioDescList & audioList()
Returns a mutable reference to the list of audio descriptions.
Definition videodesc.h:57
Metadata & metadata()
Returns a mutable reference to the metadata.
Definition videodesc.h:62
const ImageDescList & imageList() const
Returns a const reference to the list of image descriptions.
Definition videodesc.h:50
const FrameRate & frameRate() const
Returns the frame rate.
Definition videodesc.h:44
const AudioDescList & audioList() const
Returns a const reference to the list of audio descriptions.
Definition videodesc.h:55
List< AudioDesc > AudioDescList
List of AudioDesc values describing each audio channel group.
Definition videodesc.h:35
bool isValid() const
Returns true if the video description is valid (has a valid frame rate and at least one image or audi...
Definition videodesc.h:41
VideoDesc()=default
Constructs a default (invalid) video description.
ImageDescList & imageList()
Returns a mutable reference to the list of image descriptions.
Definition videodesc.h:52
const Metadata & metadata() const
Returns a const reference to the metadata.
Definition videodesc.h:60
#define PROMEKI_NAMESPACE_BEGIN
Starts a promeki namespace block.
Definition namespace.h:14
#define PROMEKI_NAMESPACE_END
Ends a promeki namespace block.
Definition namespace.h:19
#define PROMEKI_SHARED_FINAL(TYPE)
Macro for non-polymorphic native shared objects.
Definition sharedptr.h:88