Function ff_jpeg2000_dwt_init

Source
pub unsafe extern "C" fn ff_jpeg2000_dwt_init(
    s: *mut DWTContext,
    border: *mut [c_int; 2],
    decomp_levels: c_int,
    type_: c_int,
) -> c_int
Expand description

Initialize DWT. @param s DWT context @param border coordinates of transformed region {{x0, x1}, {y0, y1}} @param decomp_levels number of decomposition levels @param type 0 for DWT 9/7; 1 for DWT 5/3