FFmpeg
|
#include "libavutil/channel_layout.h"
#include "libavutil/ffmath.h"
#include "libavutil/float_dsp.h"
#include "libavutil/mem_internal.h"
#include "avcodec.h"
#include "bytestream.h"
#include "fft.h"
#include "get_bits.h"
#include "internal.h"
#include "on2avcdata.h"
Go to the source code of this file.
Data Structures | |
struct | On2AVCContext |
Macros | |
#define | ON2AVC_SUBFRAME_SIZE 1024 |
#define | CMUL1_R(s, t, is, it) s[is + 0] * t[it + 0] - s[is + 1] * t[it + 1] |
#define | CMUL1_I(s, t, is, it) s[is + 0] * t[it + 1] + s[is + 1] * t[it + 0] |
#define | CMUL2_R(s, t, is, it) s[is + 0] * t[it + 0] + s[is + 1] * t[it + 1] |
#define | CMUL2_I(s, t, is, it) s[is + 0] * t[it + 1] - s[is + 1] * t[it + 0] |
#define | CMUL0(dst, id, s0, s1, s2, s3, t0, t1, t2, t3, is, it) |
#define | CMUL1(dst, s0, s1, s2, s3, t0, t1, t2, t3, is, it) |
#define | CMUL2(dst, s0, s1, s2, s3, t0, t1, t2, t3, is, it) |
Enumerations | |
enum | WindowTypes { WINDOW_TYPE_LONG = 0, WINDOW_TYPE_LONG_STOP, WINDOW_TYPE_LONG_START, WINDOW_TYPE_8SHORT = 3, WINDOW_TYPE_EXT4, WINDOW_TYPE_EXT5, WINDOW_TYPE_EXT6, WINDOW_TYPE_EXT7 } |
Functions | |
static void | on2avc_read_ms_info (On2AVCContext *c, GetBitContext *gb) |
static int | on2avc_decode_band_types (On2AVCContext *c, GetBitContext *gb) |
static int | on2avc_decode_band_scales (On2AVCContext *c, GetBitContext *gb) |
static float | on2avc_scale (int v, float scale) |
static int | on2avc_decode_quads (On2AVCContext *c, GetBitContext *gb, float *dst, int dst_size, int type, float band_scale) |
static int | get_egolomb (GetBitContext *gb) |
static int | on2avc_decode_pairs (On2AVCContext *c, GetBitContext *gb, float *dst, int dst_size, int type, float band_scale) |
static int | on2avc_read_channel_data (On2AVCContext *c, GetBitContext *gb, int ch) |
static int | on2avc_apply_ms (On2AVCContext *c) |
static void | zero_head_and_tail (float *src, int len, int order0, int order1) |
static void | pretwiddle (float *src, float *dst, int dst_len, int tab_step, int step, int order0, int order1, const double *const *tabs) |
static void | twiddle (float *src1, float *src2, int src2_len, const double *tab, int tab_len, int step, int order0, int order1, const double *const *tabs) |
static void | combine_fft (float *s0, float *s1, float *s2, float *s3, float *dst, const float *t0, const float *t1, const float *t2, const float *t3, int len, int step) |
static void | wtf_end_512 (On2AVCContext *c, float *out, float *src, float *tmp0, float *tmp1) |
static void | wtf_end_1024 (On2AVCContext *c, float *out, float *src, float *tmp0, float *tmp1) |
static void | wtf_40 (On2AVCContext *c, float *out, float *src, int size) |
static void | wtf_44 (On2AVCContext *c, float *out, float *src, int size) |
static int | on2avc_reconstruct_channel_ext (On2AVCContext *c, AVFrame *dst, int offset) |
static int | on2avc_reconstruct_channel (On2AVCContext *c, int channel, AVFrame *dst, int offset) |
static int | on2avc_decode_subframe (On2AVCContext *c, const uint8_t *buf, int buf_size, AVFrame *dst, int offset) |
static int | on2avc_decode_frame (AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt) |
static av_cold void | on2avc_free_vlcs (On2AVCContext *c) |
static av_cold int | on2avc_decode_init (AVCodecContext *avctx) |
static av_cold int | on2avc_decode_close (AVCodecContext *avctx) |
Variables | |
const AVCodec | ff_on2avc_decoder |
enum WindowTypes |
|
static |
Definition at line 90 of file on2avc.c.
Referenced by on2avc_decode_subframe().
|
static |
Definition at line 111 of file on2avc.c.
Referenced by on2avc_read_channel_data().
|
static |
Definition at line 141 of file on2avc.c.
Referenced by on2avc_read_channel_data().
|
inlinestatic |
Definition at line 188 of file on2avc.c.
Referenced by on2avc_decode_pairs(), and on2avc_decode_quads().
|
static |
Definition at line 194 of file on2avc.c.
Referenced by on2avc_read_channel_data().
|
inlinestatic |
Definition at line 211 of file on2avc.c.
Referenced by on2avc_decode_pairs().
|
static |
Definition at line 227 of file on2avc.c.
Referenced by on2avc_read_channel_data().
|
static |
Definition at line 255 of file on2avc.c.
Referenced by on2avc_decode_subframe().
|
static |
Definition at line 292 of file on2avc.c.
Referenced by on2avc_decode_subframe().
Definition at line 317 of file on2avc.c.
Referenced by wtf_end_1024(), and wtf_end_512().
|
static |
Definition at line 323 of file on2avc.c.
Referenced by twiddle(), wtf_end_1024(), and wtf_end_512().
|
static |
Definition at line 415 of file on2avc.c.
Referenced by wtf_end_1024(), and wtf_end_512().
|
static |
|
static |
|
static |
Definition at line 530 of file on2avc.c.
Referenced by on2avc_decode_init().
|
static |
Definition at line 616 of file on2avc.c.
Referenced by on2avc_decode_init().
|
static |
Definition at line 690 of file on2avc.c.
Referenced by on2avc_decode_subframe().
|
static |
Definition at line 735 of file on2avc.c.
Referenced by on2avc_decode_subframe().
|
static |
Definition at line 800 of file on2avc.c.
Referenced by on2avc_decode_frame().
|
static |
|
static |
Definition at line 899 of file on2avc.c.
Referenced by on2avc_decode_close().
|
static |
|
static |
const AVCodec ff_on2avc_decoder |