Skip to main content

decode_cost_bytes

Function decode_cost_bytes 

Source
pub fn decode_cost_bytes(w: u32, h: u32) -> u64
Expand description

Bytes of memory a decode of a w×h image is budgeted at: the RGBA8 frame plus one working copy (a resize or colour conversion).