This structure holds information to describe a video format. Application can retrieve this structure by calling pjmedia_get_video_format_info() funcion.
The unique format ID of the media. Well known format ids are declared in pjmedia_format_id enumeration.
Null terminated string containing short identification about the format.
Information about the color model of this video format.
Number of bits needed to store one pixel of this video format.
Number of video planes that this format uses. Value 1 indicates packed format, while value greater than 1 indicates planar format.
Pointer to function to apply this format against size and buffer information in pjmedia_video_apply_fmt_param argument. Application uses this function to obtain various information such as the memory size of a frame buffer, strides value of the image, the location of the planes, and so on. See pjmedia_video_apply_fmt_param for additional information.
|vfi||The video format info. |
|vafp||The parameters to investigate.|
- PJ_SUCCESS if the function has calculated the information in vafp successfully.
The documentation for this struct was generated from the following file: