av_tx_init

Initialize a transform context with the given configuration (i)MDCTs with an odd length are currently not supported.

@param ctx the context to allocate, will be NULL on error @param tx pointer to the transform function pointer to set @param type type the type of transform @param inv whether to do an inverse or a forward transform @param len the size of the transform in samples @param scale pointer to the value to scale the output if supported by type @param flags a bitmask of AVTXFlags or 0

@return 0 on success, negative error code on failure

extern (C) @nogc nothrow
int
av_tx_init
(,,,
int inv
,
int len
,
const(void)* scale
,
ulong flags
)

Meta