av_dct_init

Function av_dct_init 

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

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

@deprecated use av_tx_init from libavutil/tx.h with an appropriate type of AV_TX_FLOAT_DCT