![]() |
![]() |
![]() |
![]() |
Video status information
#include <mm/types.h> typedef struct mm_video_status { uint32_t width; uint32_t height; struct { uint16_t w; uint16_t h; } aspect_ratio; } mm_video_status_t;
The structure mm_video_status_t describes a video's status. It is filled in by the function mme_video_get_status() and includes at least the members described in the table below.
Member | Type | Description |
---|---|---|
width | uint32_t | The width of the video, in pixels. |
height | uint32_t | Height of the video, in pixels. |
aspect_ratio | struct | The width to height aspect ratio of the video. See aspect_ratio below. |
The aspect_ratio member uses whole numbers to express the video aspect ratio. These numbers only describe the height to width ratio of the image, and have no bearing on the actual width and height in pixels of the source.
Common aspect ratio values are:
Usual representations are in parentheses: “(x,y)”.
The w and h members of the structure aspect_ratio are the whole numbers used to express the aspect ratio of the image.
Width w and height h values of 0 (0,0) mean that no aspect ratio information is available.
QNX Multimedia
mme_video_get_info(), mme_video_get_status()
![]() |
![]() |
![]() |
![]() |