Describes a video format including frame rate, image layers, audio channels, and metadata. More...
#include <videodesc.h>
Public Types | |
| using | Ptr = SharedPtr< VideoDesc > |
| Shared pointer type for VideoDesc. | |
| using | ImageDescList = List< ImageDesc > |
| List of ImageDesc values describing each image layer. | |
| using | AudioDescList = List< AudioDesc > |
| List of AudioDesc values describing each audio channel group. | |
Public Member Functions | |
| VideoDesc ()=default | |
| Constructs a default (invalid) video description. | |
| bool | isValid () const |
| Returns true if the video description is valid (has a valid frame rate and at least one image or audio description). | |
| const FrameRate & | frameRate () const |
| Returns the frame rate. | |
| void | setFrameRate (const FrameRate &val) |
| Sets the frame rate. | |
| const ImageDescList & | imageList () const |
| Returns a const reference to the list of image descriptions. | |
| ImageDescList & | imageList () |
| Returns a mutable reference to the list of image descriptions. | |
| const AudioDescList & | audioList () const |
| Returns a const reference to the list of audio descriptions. | |
| AudioDescList & | audioList () |
| Returns a mutable reference to the list of audio descriptions. | |
| const Metadata & | metadata () const |
| Returns a const reference to the metadata. | |
| Metadata & | metadata () |
| Returns a mutable reference to the metadata. | |
Describes a video format including frame rate, image layers, audio channels, and metadata.
Sets the frame rate.
| val | The new frame rate. |