gst-plugins-rs/video/closedcaption
Sebastian Dröge f1e3212477 closedcaption: Convert bitfields to uint8_t for portability reasons
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.
2020-04-14 20:01:30 +03:00
..
src closedcaption: Convert bitfields to uint8_t for portability reasons 2020-04-14 20:01:30 +03:00
tests Drop gst-plugin- prefix in plugin directory name 2020-04-05 19:10:47 +00:00
build.rs Drop gst-plugin- prefix in plugin directory name 2020-04-05 19:10:47 +00:00
Cargo.toml closedcaption: Port to combine 4 2020-04-14 09:22:43 +00:00