|
FFmpeg
|
#include "config_components.h"#include "libavutil/mem.h"#include "avcodec.h"#include "codec_internal.h"#include "decode.h"#include "encode.h"#include "get_bits.h"#include "golomb.h"#include "put_golomb.h"#include "rangecoder.h"Go to the source code of this file.
Data Structures | |
| struct | SonicContext |
Macros | |
| #define | MAX_CHANNELS 2 |
| #define | MID_SIDE 0 |
| #define | LEFT_SIDE 1 |
| #define | RIGHT_SIDE 2 |
| #define | LATTICE_SHIFT 10 |
| #define | SAMPLE_SHIFT 4 |
| #define | LATTICE_FACTOR (1 << LATTICE_SHIFT) |
| #define | SAMPLE_FACTOR (1 << SAMPLE_SHIFT) |
| #define | BASE_QUANT 0.6 |
| #define | RATE_VARIATION 3.0 |
Functions | |
| static int | shift (int a, int b) |
| static int | shift_down (int a, int b) |
Simple free lossless/lossy audio codec Based on Paul Francis Harrison's Bonk (http://www.logarithmic.net/pfh/bonk) Written and designed by Alex Beregszaszi
TODO:
Definition in file sonic.c.
| #define LATTICE_FACTOR (1 << LATTICE_SHIFT) |
| #define SAMPLE_FACTOR (1 << SAMPLE_SHIFT) |
1.8.17