[][src]Function ffav_sys::av_dct_init

pub unsafe extern "C" fn av_dct_init(
    nbits: c_int,
    type_: DCTTransformType
) -> *mut DCTContext

Set up DCT.

@param nbits size of the input array: (1 << nbits) for DCT-II, DCT-III and DST-I (1 << nbits) + 1 for DCT-I @param type the type of transform

@note the first element of the input of DST-I is ignored