Logo Search packages:      
Sourcecode: aften version File versions  Download package

mdct.c File Reference


Detailed Description

Aften: A/52 audio encoder

This file is derived from libvorbis Copyright (c) 2002, Xiph.org Foundation

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Modified Discrete Cosine Transform

Definition in file mdct.c.

#include "a52enc.h"
#include "mdct.h"
#include "cpu_caps.h"
#include "mem.h"

Go to the source code of this file.

Functions

static void alloc_block_buffers (A52ThreadContext *tctx)
static void mdct (MDCTThreadContext *tmdct, FLOAT *out, FLOAT *in)
static void mdct_256 (A52ThreadContext *tctx, FLOAT *out, FLOAT *in)
static void mdct_512 (A52ThreadContext *tctx, FLOAT *out, FLOAT *in)
static void mdct_bitreverse (MDCTContext *mdct, FLOAT *x)
static void mdct_butterflies (MDCTContext *mdct, FLOAT *x, int points)
static void mdct_butterfly_16 (FLOAT *x)
static void mdct_butterfly_32 (FLOAT *x)
static void mdct_butterfly_8 (FLOAT *x)
static void mdct_butterfly_first (FLOAT *trig, FLOAT *x, int points)
static void mdct_butterfly_generic (FLOAT *trig, FLOAT *x, int points, int trigint)
void mdct_close (A52Context *ctx)
static void mdct_ctx_close (MDCTContext *mdct)
void mdct_ctx_init (MDCTContext *mdct, int n)
void mdct_init (A52Context *ctx)
static void mdct_tctx_init (MDCTThreadContext *tmdct, int n)
void mdct_thread_close (A52ThreadContext *tctx)
void mdct_thread_init (A52ThreadContext *tctx)
static void tctx_close (MDCTThreadContext *tmdct)


Generated by  Doxygen 1.6.0   Back to index