diff options
author | Seungha Yang <seungha@centricular.com> | 2020-07-21 18:17:09 +0900 |
---|---|---|
committer | Seungha Yang <seungha@centricular.com> | 2020-07-21 18:30:07 +0900 |
commit | bf659379cfe609b06e7271cfb9873b58c9fc7002 (patch) | |
tree | 00341c3d477c20354dfbe0311d7ca9df42ec7fdc /gst-libs | |
parent | 973a2569d45dbc174af6d69ac1cd183597d7c94a (diff) | |
download | gstreamer-plugins-bad-bf659379cfe609b06e7271cfb9873b58c9fc7002.tar.gz |
codecs: h264decoder: Update document with Since marks
To make documentation CI happy with the newly added APIs.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1449>
Diffstat (limited to 'gst-libs')
-rw-r--r-- | gst-libs/gst/codecs/gsth264decoder.c | 21 | ||||
-rw-r--r-- | gst-libs/gst/codecs/gsth264picture.c | 9 |
2 files changed, 29 insertions, 1 deletions
diff --git a/gst-libs/gst/codecs/gsth264decoder.c b/gst-libs/gst/codecs/gsth264decoder.c index cd5a1ae1f..f8fc9914c 100644 --- a/gst-libs/gst/codecs/gsth264decoder.c +++ b/gst-libs/gst/codecs/gsth264decoder.c @@ -2457,6 +2457,15 @@ gst_h264_decoder_modify_ref_pic_lists (GstH264Decoder * self) return TRUE; } +/** + * gst_h264_decoder_set_process_ref_pic_lists: + * @decoder: a #GstH264Decoder + * @process: whether subclass is requiring reference picture modification process + * + * Called to en/disable reference picture modification process. + * + * Since: 1.18 + */ void gst_h264_decoder_set_process_ref_pic_lists (GstH264Decoder * decoder, gboolean process) @@ -2464,6 +2473,18 @@ gst_h264_decoder_set_process_ref_pic_lists (GstH264Decoder * decoder, decoder->priv->process_ref_pic_lists = process; } +/** + * gst_h264_decoder_get_picture: + * @decoder: a #GstH264Decoder + * @system_frame_number: a target system frame number of #GstH264Picture + * + * Retrive DPB and return a #GstH264Picture corresponding to + * the @system_frame_number + * + * Returns: (transfer full): a #GstH264Picture if successful, or %NULL otherwise + * + * Since: 1.18 + */ GstH264Picture * gst_h264_decoder_get_picture (GstH264Decoder * decoder, guint32 system_frame_number) diff --git a/gst-libs/gst/codecs/gsth264picture.c b/gst-libs/gst/codecs/gsth264picture.c index 45c28d671..41b357134 100644 --- a/gst-libs/gst/codecs/gsth264picture.c +++ b/gst-libs/gst/codecs/gsth264picture.c @@ -238,6 +238,8 @@ gst_h264_dpb_delete_unused (GstH264Dpb * dpb) * @dpb: a #GstH264Dpb * * Delete already outputted picture, even if they are referenced. + * + * Since: 1.18 */ void gst_h264_dpb_delete_outputed (GstH264Dpb * dpb) @@ -552,9 +554,14 @@ gst_h264_dpb_is_full (GstH264Dpb * dpb) /** * gst_h264_dpb_get_picture: + * @dpb: a #GstH264Dpb * @system_frame_number The system frame number * - * Returns: the picture identitifed with the specified @system_frame_number. + * Returns: (transfer full): the picture identified with the specified + * @system_frame_number, or %NULL if DPB does not contain a #GstH264Picture + * corresponding to the @system_frame_number + * + * Since: 1.18 */ GstH264Picture * gst_h264_dpb_get_picture (GstH264Dpb * dpb, guint32 system_frame_number) |