FFmpeg
|
#include <math.h>
#include <stddef.h>
#include "libavutil/channel_layout.h"
#include "libavutil/mem_internal.h"
#include "libavutil/thread.h"
#include "libavutil/tx.h"
#include "avcodec.h"
#include "bytestream.h"
#include "codec_internal.h"
#include "decode.h"
#include "get_bits.h"
Go to the source code of this file.
Data Structures | |
struct | QDMCTone |
struct | QDMCContext |
Macros | |
#define | BITSTREAM_READER_LE |
Functions | |
static av_cold void | qdmc_init_static_data (void) |
static void | make_noises (QDMCContext *s) |
static av_cold int | qdmc_decode_init (AVCodecContext *avctx) |
static av_cold int | qdmc_decode_close (AVCodecContext *avctx) |
static int | qdmc_get_vlc (GetBitContext *gb, VLC *table, int flag) |
static int | skip_label (QDMCContext *s, GetBitContext *gb) |
static int | read_noise_data (QDMCContext *s, GetBitContext *gb) |
static void | add_tone (QDMCContext *s, int group, int offset, int freq, int stereo_mode, int amplitude, int phase) |
static int | read_wave_data (QDMCContext *s, GetBitContext *gb) |
static void | lin_calc (QDMCContext *s, float amplitude, int node1, int node2, int index) |
static void | add_noise (QDMCContext *s, int ch, int current_subframe) |
static void | add_wave (QDMCContext *s, int offset, int freqs, int group, int stereo_mode, int amp, int phase) |
static void | add_wave0 (QDMCContext *s, int offset, int freqs, int stereo_mode, int amp, int phase) |
static void | add_waves (QDMCContext *s, int current_subframe) |
static int | decode_frame (QDMCContext *s, GetBitContext *gb, int16_t *out) |
static av_cold void | qdmc_flush (AVCodecContext *avctx) |
static int | qdmc_decode_frame (AVCodecContext *avctx, AVFrame *frame, int *got_frame_ptr, AVPacket *avpkt) |
Variables | |
static float | sin_table [512] |
static VLC | vtable [6] |
static const unsigned | code_prefix [] |
static const float | amplitude_tab [64] |
static const uint16_t | qdmc_nodes [112] |
static const uint8_t | noise_bands_size [] |
static const uint8_t | noise_bands_selector [] |
static const uint8_t | qdmc_hufftab [][2] |
static const uint8_t | huff_sizes [] |
static const uint8_t | huff_bits [] |
const FFCodec | ff_qdmc_decoder |
|
static |
Definition at line 166 of file qdmc.c.
Referenced by qdmc_decode_init().
|
static |
Definition at line 186 of file qdmc.c.
Referenced by qdmc_decode_init().
|
static |
|
static |
|
static |
Definition at line 324 of file qdmc.c.
Referenced by read_noise_data(), and read_wave_data().
|
static |
Definition at line 344 of file qdmc.c.
Referenced by decode_frame().
|
static |
Definition at line 360 of file qdmc.c.
Referenced by decode_frame().
|
static |
Definition at line 408 of file qdmc.c.
Referenced by read_wave_data().
|
static |
Definition at line 425 of file qdmc.c.
Referenced by decode_frame().
|
static |
Definition at line 487 of file qdmc.c.
Referenced by add_noise().
|
static |
Definition at line 513 of file qdmc.c.
Referenced by decode_frame().
|
static |
Definition at line 547 of file qdmc.c.
Referenced by add_waves().
|
static |
Definition at line 579 of file qdmc.c.
Referenced by add_waves().
|
static |
Definition at line 597 of file qdmc.c.
Referenced by decode_frame().
|
static |
Definition at line 621 of file qdmc.c.
Referenced by qdmc_decode_frame().
|
static |
Definition at line 689 of file qdmc.c.
Referenced by qdmc_decode_frame().
|
static |
|
static |
Definition at line 76 of file qdmc.c.
Referenced by add_wave(), add_wave0(), qdmc_decode_init(), and qdmc_init_static_data().
|
static |
Definition at line 77 of file qdmc.c.
Referenced by qdmc_init_static_data(), read_noise_data(), and read_wave_data().
|
static |
Definition at line 79 of file qdmc.c.
Referenced by build_table(), and qdmc_get_vlc().
|
static |
Definition at line 91 of file qdmc.c.
Referenced by add_noise(), add_wave(), and add_wave0().
|
static |
Definition at line 104 of file qdmc.c.
Referenced by add_noise(), and make_noises().
|
static |
Definition at line 117 of file qdmc.c.
Referenced by add_noise(), make_noises(), and read_noise_data().
|
static |
Definition at line 121 of file qdmc.c.
Referenced by qdmc_decode_init().
|
static |
Definition at line 125 of file qdmc.c.
Referenced by qdmc_init_static_data().
|
static |
Definition at line 158 of file qdmc.c.
Referenced by qdmc_init_static_data().
|
static |
Definition at line 162 of file qdmc.c.
Referenced by qdmc_init_static_data().
const FFCodec ff_qdmc_decoder |