#include <stdint.h>#include "libavutil/common.h"#include "libavutil/mathematics.h"#include "avcodec.h"#include "get_bits.h"#include "aacps.h"#include "aacps_tablegen.h"#include "aacpsdata.c"#include "dsputil.h"Go to the source code of this file.
Defines | |
| #define | PS_BASELINE 0 |
| Operate in Baseline PS mode. | |
| #define | numQMFSlots 32 |
| #define | READ_PAR_DATA(PAR, OFFSET, MASK, ERR_CONDITION) |
| #define | DECAY_SLOPE 0.05f |
| #define | PS_INIT_VLC_STATIC(num, size) |
| #define | PS_VLC_ROW(name) { name ## _codes, name ## _bits, sizeof(name ## _codes), sizeof(name ## _codes[0]) } |
Enumerations | |
| enum | { huff_iid_df1, huff_iid_dt1, huff_iid_df0, huff_iid_dt0, huff_icc_df, huff_icc_dt, huff_ipd_df, huff_ipd_dt, huff_opd_df, huff_opd_dt } |
Functions | |
| READ_PAR_DATA (iid, huff_offset[table_idx], 0, FFABS(ps->iid_par[e][b]) > 7+8 *ps->iid_quant) static int ps_read_extension_data(GetBitContext *gb | |
| static void | map_idx_10_to_20 (int8_t *par_mapped, const int8_t *par, int full) |
| Table 8.46. | |
| static void | map_idx_34_to_20 (int8_t *par_mapped, const int8_t *par, int full) |
| static void | map_val_34_to_20 (float par[PS_MAX_NR_IIDICC]) |
| static void | map_idx_10_to_34 (int8_t *par_mapped, const int8_t *par, int full) |
| static void | map_idx_20_to_34 (int8_t *par_mapped, const int8_t *par, int full) |
| static void | map_val_20_to_34 (float par[PS_MAX_NR_IIDICC]) |
| static void | decorrelation (PSContext *ps, float(*out)[32][2], const float(*s)[32][2], int is34) |
| static void | remap34 (int8_t(**p_par_mapped)[PS_MAX_NR_IIDICC], int8_t(*par)[PS_MAX_NR_IIDICC], int num_par, int num_env, int full) |
| static void | remap20 (int8_t(**p_par_mapped)[PS_MAX_NR_IIDICC], int8_t(*par)[PS_MAX_NR_IIDICC], int num_par, int num_env, int full) |
| static void | stereo_processing (PSContext *ps, float(*l)[32][2], float(*r)[32][2], int is34) |
| int | ff_ps_apply (AVCodecContext *avctx, PSContext *ps, float L[2][38][64], float R[2][38][64], int top) |
| av_cold void | ff_ps_init (void) |
| av_cold void | ff_ps_ctx_init (PSContext *ps) |
Variables | |
| static const int8_t | num_env_tab [2][4] |
| static const int8_t | nr_iidicc_par_tab [] |
| static const int8_t | nr_iidopd_par_tab [] |
| static const int | huff_iid [] |
| static VLC | vlc_ps [10] |
| PSContext * | ps |
| static const int | NR_BANDS [] = { 71, 91 } |
| Number of frequency bands that can be addressed by the sub subband index, k. | |
| static const int | DECAY_CUTOFF [] = { 10, 32 } |
| Start frequency band for the all-pass filter decay slope. | |
| static const int | NR_ALLPASS_BANDS [] = { 30, 50 } |
| Number of all-pass filer bands. | |
| static const int | SHORT_DELAY_BAND [] = { 42, 62 } |
| First stereo band using the short one sample delay. | |
| #define DECAY_SLOPE 0.05f |
| #define PS_BASELINE 0 |
| #define PS_INIT_VLC_STATIC | ( | num, | |||
| size | ) |
Value:
INIT_VLC_STATIC(&vlc_ps[num], 9, ps_tmp[num].table_size / ps_tmp[num].elem_size, \ ps_tmp[num].ps_bits, 1, 1, \ ps_tmp[num].ps_codes, ps_tmp[num].elem_size, ps_tmp[num].elem_size, \ size);
| anonymous enum |
| static void decorrelation | ( | PSContext * | ps, | |
| float(*) | out[32][2], | |||
| const float(*) | s[32][2], | |||
| int | is34 | |||
| ) | [static] |
| int ff_ps_apply | ( | AVCodecContext * | avctx, | |
| PSContext * | ps, | |||
| float | L[2][38][64], | |||
| float | R[2][38][64], | |||
| int | top | |||
| ) |
| av_cold void ff_ps_ctx_init | ( | PSContext * | ps | ) |
| av_cold void ff_ps_init | ( | void | ) |
| static void map_idx_10_to_20 | ( | int8_t * | par_mapped, | |
| const int8_t * | par, | |||
| int | full | |||
| ) | [static] |
| static void map_idx_10_to_34 | ( | int8_t * | par_mapped, | |
| const int8_t * | par, | |||
| int | full | |||
| ) | [static] |
| static void map_idx_20_to_34 | ( | int8_t * | par_mapped, | |
| const int8_t * | par, | |||
| int | full | |||
| ) | [static] |
| static void map_idx_34_to_20 | ( | int8_t * | par_mapped, | |
| const int8_t * | par, | |||
| int | full | |||
| ) | [static] |
| static void map_val_20_to_34 | ( | float | par[PS_MAX_NR_IIDICC] | ) | [static] |
| static void map_val_34_to_20 | ( | float | par[PS_MAX_NR_IIDICC] | ) | [static] |
| READ_PAR_DATA | ( | iid | , | |
| huff_offset | [table_idx], | |||
| 0 | , | |||
| FFABS(ps->iid_par[e][b]) | , | |||
| 7+8 *ps-> | iid_quant | |||
| ) |
| static void remap20 | ( | int8_t(**) | p_par_mapped[PS_MAX_NR_IIDICC], | |
| int8_t(*) | par[PS_MAX_NR_IIDICC], | |||
| int | num_par, | |||
| int | num_env, | |||
| int | full | |||
| ) | [static] |
| static void remap34 | ( | int8_t(**) | p_par_mapped[PS_MAX_NR_IIDICC], | |
| int8_t(*) | par[PS_MAX_NR_IIDICC], | |||
| int | num_par, | |||
| int | num_env, | |||
| int | full | |||
| ) | [static] |
| static void stereo_processing | ( | PSContext * | ps, | |
| float(*) | l[32][2], | |||
| float(*) | r[32][2], | |||
| int | is34 | |||
| ) | [static] |
const int DECAY_CUTOFF[] = { 10, 32 } [static] |
const int huff_iid[] [static] |
Initial value:
const int NR_ALLPASS_BANDS[] = { 30, 50 } [static] |
const int NR_BANDS[] = { 71, 91 } [static] |
const int8_t nr_iidicc_par_tab[] [static] |
const int8_t nr_iidopd_par_tab[] [static] |
const int8_t num_env_tab[2][4] [static] |
Definition at line 110 of file aacps.c.
Referenced by avcodec_get_pix_fmt_loss(), dv_guess_dct_mode(), find_breaks(), put_image(), read_mv_component(), remove_stream(), and rle_unpack().
const int SHORT_DELAY_BAND[] = { 42, 62 } [static] |
1.5.8