Top | ![]() |
![]() |
![]() |
![]() |
const gchar * | gst_vaapi_video_format_to_string () |
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 () |
const VAImageFormat * | gst_vaapi_video_format_to_va_format () |
const gchar *
gst_vaapi_video_format_to_string (GstVideoFormat format
);
Returns the string representation of the format
argument.
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.
const VAImageFormat *
gst_vaapi_video_format_to_va_format (GstVideoFormat format
);
Converts a GstVideoFormat into the corresponding VA image
format. If no matching VA image format was found, NULL
is returned
and this error must be reported to be fixed.