| Top |
| const char * | gst_vaapi_video_format_to_string () |
| GstVideoFormat | gst_vaapi_video_format_from_caps () |
| GstVideoFormat | gst_vaapi_video_format_from_structure () |
| GstVideoFormat | gst_vaapi_video_format_from_va_format () |
| guint | gst_vaapi_video_format_get_chroma_type () |
| guint | gst_vaapi_video_format_get_score () |
| gboolean | gst_vaapi_video_format_is_rgb () |
| gboolean | gst_vaapi_video_format_is_yuv () |
| GstCaps * | gst_vaapi_video_format_to_caps () |
| const VAImageFormat * | gst_vaapi_video_format_to_va_format () |
const char *
gst_vaapi_video_format_to_string (GstVideoFormat format);
Returns the string representation of the format
argument.
GstVideoFormat
gst_vaapi_video_format_from_caps (GstCaps *caps);
Converts caps
into the corresponding GstVideoFormat. If the
image format cannot be represented by GstVideoFormat, then
zero is returned.
GstVideoFormat
gst_vaapi_video_format_from_structure (GstStructure *structure);
Converts structure
into the corresponding GstVideoFormat. If
the image format cannot be represented by GstVideoFormat,
then zero is returned.
GstVideoFormat
gst_vaapi_video_format_from_va_format (const VAImageFormat *va_format);
Converts a VA image format into the corresponding GstVideoFormat. If the image format cannot be represented by GstVideoFormat, then zero is returned.
guint
gst_vaapi_video_format_get_chroma_type
(GstVideoFormat format);
Converts a GstVideoFormat into the corresponding GstVaapiChromaType format.
guint
gst_vaapi_video_format_get_score (GstVideoFormat format);
Determines how "native" is this format
. The lower is the returned
score, the best format this is for the underlying hardware.
gboolean
gst_vaapi_video_format_is_rgb (GstVideoFormat format);
Checks whether the format is an RGB format.
gboolean
gst_vaapi_video_format_is_yuv (GstVideoFormat format);
Checks whether the format is an YUV format.
GstCaps *
gst_vaapi_video_format_to_caps (GstVideoFormat format);
Converts a GstVideoFormat into the corresponding GstCaps. If
no matching caps were found, NULL is returned.