25
25
#ifndef GST_VAAPI_VIDEO_FORMAT_H
26
26
#define GST_VAAPI_VIDEO_FORMAT_H
28
#include <gst/gstvalue.h>
29
28
#include <gst/video/video.h>
34
gst_vaapi_video_format_from_string(const gchar *str);
37
gst_vaapi_video_format_to_string(GstVideoFormat format);
40
gst_vaapi_video_format_is_rgb(GstVideoFormat format);
43
gst_vaapi_video_format_is_yuv(GstVideoFormat format);
46
gst_vaapi_video_format_from_structure(GstStructure *structure);
49
gst_vaapi_video_format_from_caps(GstCaps *caps);
52
gst_vaapi_video_format_to_caps(GstVideoFormat format);
55
gst_vaapi_video_format_from_va_fourcc(guint32 fourcc);
58
gst_vaapi_video_format_from_va_format(const VAImageFormat *va_format);
33
gst_vaapi_video_format_from_string (const gchar * str);
36
gst_vaapi_video_format_to_string (GstVideoFormat format);
39
gst_vaapi_video_format_is_rgb (GstVideoFormat format);
42
gst_vaapi_video_format_is_yuv (GstVideoFormat format);
45
gst_vaapi_video_format_from_va_fourcc (guint32 fourcc);
48
gst_vaapi_video_format_from_va_format (const VAImageFormat * va_format);
60
50
const VAImageFormat *
61
gst_vaapi_video_format_to_va_format(GstVideoFormat format);
64
gst_vaapi_video_format_get_chroma_type(GstVideoFormat format);
67
gst_vaapi_video_format_get_score(GstVideoFormat format);
51
gst_vaapi_video_format_to_va_format (GstVideoFormat format);
54
gst_vaapi_video_format_get_chroma_type (GstVideoFormat format);
57
gst_vaapi_video_format_get_score (GstVideoFormat format);