Go to the source code of this file.
|
static av_cold int | ra288_decode_init (AVCodecContext *avctx) |
|
static void | convolve (float *tgt, const float *src, int len, int n) |
|
static void | decode (RA288Context *ractx, float gain, int cb_coef) |
|
static void | do_hybrid_window (RA288Context *ractx, int order, int n, int non_rec, float *out, float *hist, float *out2, const float *window) |
| Hybrid window filtering, see blocks 36 and 49 of the G.728 specification. More...
|
|
static void | backward_filter (RA288Context *ractx, float *hist, float *rec, const float *window, float *lpc, const float *tab, int order, int n, int non_rec, int move_size) |
| Backward synthesis filter, find the LPC coefficients from past speech data. More...
|
|
static int | ra288_decode_frame (AVCodecContext *avctx, AVFrame *frame, int *got_frame_ptr, AVPacket *avpkt) |
|
◆ BITSTREAM_READER_LE
#define BITSTREAM_READER_LE |
◆ MAX_BACKWARD_FILTER_ORDER
#define MAX_BACKWARD_FILTER_ORDER 36 |
◆ MAX_BACKWARD_FILTER_LEN
#define MAX_BACKWARD_FILTER_LEN 40 |
◆ MAX_BACKWARD_FILTER_NONREC
#define MAX_BACKWARD_FILTER_NONREC 35 |
◆ RA288_BLOCK_SIZE
#define RA288_BLOCK_SIZE 5 |
◆ RA288_BLOCKS_PER_FRAME
#define RA288_BLOCKS_PER_FRAME 32 |
◆ ra288_decode_init()
◆ convolve()
◆ decode()
◆ do_hybrid_window()
Hybrid window filtering, see blocks 36 and 49 of the G.728 specification.
- Parameters
-
order | filter order |
n | input length |
non_rec | number of non-recursive samples |
out | filter output |
hist | pointer to the input history of the filter |
out | pointer to the non-recursive part of the output |
out2 | pointer to the recursive part of the output |
window | pointer to the windowing function table |
Definition at line 145 of file ra288.c.
Referenced by backward_filter().
◆ backward_filter()
Backward synthesis filter, find the LPC coefficients from past speech data.
Definition at line 175 of file ra288.c.
Referenced by ra288_decode_frame().
◆ ra288_decode_frame()
◆ ff_ra_288_decoder
Initial value:= {
.p.name = "real_288",
}
Definition at line 240 of file ra288.c.