Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GStreamer
gstreamer-rs-sys
Commits
2d1fa498
Commit
2d1fa498
authored
Sep 29, 2018
by
Sebastian Dröge
🍵
Browse files
Fix annotations for gst_buffer_add_video_meta_full()
parent
4294d8ce
Changes
2
Hide whitespace changes
Inline
Side-by-side
gir-files/GstVideo-1.0.gir
View file @
2d1fa498
...
...
@@ -11582,11 +11582,15 @@ gst_buffer_add_video_meta_full() with them.</doc>
</parameter>
<parameter name="offset" transfer-ownership="none">
<doc xml:space="preserve">offset of each plane</doc>
<type name="gsize" c:type="gsize"/>
<array zero-terminated="0" c:type="gsize*" fixed-size="4">
<type name="gsize" c:type="gsize"/>
</array>
</parameter>
<parameter name="stride" transfer-ownership="none">
<doc xml:space="preserve">stride of each plane</doc>
<type name="gint" c:type="gint"/>
<array zero-terminated="0" c:type="gint*" fixed-size="4">
<type name="gint" c:type="gint"/>
</array>
</parameter>
</parameters>
</function>
...
...
gstreamer-video-sys/src/lib.rs
View file @
2d1fa498
// This file was generated by gir (https://github.com/gtk-rs/gir @
f5fca82
)
// This file was generated by gir (https://github.com/gtk-rs/gir @
d3116ca+
)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT
...
...
@@ -2300,7 +2300,7 @@ extern "C" {
pub
fn
gst_buffer_add_video_affine_transformation_meta
(
buffer
:
*
mut
gst
::
GstBuffer
)
->
*
mut
GstVideoAffineTransformationMeta
;
pub
fn
gst_buffer_add_video_gl_texture_upload_meta
(
buffer
:
*
mut
gst
::
GstBuffer
,
texture_orientation
:
GstVideoGLTextureOrientation
,
n_textures
:
c_uint
,
texture_type
:
GstVideoGLTextureType
,
upload
:
GstVideoGLTextureUpload
,
user_data
:
gpointer
,
user_data_copy
:
gobject
::
GBoxedCopyFunc
,
user_data_free
:
gobject
::
GBoxedFreeFunc
)
->
*
mut
GstVideoGLTextureUploadMeta
;
pub
fn
gst_buffer_add_video_meta
(
buffer
:
*
mut
gst
::
GstBuffer
,
flags
:
GstVideoFrameFlags
,
format
:
GstVideoFormat
,
width
:
c_uint
,
height
:
c_uint
)
->
*
mut
GstVideoMeta
;
pub
fn
gst_buffer_add_video_meta_full
(
buffer
:
*
mut
gst
::
GstBuffer
,
flags
:
GstVideoFrameFlags
,
format
:
GstVideoFormat
,
width
:
c_uint
,
height
:
c_uint
,
n_planes
:
c_uint
,
offset
:
size_t
,
stride
:
c_int
)
->
*
mut
GstVideoMeta
;
pub
fn
gst_buffer_add_video_meta_full
(
buffer
:
*
mut
gst
::
GstBuffer
,
flags
:
GstVideoFrameFlags
,
format
:
GstVideoFormat
,
width
:
c_uint
,
height
:
c_uint
,
n_planes
:
c_uint
,
offset
:
*
mut
[
size_t
;
4
]
,
stride
:
*
mut
[
c_int
;
4
]
)
->
*
mut
GstVideoMeta
;
pub
fn
gst_buffer_add_video_overlay_composition_meta
(
buf
:
*
mut
gst
::
GstBuffer
,
comp
:
*
mut
GstVideoOverlayComposition
)
->
*
mut
GstVideoOverlayCompositionMeta
;
pub
fn
gst_buffer_add_video_region_of_interest_meta
(
buffer
:
*
mut
gst
::
GstBuffer
,
roi_type
:
*
const
c_char
,
x
:
c_uint
,
y
:
c_uint
,
w
:
c_uint
,
h
:
c_uint
)
->
*
mut
GstVideoRegionOfInterestMeta
;
pub
fn
gst_buffer_add_video_region_of_interest_meta_id
(
buffer
:
*
mut
gst
::
GstBuffer
,
roi_type
:
glib
::
GQuark
,
x
:
c_uint
,
y
:
c_uint
,
w
:
c_uint
,
h
:
c_uint
)
->
*
mut
GstVideoRegionOfInterestMeta
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment