pub fn decode_file_with_rules(
file_bytes: &[u8],
rules: &DecodeRules,
) -> Result<Vec<DecodedRegion>>Expand description
Decode bytes recursively using caller-provided rules on the GPU.
§Errors
Returns Error::DecodeConfig if the provided rules are invalid.
Returns Error::Gpu if the GPU device cannot be initialized.
Returns Error::Decode if the GPU decode dispatch or recursive frontier management fails.