![]() |
![]() |
![]() |
GStreamer VA-API Plugins 1.0 Library Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
const gchar * gst_vaapi_video_format_to_string (GstVideoFormat format
); GstVideoFormat gst_vaapi_video_format_from_va_format (const VAImageFormat *va_format
); guint gst_vaapi_video_format_get_chroma_type (GstVideoFormat format
); guint gst_vaapi_video_format_get_score (GstVideoFormat format
); gboolean gst_vaapi_video_format_is_rgb (GstVideoFormat format
); gboolean gst_vaapi_video_format_is_yuv (GstVideoFormat format
); const VAImageFormat * gst_vaapi_video_format_to_va_format (GstVideoFormat format
);
const gchar * gst_vaapi_video_format_to_string (GstVideoFormat format
);
Returns the string representation of the format
argument.
|
a GstVideoFormat |
Returns : |
string representation of format , or NULL if unknown
or unsupported. |
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.
|
a VAImageFormat |
Returns : |
the GstVideoFormat describing the va_format
|
guint gst_vaapi_video_format_get_chroma_type
(GstVideoFormat format
);
Converts a GstVideoFormat into the corresponding GstVaapiChromaType format.
|
a GstVideoFormat |
Returns : |
the GstVaapiChromaType format, or zero if no match was found. |
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.
|
a GstVideoFormat |
Returns : |
the format score, or G_MAXUINT if none was found |
gboolean gst_vaapi_video_format_is_rgb (GstVideoFormat format
);
Checks whether the format is an RGB format.
|
a GstVideoFormat |
Returns : |
TRUE if format is RGB format |
gboolean gst_vaapi_video_format_is_yuv (GstVideoFormat format
);
Checks whether the format is an YUV format.
|
a GstVideoFormat |
Returns : |
TRUE if format is 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.
|
a GstVideoFormat |
Returns : |
the VA image format, or NULL if none was found |