Add annotations for virtual methods when possible.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1965>
gboolean (*set_format) (GstAudioDecoder *dec,
GstCaps *caps);
+ /**
+ * GstAudioDecoderClass::parse:
+ * @offset: (out):
+ * @length: (out):
+ */
GstFlowReturn (*parse) (GstAudioDecoder *dec,
GstAdapter *adapter,
gint *offset, gint *length);
/**
* gst_audio_ring_buffer_commit:
* @buf: the #GstAudioRingBuffer to commit
- * @sample: the sample position of the data
+ * @sample: (inout): the sample position of the data
* @data: (array length=in_samples): the data to commit
* @in_samples: the number of samples in the data to commit
* @out_samples: the number of samples to write to the ringbuffer
gboolean (*unprepare) (GstAudioSink *sink);
/* close the device */
gboolean (*close) (GstAudioSink *sink);
- /* write samples to the device */
+ /**
+ * GstAudioSinkClass::write:
+ * @data: (type guint8) (array length=length): the sample data
+ *
+ * Write samples to the device.
+ */
gint (*write) (GstAudioSink *sink, gpointer data, guint length);
/* get number of frames queued in the device */
guint (*delay) (GstAudioSink *sink);
gboolean (*unprepare) (GstAudioSrc *src);
/* close the device */
gboolean (*close) (GstAudioSrc *src);
- /* read samples from the device */
+ /**
+ * GstAudioSrcClass::read:
+ * @data: (type guint8) (array length=length): the sample data
+ * @timestamp: (out): a #GstClockTime
+ *
+ * Read samples from the device.
+ */
guint (*read) (GstAudioSrc *src, gpointer data, guint length,
GstClockTime *timestamp);
/* get number of frames queued in the device */
GstBuffer * outbuffer);
GstFlowReturn (*create_output_buffer) (GstVideoAggregator * videoaggregator,
GstBuffer ** outbuffer);
+ /**
+ * GstVideoAggregatorClass::find_best_format:
+ * @at_least_one_alpha: (out):
+ */
void (*find_best_format) (GstVideoAggregator * vagg,
GstCaps * downstream_caps,
GstVideoInfo * best_info,
/**
* gst_video_chroma_resample_get_info:
* @resample: a #GstVideoChromaResample
- * @n_lines: the number of input lines
- * @offset: the first line
+ * @n_lines: (out) (optional): the number of input lines
+ * @offset: (out) (optional): the first line
*
* The resampler must be fed @n_lines at a time. The first line should be
* at @offset.
* gst_video_scaler_get_coeff:
* @scale: a #GstVideoScaler
* @out_offset: an output offset
- * @in_offset: result input offset
- * @n_taps: result n_taps
+ * @in_offset: (out) (optional): result input offset
+ * @n_taps: (out) (optional): result n_taps
*
* For a given pixel at @out_offset, get the first required input pixel at
* @in_offset and the @n_taps filter coefficients.