FFmpeg
|
#include "libavutil/channel_layout.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/mem.h"
#include "avcodec.h"
#include "codec_internal.h"
#include "bytestream.h"
#include "decode.h"
Go to the source code of this file.
Data Structures | |
struct | ACoder |
struct | FiltCoeffs |
struct | Model64 |
struct | AdaptiveModel |
struct | ChContext |
struct | RKAContext |
Functions | |
static int | adaptive_model_init (AdaptiveModel *am, int buf_size) |
static void | adaptive_model_free (AdaptiveModel *am) |
static av_cold int | rka_decode_init (AVCodecContext *avctx) |
static void | model64_init (Model64 *m, unsigned bits) |
static int | chctx_init (RKAContext *s, ChContext *c, int sample_rate, int bps) |
static void | init_acoder (ACoder *ac) |
static int | ac_decode_bool (ACoder *ac, int freq1, int freq2) |
static int | decode_bool (ACoder *ac, ChContext *c, int idx) |
static int | ac_get_freq (ACoder *ac, unsigned freq, int *result) |
static int | ac_update (ACoder *ac, int freq, int mul) |
static void | amdl_update_prob (AdaptiveModel *am, int val, int diff) |
static void | update_ch_subobj (AdaptiveModel *am) |
static int | amdl_decode_int (AdaptiveModel *am, ACoder *ac, unsigned *dst, unsigned size) |
static int | decode_filt_coeffs (RKAContext *s, ChContext *ctx, ACoder *ac, FiltCoeffs *dst) |
static int | ac_dec_bit (ACoder *ac) |
static int | mdl64_decode (ACoder *ac, Model64 *ctx, int *dst) |
static int | decode_filter (RKAContext *s, ChContext *ctx, ACoder *ac, int off, unsigned size) |
static int | decode_samples (AVCodecContext *avctx, ACoder *ac, ChContext *ctx, int offset) |
static int | decode_ch_samples (AVCodecContext *avctx, ChContext *c) |
static int | rka_decode_frame (AVCodecContext *avctx, AVFrame *frame, int *got_frame_ptr, AVPacket *avpkt) |
static av_cold int | rka_decode_close (AVCodecContext *avctx) |
Variables | |
static const uint8_t | vrq_qfactors [8] = { 3, 3, 2, 2, 1, 1, 1, 1 } |
const FFCodec | ff_rka_decoder |
|
static |
Definition at line 106 of file rka.c.
Referenced by chctx_init().
|
static |
Definition at line 126 of file rka.c.
Referenced by rka_decode_close().
|
static |
|
static |
Definition at line 180 of file rka.c.
Referenced by chctx_init().
|
static |
Definition at line 201 of file rka.c.
Referenced by rka_decode_frame().
|
static |
Definition at line 247 of file rka.c.
Referenced by rka_decode_frame().
|
static |
Definition at line 254 of file rka.c.
Referenced by amdl_decode_int(), decode_bool(), and mdl64_decode().
Definition at line 301 of file rka.c.
Referenced by decode_filt_coeffs().
|
static |
Definition at line 321 of file rka.c.
Referenced by amdl_decode_int(), decode_filt_coeffs(), decode_samples(), and mdl64_decode().
|
static |
Definition at line 339 of file rka.c.
Referenced by amdl_decode_int(), decode_filt_coeffs(), decode_samples(), and mdl64_decode().
|
static |
Definition at line 364 of file rka.c.
Referenced by amdl_decode_int(), and update_ch_subobj().
|
static |
Definition at line 377 of file rka.c.
Referenced by amdl_decode_int().
|
static |
Definition at line 410 of file rka.c.
Referenced by decode_filt_coeffs(), decode_filter(), and decode_samples().
|
static |
Definition at line 495 of file rka.c.
Referenced by decode_filter().
|
static |
Definition at line 547 of file rka.c.
Referenced by mdl64_decode().
Definition at line 590 of file rka.c.
Referenced by decode_filter().
|
static |
Definition at line 675 of file rka.c.
Referenced by decode_samples().
|
static |
Definition at line 770 of file rka.c.
Referenced by decode_ch_samples().
|
static |
Definition at line 829 of file rka.c.
Referenced by rka_decode_frame().
|
static |
|
static |
|
static |
Definition at line 673 of file rka.c.
Referenced by decode_filter().
const FFCodec ff_rka_decoder |