Functions
GST_VIDEO_CAPS_YUV()
#define GST_VIDEO_CAPS_YUV(fourcc)
GST_VIDEO_CAPS_GRAY16()
#define GST_VIDEO_CAPS_GRAY16(endianness)
gst_video_calculate_display_ratio ()
gboolean
gst_video_calculate_display_ratio (guint *dar_n
,
guint *dar_d
,
guint video_width
,
guint video_height
,
guint video_par_n
,
guint video_par_d
,
guint display_par_n
,
guint display_par_d
);
gst_video_frame_rate ()
const GValue *
gst_video_frame_rate (GstPad *pad
);
gst_video_get_size ()
gboolean
gst_video_get_size (GstPad *pad
,
gint *width
,
gint *height
);
gst_video_get_size_from_caps ()
gboolean
gst_video_get_size_from_caps (const GstCaps *caps
,
gint *size
);
gst_video_format_convert ()
gboolean
gst_video_format_convert (GstVideoFormat format
,
int width
,
int height
,
int fps_n
,
int fps_d
,
GstFormat src_format
,
gint64 src_value
,
GstFormat dest_format
,
gint64 *dest_value
);
gst_video_format_new_caps ()
GstCaps *
gst_video_format_new_caps (GstVideoFormat format
,
int width
,
int height
,
int framerate_n
,
int framerate_d
,
int par_n
,
int par_d
);
gst_video_format_new_caps_interlaced ()
GstCaps *
gst_video_format_new_caps_interlaced (GstVideoFormat format
,
int width
,
int height
,
int framerate_n
,
int framerate_d
,
int par_n
,
int par_d
,
gboolean interlaced
);
gst_video_format_new_template_caps ()
GstCaps *
gst_video_format_new_template_caps (GstVideoFormat format
);
gst_video_format_get_component_height ()
int
gst_video_format_get_component_height (GstVideoFormat format
,
int component
,
int height
);
gst_video_format_get_component_offset ()
int
gst_video_format_get_component_offset (GstVideoFormat format
,
int component
,
int width
,
int height
);
gst_video_format_get_component_width ()
int
gst_video_format_get_component_width (GstVideoFormat format
,
int component
,
int width
);
gst_video_format_get_component_depth ()
int
gst_video_format_get_component_depth (GstVideoFormat format
,
int component
);
gst_video_format_get_pixel_stride ()
int
gst_video_format_get_pixel_stride (GstVideoFormat format
,
int component
);
gst_video_format_get_row_stride ()
int
gst_video_format_get_row_stride (GstVideoFormat format
,
int component
,
int width
);
gst_video_format_get_size ()
int
gst_video_format_get_size (GstVideoFormat format
,
int width
,
int height
);
gst_video_format_has_alpha ()
gboolean
gst_video_format_has_alpha (GstVideoFormat format
);
gst_video_format_is_rgb ()
gboolean
gst_video_format_is_rgb (GstVideoFormat format
);
gst_video_format_is_gray ()
gboolean
gst_video_format_is_gray (GstVideoFormat format
);
gst_video_format_is_yuv ()
gboolean
gst_video_format_is_yuv (GstVideoFormat format
);
gst_video_format_to_fourcc ()
guint32
gst_video_format_to_fourcc (GstVideoFormat format
);
gst_video_format_from_fourcc ()
GstVideoFormat
gst_video_format_from_fourcc (guint32 fourcc
);
gst_video_format_parse_caps ()
gboolean
gst_video_format_parse_caps (const GstCaps *caps
,
GstVideoFormat *format
,
int *width
,
int *height
);
gst_video_format_parse_caps_interlaced ()
gboolean
gst_video_format_parse_caps_interlaced
(GstCaps *caps
,
gboolean *interlaced
);
gst_video_parse_caps_framerate ()
gboolean
gst_video_parse_caps_framerate (GstCaps *caps
,
int *fps_n
,
int *fps_d
);
gst_video_parse_caps_pixel_aspect_ratio ()
gboolean
gst_video_parse_caps_pixel_aspect_ratio
(GstCaps *caps
,
int *par_n
,
int *par_d
);
gst_video_parse_caps_color_matrix ()
const char *
gst_video_parse_caps_color_matrix (GstCaps *caps
);
gst_video_parse_caps_chroma_site ()
const char *
gst_video_parse_caps_chroma_site (GstCaps *caps
);
gst_video_parse_caps_palette ()
GstBuffer *
gst_video_parse_caps_palette (GstCaps *caps
);
GstVideoConvertFrameCallback ()
void
(*GstVideoConvertFrameCallback) (GstBuffer *buf
,
GError *error
,
gpointer user_data
);
gst_video_convert_frame ()
GstBuffer *
gst_video_convert_frame (GstBuffer *buf
,
const GstCaps *to_caps
,
GstClockTime timeout
,
GError **error
);
gst_video_convert_frame_async ()
void
gst_video_convert_frame_async (GstBuffer *buf
,
const GstCaps *to_caps
,
GstClockTime timeout
,
GstVideoConvertFrameCallback callback
,
gpointer user_data
,
GDestroyNotify destroy_notify
);
gst_video_event_new_still_frame ()
GstEvent *
gst_video_event_new_still_frame (gboolean in_still
);
gst_video_event_parse_still_frame ()
gboolean
gst_video_event_parse_still_frame (GstEvent *event
,
gboolean *in_still
);
gst_video_event_new_upstream_force_key_unit ()
GstEvent *
gst_video_event_new_upstream_force_key_unit
(GstClockTime running_time
,
gboolean all_headers
,
guint count
);
gst_video_event_new_downstream_force_key_unit ()
GstEvent *
gst_video_event_new_downstream_force_key_unit
(GstClockTime timestamp
,
GstClockTime streamtime
,
GstClockTime runningtime
,
gboolean all_headers
,
guint count
);
gst_video_event_is_force_key_unit ()
gboolean
gst_video_event_is_force_key_unit (GstEvent *event
);
gst_video_event_parse_upstream_force_key_unit ()
gboolean
gst_video_event_parse_upstream_force_key_unit
(GstEvent *event
,
GstClockTime *running_time
,
gboolean *all_headers
,
guint *count
);
gst_video_event_parse_downstream_force_key_unit ()
gboolean
gst_video_event_parse_downstream_force_key_unit
(GstEvent *event
,
GstClockTime *timestamp
,
GstClockTime *streamtime
,
GstClockTime *runningtime
,
gboolean *all_headers
,
guint *count
);
Types and Values
GST_VIDEO_BLUE_MASK_15
#define GST_VIDEO_BLUE_MASK_15 GST_VIDEO_COMP3_MASK_15
GST_VIDEO_BLUE_MASK_15
is deprecated and should not be used in newly-written code.
GST_VIDEO_BLUE_MASK_15_INT
#define GST_VIDEO_BLUE_MASK_15_INT GST_VIDEO_COMP3_MASK_15_INT
GST_VIDEO_BLUE_MASK_15_INT
is deprecated and should not be used in newly-written code.
GST_VIDEO_BLUE_MASK_16
#define GST_VIDEO_BLUE_MASK_16 GST_VIDEO_COMP3_MASK_16
GST_VIDEO_BLUE_MASK_16
is deprecated and should not be used in newly-written code.
GST_VIDEO_BLUE_MASK_16_INT
#define GST_VIDEO_BLUE_MASK_16_INT GST_VIDEO_COMP3_MASK_16_INT
GST_VIDEO_BLUE_MASK_16_INT
is deprecated and should not be used in newly-written code.
GST_VIDEO_BYTE1_MASK_24
#define GST_VIDEO_BYTE1_MASK_24 "0x00FF0000"
GST_VIDEO_BYTE1_MASK_24_INT
#define GST_VIDEO_BYTE1_MASK_24_INT 0x00FF0000
GST_VIDEO_BYTE1_MASK_32
#define GST_VIDEO_BYTE1_MASK_32 "0xFF000000"
GST_VIDEO_BYTE1_MASK_32_INT
#define GST_VIDEO_BYTE1_MASK_32_INT 0xFF000000
GST_VIDEO_BYTE2_MASK_24
#define GST_VIDEO_BYTE2_MASK_24 "0x0000FF00"
GST_VIDEO_BYTE2_MASK_24_INT
#define GST_VIDEO_BYTE2_MASK_24_INT 0x0000FF00
GST_VIDEO_BYTE2_MASK_32
#define GST_VIDEO_BYTE2_MASK_32 "0x00FF0000"
GST_VIDEO_BYTE2_MASK_32_INT
#define GST_VIDEO_BYTE2_MASK_32_INT 0x00FF0000
GST_VIDEO_BYTE3_MASK_24
#define GST_VIDEO_BYTE3_MASK_24 "0x000000FF"
GST_VIDEO_BYTE3_MASK_24_INT
#define GST_VIDEO_BYTE3_MASK_24_INT 0x000000FF
GST_VIDEO_BYTE3_MASK_32
#define GST_VIDEO_BYTE3_MASK_32 "0x0000FF00"
GST_VIDEO_BYTE3_MASK_32_INT
#define GST_VIDEO_BYTE3_MASK_32_INT 0x0000FF00
GST_VIDEO_BYTE4_MASK_32
#define GST_VIDEO_BYTE4_MASK_32 "0x000000FF"
GST_VIDEO_BYTE4_MASK_32_INT
#define GST_VIDEO_BYTE4_MASK_32_INT 0x000000FF
GST_VIDEO_CAPS_ABGR
#define GST_VIDEO_CAPS_ABGR
GST_VIDEO_CAPS_ARGB
#define GST_VIDEO_CAPS_ARGB
GST_VIDEO_CAPS_BGR
#define GST_VIDEO_CAPS_BGR
GST_VIDEO_CAPS_BGRA
#define GST_VIDEO_CAPS_BGRA
GST_VIDEO_CAPS_BGRx
#define GST_VIDEO_CAPS_BGRx
GST_VIDEO_CAPS_BGRx_HOST_ENDIAN
#define GST_VIDEO_CAPS_BGRx_HOST_ENDIAN
GST_VIDEO_CAPS_RGB
#define GST_VIDEO_CAPS_RGB
GST_VIDEO_CAPS_RGBA
#define GST_VIDEO_CAPS_RGBA
GST_VIDEO_CAPS_RGB_15
#define GST_VIDEO_CAPS_RGB_15
GST_VIDEO_CAPS_RGB_16
#define GST_VIDEO_CAPS_RGB_16
GST_VIDEO_CAPS_RGBx
#define GST_VIDEO_CAPS_RGBx
GST_VIDEO_CAPS_xBGR
#define GST_VIDEO_CAPS_xBGR
GST_VIDEO_CAPS_xRGB
#define GST_VIDEO_CAPS_xRGB
GST_VIDEO_CAPS_xRGB_HOST_ENDIAN
#define GST_VIDEO_CAPS_xRGB_HOST_ENDIAN
GST_VIDEO_CAPS_BGR_15
#define GST_VIDEO_CAPS_BGR_15
GST_VIDEO_CAPS_BGR_16
#define GST_VIDEO_CAPS_BGR_16
GST_VIDEO_CAPS_RGB8_PALETTED
#define GST_VIDEO_CAPS_RGB8_PALETTED
GST_VIDEO_CAPS_GRAY8
#define GST_VIDEO_CAPS_GRAY8
GST_VIDEO_CAPS_ARGB_64
#define GST_VIDEO_CAPS_ARGB_64
GST_VIDEO_CAPS_r210
#define GST_VIDEO_CAPS_r210
GST_VIDEO_COMP1_MASK_15
#define GST_VIDEO_COMP1_MASK_15 "0x7c00"
GST_VIDEO_COMP1_MASK_15_INT
#define GST_VIDEO_COMP1_MASK_15_INT 0x7c00
GST_VIDEO_COMP1_MASK_16
#define GST_VIDEO_COMP1_MASK_16 "0xf800"
GST_VIDEO_COMP1_MASK_16_INT
#define GST_VIDEO_COMP1_MASK_16_INT 0xf800
GST_VIDEO_COMP2_MASK_15
#define GST_VIDEO_COMP2_MASK_15 "0x03e0"
GST_VIDEO_COMP2_MASK_15_INT
#define GST_VIDEO_COMP2_MASK_15_INT 0x03e0
GST_VIDEO_COMP2_MASK_16
#define GST_VIDEO_COMP2_MASK_16 "0x07e0"
GST_VIDEO_COMP2_MASK_16_INT
#define GST_VIDEO_COMP2_MASK_16_INT 0x07e0
GST_VIDEO_COMP3_MASK_15
#define GST_VIDEO_COMP3_MASK_15 "0x001f"
GST_VIDEO_COMP3_MASK_15_INT
#define GST_VIDEO_COMP3_MASK_15_INT 0x001f
GST_VIDEO_COMP3_MASK_16
#define GST_VIDEO_COMP3_MASK_16 "0x001f"
GST_VIDEO_COMP3_MASK_16_INT
#define GST_VIDEO_COMP3_MASK_16_INT 0x001f
GST_VIDEO_FPS_RANGE
#define GST_VIDEO_FPS_RANGE "(fraction) [ 0, max ]"
GST_VIDEO_GREEN_MASK_15
#define GST_VIDEO_GREEN_MASK_15 GST_VIDEO_COMP2_MASK_15
GST_VIDEO_GREEN_MASK_15
is deprecated and should not be used in newly-written code.
GST_VIDEO_GREEN_MASK_15_INT
#define GST_VIDEO_GREEN_MASK_15_INT GST_VIDEO_COMP2_MASK_15_INT
GST_VIDEO_GREEN_MASK_15_INT
is deprecated and should not be used in newly-written code.
GST_VIDEO_GREEN_MASK_16
#define GST_VIDEO_GREEN_MASK_16 GST_VIDEO_COMP2_MASK_16
GST_VIDEO_GREEN_MASK_16
is deprecated and should not be used in newly-written code.
GST_VIDEO_GREEN_MASK_16_INT
#define GST_VIDEO_GREEN_MASK_16_INT GST_VIDEO_COMP2_MASK_16_INT
GST_VIDEO_GREEN_MASK_16_INT
is deprecated and should not be used in newly-written code.
GST_VIDEO_RED_MASK_15
#define GST_VIDEO_RED_MASK_15 GST_VIDEO_COMP1_MASK_15
GST_VIDEO_RED_MASK_15
is deprecated and should not be used in newly-written code.
GST_VIDEO_RED_MASK_15_INT
#define GST_VIDEO_RED_MASK_15_INT GST_VIDEO_COMP1_MASK_15_INT
GST_VIDEO_RED_MASK_15_INT
is deprecated and should not be used in newly-written code.
GST_VIDEO_RED_MASK_16
#define GST_VIDEO_RED_MASK_16 GST_VIDEO_COMP1_MASK_16
GST_VIDEO_RED_MASK_16
is deprecated and should not be used in newly-written code.
GST_VIDEO_RED_MASK_16_INT
#define GST_VIDEO_RED_MASK_16_INT GST_VIDEO_COMP1_MASK_16_INT
GST_VIDEO_RED_MASK_16_INT
is deprecated and should not be used in newly-written code.
GST_VIDEO_SIZE_RANGE
#define GST_VIDEO_SIZE_RANGE "(int) [ 1, max ]"
GST_VIDEO_BUFFER_TFF
#define GST_VIDEO_BUFFER_TFF GST_BUFFER_FLAG_MEDIA1
GST_VIDEO_BUFFER_RFF
#define GST_VIDEO_BUFFER_RFF GST_BUFFER_FLAG_MEDIA2
GST_VIDEO_BUFFER_ONEFIELD
#define GST_VIDEO_BUFFER_ONEFIELD GST_BUFFER_FLAG_MEDIA3
GST_VIDEO_BUFFER_PROGRESSIVE
#define GST_VIDEO_BUFFER_PROGRESSIVE GST_BUFFER_FLAG_MEDIA4