mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-01-04 16:28:48 +00:00
f1e3212477
Contrary to what one might believe, this actually reduces the size of the structs due to alignment constraints. On Linux x86-64 clang/gcc it reduces the size of the caption_frame_t struct from 7760 bytes to 6800 bytes, on Windows x86-64 MSVC from 11600 bytes to 6800 bytes. It also causes simpler and potentially faster assembly to be generated as the values can be directly accessed as uint8_t instead of having to extract the corresponding bits with bitwise operations. It also gives us the same ABI with clang/gcc and MSVC. |
||
---|---|---|
.. | ||
c | ||
cea608tott.rs | ||
cea608tott_ffi.rs | ||
lib.rs | ||
line_reader.rs | ||
mcc_enc.rs | ||
mcc_enc_headers.rs | ||
mcc_parse.rs | ||
mcc_parser.rs | ||
scc_enc.rs | ||
scc_parse.rs | ||
scc_parser.rs | ||
tttocea608.rs |