};
struct mdct_context {
- /** Size of MDCT (i.e. number of input data * 2). */
+ /** Size of MDCT (number of input data * 2). */
int n;
/** n = 2^n bits. */
int nbits;
- /** pre/post rotation tables */
+ /** Cosine table for pre/post rotation. */
fftsample_t *tcos;
+ /** Sine table for pre/post rotation. */
fftsample_t *tsin;
+ /** The context for the underlying fast Fourier transform. */
struct fft_context fft;
};
return split_radix_permutation(i, m) * 4 - 1;
}
-#define SQRTHALF (float)0.70710678118654752440 /* 1/sqrt(2) */
+/** 1 / sqrt(2). */
+#define SQRTHALF (float)0.70710678118654752440
#define BF(x,y,a,b) {\
x = a - b;\
return ret;
}
+/**
+ * Deallocate imdct resources.
+ *
+ * \param ctx The pointer obtained by imdct_init().
+ */
void imdct_end(struct mdct_context *ctx)
{
free(ctx->tcos);
+/** \file wma.h The asf_header structure and public wma function declarations. */
+
/**
* Information contained in an asf audio file header.
*
* Both para_filter and para_afh need to read the header.
*/
-
-/** Information stored in the asf header. */
struct asf_header_info {
/** The size of the audio file header. */
int header_len;