videometa: gir annotate the size of plane array in new API

Fix #838

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/949>
This commit is contained in:
Guillaume Desmottes 2020-12-01 09:31:48 +01:00
parent db17502446
commit 3ab2023ed8

View file

@ -460,7 +460,7 @@ gst_video_meta_set_alignment (GstVideoMeta * meta, GstVideoAlignment alignment)
/**
* gst_video_meta_get_plane_size:
* @meta: a #GstVideoMeta
* @plane_size: (out): array used to store the plane sizes
* @plane_size: (out caller-allocates) (array fixed-size=4): array used to store the plane sizes
*
* Compute the size, in bytes, of each video plane described in @meta including
* any padding and alignment constraint defined in @meta->alignment.
@ -483,7 +483,7 @@ gst_video_meta_get_plane_size (GstVideoMeta * meta,
/**
* gst_video_meta_get_plane_height:
* @meta: a #GstVideoMeta
* @plane_height: (out): array used to store the plane height
* @plane_height: (out caller-allocates) (array fixed-size=4): array used to store the plane height
*
* Compute the padded height of each plane from @meta (padded size
* divided by stride).