Skip to main content

Module utils

Module utils 

Source
Expand description

Utility functions for AMX operations

Functionsยง

get_x_slice
Get a slice from X circular buffer at given offset
get_y_slice
Get a slice from Y circular buffer at given offset
offset_to_register_and_position
Convert a u64 offset to X/Y register and element offset
set_x_slice
Set a slice in X circular buffer at given offset
set_y_slice
Set a slice in Y circular buffer at given offset