mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
videoaggregator: Clean up header and update docs a bit
This commit is contained in:
parent
dbb21615c4
commit
9d6d46f4cb
2 changed files with 26 additions and 27 deletions
|
@ -313,7 +313,6 @@ gst_video_aggregator_pad_get_prepared_frame (GstVideoAggregatorPad * pad)
|
|||
*
|
||||
* Allows selecting that this pad requires an output format with alpha
|
||||
*
|
||||
* Returns: (transfer none): The currently prepared video frame
|
||||
*/
|
||||
void
|
||||
gst_video_aggregator_pad_set_needs_alpha (GstVideoAggregatorPad * pad,
|
||||
|
|
|
@ -37,6 +37,10 @@ typedef struct _GstVideoAggregator GstVideoAggregator;
|
|||
typedef struct _GstVideoAggregatorClass GstVideoAggregatorClass;
|
||||
typedef struct _GstVideoAggregatorPrivate GstVideoAggregatorPrivate;
|
||||
|
||||
/*************************
|
||||
* GstVideoAggregatorPad *
|
||||
*************************/
|
||||
|
||||
#define GST_TYPE_VIDEO_AGGREGATOR_PAD (gst_video_aggregator_pad_get_type())
|
||||
#define GST_VIDEO_AGGREGATOR_PAD(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_VIDEO_AGGREGATOR_PAD, GstVideoAggregatorPad))
|
||||
|
@ -57,11 +61,6 @@ typedef struct _GstVideoAggregatorPadPrivate GstVideoAggregatorPadPrivate;
|
|||
/**
|
||||
* GstVideoAggregatorPad:
|
||||
* @info: The #GstVideoInfo currently set on the pad
|
||||
* @buffer_vinfo: The #GstVideoInfo representing the type contained
|
||||
* in @buffer
|
||||
* @aggregated_frame: The #GstVideoFrame ready to be used for aggregation
|
||||
* inside the aggregate_frames vmethod.
|
||||
* @zorder: The zorder of this pad
|
||||
*/
|
||||
struct _GstVideoAggregatorPad
|
||||
{
|
||||
|
@ -80,8 +79,8 @@ struct _GstVideoAggregatorPad
|
|||
/**
|
||||
* GstVideoAggregatorPadClass:
|
||||
*
|
||||
* @set_info: Lets subclass set a converter on the pad,
|
||||
* right after a new format has been negotiated.
|
||||
* @update_conversion_info: Called when either the input or output formats
|
||||
* have changed.
|
||||
* @prepare_frame: Prepare the frame from the pad buffer (if any)
|
||||
* and sets it to @aggregated_frame
|
||||
* @clean_frame: clean the frame previously prepared in prepare_frame
|
||||
|
@ -118,10 +117,9 @@ GstVideoFrame * gst_video_aggregator_pad_get_prepared_frame (GstVideoAggregatorP
|
|||
GST_VIDEO_BAD_API
|
||||
void gst_video_aggregator_pad_set_needs_alpha (GstVideoAggregatorPad *pad, gboolean needs_alpha);
|
||||
|
||||
/****************************
|
||||
* GstVideoAggregatorPad Structs *
|
||||
***************************/
|
||||
|
||||
/********************************
|
||||
* GstVideoAggregatorConvertPad *
|
||||
*******************************/
|
||||
|
||||
#define GST_TYPE_VIDEO_AGGREGATOR_CONVERT_PAD (gst_video_aggregator_convert_pad_get_type())
|
||||
#define GST_VIDEO_AGGREGATOR_CONVERT_PAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_VIDEO_AGGREGATOR_CONVERT_PAD, GstVideoAggregatorConvertPad))
|
||||
|
@ -171,6 +169,10 @@ GType gst_video_aggregator_convert_pad_get_type (void);
|
|||
GST_VIDEO_BAD_API
|
||||
void gst_video_aggregator_convert_pad_update_conversion_info (GstVideoAggregatorConvertPad * pad);
|
||||
|
||||
/**********************
|
||||
* GstVideoAggregator *
|
||||
*********************/
|
||||
|
||||
#define GST_TYPE_VIDEO_AGGREGATOR (gst_video_aggregator_get_type())
|
||||
#define GST_VIDEO_AGGREGATOR(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_VIDEO_AGGREGATOR, GstVideoAggregator))
|
||||
|
@ -216,8 +218,6 @@ struct _GstVideoAggregator
|
|||
* @create_output_buffer: Optional.
|
||||
* Lets subclasses provide a #GstBuffer to be used as @outbuffer of
|
||||
* the #aggregate_frames vmethod.
|
||||
* @negotiated_caps: Optional.
|
||||
* Notifies subclasses what caps format has been negotiated
|
||||
* @find_best_format: Optional.
|
||||
* Lets subclasses decide of the best common format to use.
|
||||
**/
|
||||
|
|
Loading…
Reference in a new issue