FFmpeg
|
Go to the source code of this file.
Data Structures | |
struct | AVFixedDSPContext |
Functions | |
AVFixedDSPContext * | avpriv_alloc_fixed_dsp (int strict) |
Allocate and initialize a fixed DSP context. | |
static av_always_inline int | fixed_sqrt (int x, int bits) |
Calculate the square root. | |
AVFixedDSPContext* avpriv_alloc_fixed_dsp | ( | int | strict | ) |
Allocate and initialize a fixed DSP context.
note: should be freed with a av_free call when no longer needed.
strict | setting to non-zero avoids using functions which may not be IEEE-754 compliant |
Definition at line 91 of file fixed_dsp.c.
Referenced by ac3_decode_init().
|
static |
Calculate the square root.
x | input fixed point number |
bits | format of fixed point number (32 - bits).bits |
note: input is normalized to (0, 1) fixed point value
Definition at line 115 of file fixed_dsp.h.
Referenced by decode_audio_block().