Functions
GstVideoConvertSampleCallback ()
void
(*GstVideoConvertSampleCallback) (GstSample *sample
,
GError *error
,
gpointer user_data
);
gst_video_alignment_reset ()
void
gst_video_alignment_reset (GstVideoAlignment *align
);
gst_video_event_new_still_frame ()
GstEvent *
gst_video_event_new_still_frame (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_is_force_key_unit ()
gboolean
gst_video_event_is_force_key_unit (GstEvent *event
);
GST_VIDEO_FORMAT_INFO_FORMAT()
#define GST_VIDEO_FORMAT_INFO_FORMAT(info) ((info)->format)
GST_VIDEO_FORMAT_INFO_NAME()
#define GST_VIDEO_FORMAT_INFO_NAME(info) ((info)->name)
GST_VIDEO_FORMAT_INFO_FLAGS()
#define GST_VIDEO_FORMAT_INFO_FLAGS(info) ((info)->flags)
GST_VIDEO_FORMAT_INFO_IS_YUV()
#define GST_VIDEO_FORMAT_INFO_IS_YUV(info) ((info)->flags & GST_VIDEO_FORMAT_FLAG_YUV)
GST_VIDEO_FORMAT_INFO_IS_RGB()
#define GST_VIDEO_FORMAT_INFO_IS_RGB(info) ((info)->flags & GST_VIDEO_FORMAT_FLAG_RGB)
GST_VIDEO_FORMAT_INFO_IS_GRAY()
#define GST_VIDEO_FORMAT_INFO_IS_GRAY(info) ((info)->flags & GST_VIDEO_FORMAT_FLAG_GRAY)
GST_VIDEO_FORMAT_INFO_HAS_ALPHA()
#define GST_VIDEO_FORMAT_INFO_HAS_ALPHA(info) ((info)->flags & GST_VIDEO_FORMAT_FLAG_ALPHA)
GST_VIDEO_FORMAT_INFO_IS_LE()
#define GST_VIDEO_FORMAT_INFO_IS_LE(info) ((info)->flags & GST_VIDEO_FORMAT_FLAG_LE)
GST_VIDEO_FORMAT_INFO_HAS_PALETTE()
#define GST_VIDEO_FORMAT_INFO_HAS_PALETTE(info) ((info)->flags & GST_VIDEO_FORMAT_FLAG_PALETTE)
GST_VIDEO_FORMAT_INFO_IS_COMPLEX()
#define GST_VIDEO_FORMAT_INFO_IS_COMPLEX(info) ((info)->flags & GST_VIDEO_FORMAT_FLAG_COMPLEX)
GST_VIDEO_FORMAT_INFO_BITS()
#define GST_VIDEO_FORMAT_INFO_BITS(info) ((info)->bits)
GST_VIDEO_FORMAT_INFO_N_COMPONENTS()
#define GST_VIDEO_FORMAT_INFO_N_COMPONENTS(info) ((info)->n_components)
GST_VIDEO_FORMAT_INFO_SHIFT()
#define GST_VIDEO_FORMAT_INFO_SHIFT(info,c) ((info)->shift[c])
GST_VIDEO_FORMAT_INFO_DEPTH()
#define GST_VIDEO_FORMAT_INFO_DEPTH(info,c) ((info)->depth[c])
GST_VIDEO_FORMAT_INFO_PSTRIDE()
#define GST_VIDEO_FORMAT_INFO_PSTRIDE(info,c) ((info)->pixel_stride[c])
GST_VIDEO_FORMAT_INFO_N_PLANES()
#define GST_VIDEO_FORMAT_INFO_N_PLANES(info) ((info)->n_planes)
GST_VIDEO_FORMAT_INFO_PLANE()
#define GST_VIDEO_FORMAT_INFO_PLANE(info,c) ((info)->plane[c])
GST_VIDEO_FORMAT_INFO_POFFSET()
#define GST_VIDEO_FORMAT_INFO_POFFSET(info,c) ((info)->poffset[c])
GST_VIDEO_FORMAT_INFO_W_SUB()
#define GST_VIDEO_FORMAT_INFO_W_SUB(info,c) ((info)->w_sub[c])
GST_VIDEO_FORMAT_INFO_H_SUB()
#define GST_VIDEO_FORMAT_INFO_H_SUB(info,c) ((info)->h_sub[c])
GST_VIDEO_SUB_SCALE()
#define GST_VIDEO_SUB_SCALE(scale,val) (-((-((gint)(val)))>>(scale)))
GST_VIDEO_FORMAT_INFO_SCALE_WIDTH()
#define GST_VIDEO_FORMAT_INFO_SCALE_WIDTH(info,c,w) GST_VIDEO_SUB_SCALE ((info)->w_sub[c],(w))
GST_VIDEO_FORMAT_INFO_SCALE_HEIGHT()
#define GST_VIDEO_FORMAT_INFO_SCALE_HEIGHT(info,c,h) GST_VIDEO_SUB_SCALE ((info)->h_sub[c],(h))
GST_VIDEO_FORMAT_INFO_DATA()
#define GST_VIDEO_FORMAT_INFO_DATA(info,planes,comp)
GST_VIDEO_FORMAT_INFO_STRIDE()
#define GST_VIDEO_FORMAT_INFO_STRIDE(info,strides,comp) ((strides)[(info)->plane[comp]])
GST_VIDEO_FORMAT_INFO_OFFSET()
#define GST_VIDEO_FORMAT_INFO_OFFSET(info,offsets,comp)
GST_VIDEO_FORMAT_INFO_TILE_MODE()
#define GST_VIDEO_FORMAT_INFO_TILE_MODE(info) ((info)->tile_mode)
GST_VIDEO_FORMAT_INFO_TILE_WS()
#define GST_VIDEO_FORMAT_INFO_TILE_WS(info) ((info)->tile_ws)
GST_VIDEO_FORMAT_INFO_TILE_HS()
#define GST_VIDEO_FORMAT_INFO_TILE_HS(info) ((info)->tile_hs)
gst_video_format_from_string ()
GstVideoFormat
gst_video_format_from_string (const gchar *format
);
gst_video_format_to_string ()
const gchar *
gst_video_format_to_string (GstVideoFormat format
);
GST_VIDEO_CAPS_MAKE()
#define GST_VIDEO_CAPS_MAKE(format)
GST_VIDEO_INFO_FORMAT()
#define GST_VIDEO_INFO_FORMAT(i) (GST_VIDEO_FORMAT_INFO_FORMAT((i)->finfo))
GST_VIDEO_INFO_NAME()
#define GST_VIDEO_INFO_NAME(i) (GST_VIDEO_FORMAT_INFO_NAME((i)->finfo))
GST_VIDEO_INFO_IS_YUV()
#define GST_VIDEO_INFO_IS_YUV(i) (GST_VIDEO_FORMAT_INFO_IS_YUV((i)->finfo))
GST_VIDEO_INFO_IS_RGB()
#define GST_VIDEO_INFO_IS_RGB(i) (GST_VIDEO_FORMAT_INFO_IS_RGB((i)->finfo))
GST_VIDEO_INFO_IS_GRAY()
#define GST_VIDEO_INFO_IS_GRAY(i) (GST_VIDEO_FORMAT_INFO_IS_GRAY((i)->finfo))
GST_VIDEO_INFO_HAS_ALPHA()
#define GST_VIDEO_INFO_HAS_ALPHA(i) (GST_VIDEO_FORMAT_INFO_HAS_ALPHA((i)->finfo))
GST_VIDEO_INFO_INTERLACE_MODE()
#define GST_VIDEO_INFO_INTERLACE_MODE(i) ((i)->interlace_mode)
GST_VIDEO_INFO_IS_INTERLACED()
#define GST_VIDEO_INFO_IS_INTERLACED(i) ((i)->interlace_mode != GST_VIDEO_INTERLACE_MODE_PROGRESSIVE)
GST_VIDEO_INFO_FLAGS()
#define GST_VIDEO_INFO_FLAGS(i) ((i)->flags)
GST_VIDEO_INFO_WIDTH()
#define GST_VIDEO_INFO_WIDTH(i) ((i)->width)
GST_VIDEO_INFO_HEIGHT()
#define GST_VIDEO_INFO_HEIGHT(i) ((i)->height)
GST_VIDEO_INFO_SIZE()
#define GST_VIDEO_INFO_SIZE(i) ((i)->size)
GST_VIDEO_INFO_VIEWS()
#define GST_VIDEO_INFO_VIEWS(i) ((i)->views)
GST_VIDEO_INFO_PAR_N()
#define GST_VIDEO_INFO_PAR_N(i) ((i)->par_n)
GST_VIDEO_INFO_PAR_D()
#define GST_VIDEO_INFO_PAR_D(i) ((i)->par_d)
GST_VIDEO_INFO_FPS_N()
#define GST_VIDEO_INFO_FPS_N(i) ((i)->fps_n)
GST_VIDEO_INFO_FPS_D()
#define GST_VIDEO_INFO_FPS_D(i) ((i)->fps_d)
GST_VIDEO_INFO_FLAG_IS_SET()
#define GST_VIDEO_INFO_FLAG_IS_SET(i,flag) ((GST_VIDEO_INFO_FLAGS(i) & (flag)) == (flag))
GST_VIDEO_INFO_FLAG_SET()
#define GST_VIDEO_INFO_FLAG_SET(i,flag) (GST_VIDEO_INFO_FLAGS(i) |= (flag))
GST_VIDEO_INFO_FLAG_UNSET()
#define GST_VIDEO_INFO_FLAG_UNSET(i,flag) (GST_VIDEO_INFO_FLAGS(i) &= ~(flag))
GST_VIDEO_INFO_N_PLANES()
#define GST_VIDEO_INFO_N_PLANES(i) (GST_VIDEO_FORMAT_INFO_N_PLANES((i)->finfo))
GST_VIDEO_INFO_PLANE_OFFSET()
#define GST_VIDEO_INFO_PLANE_OFFSET(i,p) ((i)->offset[p])
GST_VIDEO_INFO_PLANE_STRIDE()
#define GST_VIDEO_INFO_PLANE_STRIDE(i,p) ((i)->stride[p])
GST_VIDEO_INFO_N_COMPONENTS()
#define GST_VIDEO_INFO_N_COMPONENTS(i) GST_VIDEO_FORMAT_INFO_N_COMPONENTS((i)->finfo)
GST_VIDEO_INFO_COMP_DEPTH()
#define GST_VIDEO_INFO_COMP_DEPTH(i,c) GST_VIDEO_FORMAT_INFO_DEPTH((i)->finfo,(c))
GST_VIDEO_INFO_COMP_DATA()
#define GST_VIDEO_INFO_COMP_DATA(i,d,c) GST_VIDEO_FORMAT_INFO_DATA((i)->finfo,d,(c))
GST_VIDEO_INFO_COMP_OFFSET()
#define GST_VIDEO_INFO_COMP_OFFSET(i,c) GST_VIDEO_FORMAT_INFO_OFFSET((i)->finfo,(i)->offset,(c))
GST_VIDEO_INFO_COMP_STRIDE()
#define GST_VIDEO_INFO_COMP_STRIDE(i,c) GST_VIDEO_FORMAT_INFO_STRIDE((i)->finfo,(i)->stride,(c))
GST_VIDEO_INFO_COMP_WIDTH()
#define GST_VIDEO_INFO_COMP_WIDTH(i,c) GST_VIDEO_FORMAT_INFO_SCALE_WIDTH((i)->finfo,(c),(i)->width)
GST_VIDEO_INFO_COMP_HEIGHT()
#define GST_VIDEO_INFO_COMP_HEIGHT(i,c) GST_VIDEO_FORMAT_INFO_SCALE_HEIGHT((i)->finfo,(c),(i)->height)
GST_VIDEO_INFO_COMP_PLANE()
#define GST_VIDEO_INFO_COMP_PLANE(i,c) GST_VIDEO_FORMAT_INFO_PLANE((i)->finfo,(c))
GST_VIDEO_INFO_COMP_PSTRIDE()
#define GST_VIDEO_INFO_COMP_PSTRIDE(i,c) GST_VIDEO_FORMAT_INFO_PSTRIDE((i)->finfo,(c))
GST_VIDEO_INFO_COMP_POFFSET()
#define GST_VIDEO_INFO_COMP_POFFSET(i,c) GST_VIDEO_FORMAT_INFO_POFFSET((i)->finfo,(c))
GST_VIDEO_INFO_CHROMA_SITE()
#define GST_VIDEO_INFO_CHROMA_SITE(i) ((i)->chroma_site)
GST_VIDEO_INFO_COLORIMETRY()
#define GST_VIDEO_INFO_COLORIMETRY(i) ((i)->colorimetry)
GST_VIDEO_INFO_MULTIVIEW_FLAGS()
#define GST_VIDEO_INFO_MULTIVIEW_FLAGS(i) ((i)->ABI.abi.multiview_flags)
GST_VIDEO_INFO_MULTIVIEW_MODE()
#define GST_VIDEO_INFO_MULTIVIEW_MODE(i) ((i)->ABI.abi.multiview_mode)
gst_video_info_init ()
void
gst_video_info_init (GstVideoInfo *info
);
gst_video_info_new ()
GstVideoInfo *
gst_video_info_new (void
);
gst_video_info_free ()
void
gst_video_info_free (GstVideoInfo *info
);
gst_video_frame_unmap ()
void
gst_video_frame_unmap (GstVideoFrame *frame
);
GST_VIDEO_FRAME_FORMAT()
#define GST_VIDEO_FRAME_FORMAT(f) (GST_VIDEO_INFO_FORMAT(&(f)->info))
GST_VIDEO_FRAME_WIDTH()
#define GST_VIDEO_FRAME_WIDTH(f) (GST_VIDEO_INFO_WIDTH(&(f)->info))
GST_VIDEO_FRAME_HEIGHT()
#define GST_VIDEO_FRAME_HEIGHT(f) (GST_VIDEO_INFO_HEIGHT(&(f)->info))
GST_VIDEO_FRAME_SIZE()
#define GST_VIDEO_FRAME_SIZE(f) (GST_VIDEO_INFO_SIZE(&(f)->info))
GST_VIDEO_FRAME_FLAGS()
#define GST_VIDEO_FRAME_FLAGS(f) ((f)->flags)
GST_VIDEO_FRAME_FLAG_IS_SET()
#define GST_VIDEO_FRAME_FLAG_IS_SET(f,fl) ((GST_VIDEO_FRAME_FLAGS(f) & (fl)) == (fl))
GST_VIDEO_FRAME_IS_INTERLACED()
#define GST_VIDEO_FRAME_IS_INTERLACED(f) (GST_VIDEO_FRAME_FLAG_IS_SET(f, GST_VIDEO_FRAME_FLAG_INTERLACED))
GST_VIDEO_FRAME_IS_TFF()
#define GST_VIDEO_FRAME_IS_TFF(f) (GST_VIDEO_FRAME_FLAG_IS_SET(f, GST_VIDEO_FRAME_FLAG_TFF))
GST_VIDEO_FRAME_IS_RFF()
#define GST_VIDEO_FRAME_IS_RFF(f) (GST_VIDEO_FRAME_FLAG_IS_SET(f, GST_VIDEO_FRAME_FLAG_RFF))
GST_VIDEO_FRAME_IS_ONEFIELD()
#define GST_VIDEO_FRAME_IS_ONEFIELD(f) (GST_VIDEO_FRAME_FLAG_IS_SET(f, GST_VIDEO_FRAME_FLAG_ONEFIELD))
GST_VIDEO_FRAME_N_PLANES()
#define GST_VIDEO_FRAME_N_PLANES(f) (GST_VIDEO_INFO_N_PLANES(&(f)->info))
GST_VIDEO_FRAME_PLANE_DATA()
#define GST_VIDEO_FRAME_PLANE_DATA(f,p) ((f)->data[p])
GST_VIDEO_FRAME_PLANE_OFFSET()
#define GST_VIDEO_FRAME_PLANE_OFFSET(f,p) (GST_VIDEO_INFO_PLANE_OFFSET(&(f)->info,(p)))
GST_VIDEO_FRAME_PLANE_STRIDE()
#define GST_VIDEO_FRAME_PLANE_STRIDE(f,p) (GST_VIDEO_INFO_PLANE_STRIDE(&(f)->info,(p)))
GST_VIDEO_FRAME_N_COMPONENTS()
#define GST_VIDEO_FRAME_N_COMPONENTS(f) GST_VIDEO_INFO_N_COMPONENTS(&(f)->info)
GST_VIDEO_FRAME_COMP_DEPTH()
#define GST_VIDEO_FRAME_COMP_DEPTH(f,c) GST_VIDEO_INFO_COMP_DEPTH(&(f)->info,(c))
GST_VIDEO_FRAME_COMP_DATA()
#define GST_VIDEO_FRAME_COMP_DATA(f,c) GST_VIDEO_INFO_COMP_DATA(&(f)->info,(f)->data,(c))
GST_VIDEO_FRAME_COMP_STRIDE()
#define GST_VIDEO_FRAME_COMP_STRIDE(f,c) GST_VIDEO_INFO_COMP_STRIDE(&(f)->info,(c))
GST_VIDEO_FRAME_COMP_OFFSET()
#define GST_VIDEO_FRAME_COMP_OFFSET(f,c) GST_VIDEO_INFO_COMP_OFFSET(&(f)->info,(c))
GST_VIDEO_FRAME_COMP_WIDTH()
#define GST_VIDEO_FRAME_COMP_WIDTH(f,c) GST_VIDEO_INFO_COMP_WIDTH(&(f)->info,(c))
GST_VIDEO_FRAME_COMP_HEIGHT()
#define GST_VIDEO_FRAME_COMP_HEIGHT(f,c) GST_VIDEO_INFO_COMP_HEIGHT(&(f)->info,(c))
GST_VIDEO_FRAME_COMP_PLANE()
#define GST_VIDEO_FRAME_COMP_PLANE(f,c) GST_VIDEO_INFO_COMP_PLANE(&(f)->info,(c))
GST_VIDEO_FRAME_COMP_PSTRIDE()
#define GST_VIDEO_FRAME_COMP_PSTRIDE(f,c) GST_VIDEO_INFO_COMP_PSTRIDE(&(f)->info,(c))
GST_VIDEO_FRAME_COMP_POFFSET()
#define GST_VIDEO_FRAME_COMP_POFFSET(f,c) GST_VIDEO_INFO_COMP_POFFSET(&(f)->info,(c))
GST_VIDEO_TILE_MAKE_MODE()
#define GST_VIDEO_TILE_MAKE_MODE(num, type)
GST_VIDEO_TILE_MODE_TYPE()
#define GST_VIDEO_TILE_MODE_TYPE(mode) ((mode) & GST_VIDEO_TILE_TYPE_MASK)
GST_VIDEO_TILE_MODE_IS_INDEXED()
#define GST_VIDEO_TILE_MODE_IS_INDEXED(mode) (GST_VIDEO_TILE_MODE_TYPE(mode) == GST_VIDEO_TILE_TYPE_INDEXED)
GST_VIDEO_TILE_MAKE_STRIDE()
#define GST_VIDEO_TILE_MAKE_STRIDE(x_tiles, y_tiles)
GST_VIDEO_TILE_X_TILES()
#define GST_VIDEO_TILE_X_TILES(stride) ((stride) & GST_VIDEO_TILE_X_TILES_MASK)
GST_VIDEO_TILE_Y_TILES()
#define GST_VIDEO_TILE_Y_TILES(stride) ((stride) >> GST_VIDEO_TILE_Y_TILES_SHIFT)
gst_video_converter_free ()
void
gst_video_converter_free (GstVideoConverter *convert
);
gst_video_multiview_get_mono_modes ()
const GValue *
gst_video_multiview_get_mono_modes (void
);
gst_video_multiview_get_unpacked_modes ()
const GValue *
gst_video_multiview_get_unpacked_modes
(void
);
gst_video_multiview_get_doubled_height_modes ()
const GValue *
gst_video_multiview_get_doubled_height_modes
(void
);
gst_video_multiview_get_doubled_size_modes ()
const GValue *
gst_video_multiview_get_doubled_size_modes
(void
);
gst_video_multiview_get_doubled_width_modes ()
const GValue *
gst_video_multiview_get_doubled_width_modes
(void
);
gst_video_multiview_mode_from_caps_string ()
GstVideoMultiviewMode
gst_video_multiview_mode_from_caps_string
(const gchar *caps_mview_mode
);
gst_video_multiview_mode_to_caps_string ()
const gchar *
gst_video_multiview_mode_to_caps_string
(GstVideoMultiviewMode mview_mode
);