gstreamer-rs/gstreamer-video/src
Sebastian Dröge 5c88d95553 video: Don't store a copy of the VideoInfo in VideoFrame
Instead just reference the one inside the FFI struct directly by making
sure that the memory representation of the FFI and Rust type are the
same.

This reduces the size of `VideoFrame` by about half.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1245>
2023-04-07 11:52:08 +03:00
..
auto Regenerate with latest gir 2023-02-07 21:00:46 +02:00
subclass Use uninitialized stack memory for out parameters instead of zeroed memory if applicable 2023-01-11 09:06:38 +00:00
caps.rs {Audio,Video}CapsBuilder: add for_encoding constructor 2023-02-21 16:11:15 +02:00
caps_features.rs Update various APIs to use glib::GStr 2023-01-15 21:05:57 +02:00
color_balance_channel.rs Group and merge imports in all manual code 2023-01-04 13:25:17 +02:00
enums.rs Change some assertions to debug assertions 2023-01-14 17:13:46 +02:00
flag_serde.rs Group and merge imports in all manual code 2023-01-04 13:25:17 +02:00
functions.rs Change some assertions to debug assertions 2023-01-14 17:13:46 +02:00
lib.rs Remove various unnecessary clippy allow attributes 2023-02-07 21:13:19 +02:00
utils.rs Migrate everything to object lock API instead of custom GMutex handling 2023-02-06 10:50:33 +02:00
video_aggregator.rs Migrate everything to object lock API instead of custom GMutex handling 2023-02-06 10:50:33 +02:00
video_aggregator_convert_pad.rs Group and merge imports in all manual code 2023-01-04 13:25:17 +02:00
video_aggregator_pad.rs Migrate everything to object lock API instead of custom GMutex handling 2023-02-06 10:50:33 +02:00
video_buffer_pool.rs Update various APIs to use glib::GStr 2023-01-15 21:05:57 +02:00
video_codec_frame.rs Change some assertions to debug assertions 2023-01-14 17:13:46 +02:00
video_codec_state.rs Inline various trivial functions 2023-01-11 11:33:54 +02:00
video_color_matrix.rs manual code: fix-getters-def doc aliases 2021-05-03 20:46:57 +02:00
video_converter.rs Update various APIs to use glib::GStr 2023-01-15 21:05:57 +02:00
video_decoder.rs Revert "Add support for inline variable names in error/warning/info message creation macros" 2023-02-13 11:40:55 +02:00
video_encoder.rs Use uninitialized stack memory for out parameters instead of zeroed memory if applicable 2023-01-11 09:06:38 +00:00
video_event.rs Change some assertions to debug assertions 2023-01-14 17:13:46 +02:00
video_format.rs Update various APIs to use glib::GStr 2023-01-15 21:05:57 +02:00
video_format_info.rs video: Fix two new clippy warnings 2023-03-13 10:06:06 +01:00
video_frame.rs video: Don't store a copy of the VideoInfo in VideoFrame 2023-04-07 11:52:08 +03:00
video_hdr.rs Change some assertions to debug assertions 2023-01-14 17:13:46 +02:00
video_info.rs video: Don't store a copy of the VideoInfo in VideoFrame 2023-04-07 11:52:08 +03:00
video_message.rs Change some assertions to debug assertions 2023-01-14 17:13:46 +02:00
video_meta.rs Fix various new clippy warnings 2023-01-25 10:18:33 +02:00
video_overlay.rs Group and merge imports in all manual code 2023-01-04 13:25:17 +02:00
video_overlay_composition.rs gstreamer: Add various convenience From impls for Caps, BufferList, CapsFeatures, Buffer and VideoOverlayComposition 2023-01-23 13:06:54 +00:00
video_rectangle.rs Inline various trivial functions 2023-01-11 11:33:54 +02:00
video_time_code.rs Change some assertions to debug assertions 2023-01-14 17:13:46 +02:00
video_time_code_interval.rs Use uninitialized stack memory for out parameters instead of zeroed memory if applicable 2023-01-11 09:06:38 +00:00