Sebastian Dröge
567ce0a3bf
Group and merge imports in all manual code
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1182 >
2023-01-04 13:25:17 +02:00
Sebastian Dröge
d6cc452cf3
Use PhantomData
as Stash::Storage
if nothing has to be stored except for a lifetime
...
This reduces the size of all stashes from two pointers to one.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1171 >
2022-12-20 17:07:39 +00:00
Marijn Suijten
a208919c88
video/video_rectangle: Mark struct as repr(C) for FFI transparency
...
This struct is "reimplemented" to make it easier to access the fields
instead of going through `ffi::GstVideoRectangle`, but should be marked
`repr(C)` to remain binary-compatible.
2021-09-04 00:13:24 +02:00
Marijn Suijten
212d4ef008
video/video_rectangle: Add ToGlibPtrMut implementation
...
Vulkan passes a mutable pointer to an uninitialized `VideoRectangle`
into the C API for retrieval.
2021-09-04 00:13:24 +02:00
Marijn Suijten
430abb1e9d
video/video_rectangle: Implement glib::translate::Uninitialized
...
The new Vulkan bindings require this.
2021-09-04 00:13:24 +02:00
Marijn Suijten
28cf8434d0
video: Fix all clippy::use_self warnings
2021-04-30 10:58:35 +02:00
Bilal Elmoussaoui
890cd03632
manual renames of to_glib into into_glib
2021-04-27 19:44:41 +02:00
Guillaume Gomez
ff5a36561a
Fix license header situation
2020-12-15 11:53:31 +01:00
Sebastian Dröge
d31badf9ac
gstreamer-video: Update manual code to 2018 edition
2020-11-22 19:15:20 +02:00
Guillaume Gomez
c07fe14191
gstreamer*: Add missing init checks
2020-04-12 17:25:54 +03:00
Sebastian Dröge
e7898c1b24
Update manual code
2019-04-15 19:19:19 +03:00
Sebastian Dröge
4297f8f5c5
Don't implement Copy for VideoRectangle and pass by reference to center_video_rectangle()
2018-01-03 17:38:22 +02:00
Sebastian Dröge
d44869711a
Run video_rectangle.rs through rustfmt
2017-12-26 18:18:13 +01:00
Philippe Normand
1722b047bd
gstreamer-video: VideoRectangle bindings
2017-12-26 18:17:30 +01:00