You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
rust: Port the scene item transform composition in obs-scene.c to obs-scene #2385
Rust port, round 8 unit 4 (round 7 unit 3, re-scoped): the scene item transform composition in libobs/obs-scene.c.h, moved to obs-scene::item_transform.
Scope
Rust takes over these decisions:
update_nested_scene_crop: the guard and the scale factors;
compute_item_transform: the bounds-crop reset, nested crop, cropped size, absolute or relative inputs, bounded or scaled size, both matrices, and output_scale/box_scale;
calculate_bounds_data.
C keeps update_item_transform (the defer check, source size read, video lock and signal) and every get_scene_dimensions read.
C also keeps all six float-to-integer casts, so the port matches C on every architecture. R7-3, flipped items placed differently on arm64, stays a separate decision.
#2281 (out-of-range bounds types become NONE) has merged.
Activity
rdoupe commentedon Oct 25, 2026
Claiming: #2385.
obs-scene: Port the scene item transform steps (obs-rust#2392)