#include "config_components.h"
#include "libavutil/avassert.h"
#include "libavutil/mem.h"
#include "avcodec.h"
#include "codec_internal.h"
#include "decode.h"
#include "libavutil/common.h"
Go to the source code of this file.
|
static const int8_t | fibonacci [16] = { -34, -21, -13, -8, -5, -3, -2, -1, 0, 1, 2, 3, 5, 8, 13, 21 } |
|
static const int8_t | exponential [16] = { -128, -64, -32, -16, -8, -4, -2, -1, 0, 1, 2, 4, 8, 16, 32, 64 } |
|
◆ MAX_FRAME_SIZE
#define MAX_FRAME_SIZE 2048 |
◆ delta_decode()
static void delta_decode |
( |
uint8_t * |
dst, |
|
|
const uint8_t * |
src, |
|
|
int |
src_size, |
|
|
uint8_t * |
state, |
|
|
const int8_t * |
table |
|
) |
| |
|
static |
Delta decode the compressed values in src, and put the resulting decoded samples in dst.
- Parameters
-
[in,out] | state | starting value. it is saved for use in the next call. |
| table | delta sequence table |
Definition at line 73 of file 8svx.c.
Referenced by eightsvx_decode_frame().
◆ eightsvx_decode_frame()
decode a frame
Definition at line 90 of file 8svx.c.
◆ eightsvx_decode_init()
◆ eightsvx_decode_close()
◆ fibonacci
const int8_t fibonacci[16] = { -34, -21, -13, -8, -5, -3, -2, -1, 0, 1, 2, 3, 5, 8, 13, 21 } |
|
static |
◆ exponential
const int8_t exponential[16] = { -128, -64, -32, -16, -8, -4, -2, -1, 0, 1, 2, 4, 8, 16, 32, 64 } |
|
static |