The fallback functions in mc.rs have already been partially cleaned up, but they still make heavy use of raw pointer operations, even in places where slices could be easily used.
[x] Cleanup helper functions to take safe arguments where possible (may take raw pointers as arguments currently).
[x] General cleanup of c2rust generated code in functions.
The fallback functions in
mc.rs
have already been partially cleaned up, but they still make heavy use of raw pointer operations, even in places where slices could be easily used.The following functions still need to be cleaned:
put_rust
prep_rust
filter_8tap
put_8tap_rust
put_8tap_scaled_rust
prep_8tap_rust
prep_8tap_scaled_rust
filter_bilin
put_bilin_rust
put_bilin_scaled_rust
prep_bilin_rust
prep_bilin_scaled_rust
avg_rust
w_avg_rust
mask_rust
blend_rust
blend_v_rust
blen_h_rust
w_mask_rust
warp_affine_8x8_rust
warp_affine_8x8t_rust
emu_edge_rust
resize_rust