[][src]Function fdk_aac_sys::FDKcalloc_L

pub unsafe extern "C" fn FDKcalloc_L(
    n: UINT,
    size: UINT,
    s: MEMORY_SECTION
) -> *mut c_void

Allocate memory in a specific memory section. Requests can be made for internal or external memory. If internal memory is requested, FDKcalloc_L() first tries to use L1 memory, which sizes are defined by ::DATA_L1_A_SIZE and ::DATA_L1_B_SIZE. If no L1 memory is available, then FDKcalloc_L() tries to use L2 memory. If that fails as well, the requested memory is allocated at an extern location using the fallback FDKcalloc().

\param n See MSDN documentation on calloc(). \param size See MSDN documentation on calloc(). \param s Memory section. \return See MSDN documentation on calloc().