mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
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:
parent
db17502446
commit
3ab2023ed8
1 changed files with 2 additions and 2 deletions
|
@ -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).
|
||||
|
|
Loading…
Reference in a new issue