aacpsdsp.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2012 Mans Rullgard
3  *
4  * This file is part of Libav.
5  *
6  * Libav is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * Libav is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with Libav; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19  */
20 
21 #ifndef LIBAVCODEC_AACPSDSP_H
22 #define LIBAVCODEC_AACPSDSP_H
23 
24 #define PS_QMF_TIME_SLOTS 32
25 #define PS_AP_LINKS 3
26 #define PS_MAX_AP_DELAY 5
27 
28 typedef struct PSDSPContext {
29  void (*add_squares)(float *dst, const float (*src)[2], int n);
30  void (*mul_pair_single)(float (*dst)[2], float (*src0)[2], float *src1,
31  int n);
32  void (*hybrid_analysis)(float (*out)[2], float (*in)[2],
33  const float (*filter)[8][2],
34  int stride, int n);
35  void (*hybrid_analysis_ileave)(float (*out)[32][2], float L[2][38][64],
36  int i, int len);
37  void (*hybrid_synthesis_deint)(float out[2][38][64], float (*in)[32][2],
38  int i, int len);
39  void (*decorrelate)(float (*out)[2], float (*delay)[2],
40  float (*ap_delay)[PS_QMF_TIME_SLOTS+PS_MAX_AP_DELAY][2],
41  const float phi_fract[2], float (*Q_fract)[2],
42  const float *transient_gain,
43  float g_decay_slope,
44  int len);
45  void (*stereo_interpolate[2])(float (*l)[2], float (*r)[2],
46  float h[2][4], float h_step[2][4],
47  int len);
48 } PSDSPContext;
49 
53 
54 #endif /* LIBAVCODEC_AACPSDSP_H */
const char * s
Definition: avisynth_c.h:668
void ff_psdsp_init_arm(PSDSPContext *s)
#define PS_MAX_AP_DELAY
Definition: aacpsdsp.h:26
About Git write you should know how to use GIT properly Luckily Git comes with excellent documentation git help man git shows you the available git< command > help man git< command > shows information about the subcommand< command > The most comprehensive manual is the website Git Reference visit they are quite exhaustive You do not need a special username or password All you need is to provide a ssh public key to the Git server admin What follows now is a basic introduction to Git and some FFmpeg specific guidelines Read it at least if you are granted commit privileges to the FFmpeg project you are expected to be familiar with these rules I if not You can get git from etc no matter how small Every one of them has been saved from looking like a fool by this many times It s very easy for stray debug output or cosmetic modifications to slip in
Definition: git-howto.txt:5
void ff_psdsp_init(PSDSPContext *s)
Definition: aacpsdsp.c:201
int stride
Definition: mace.c:144
#define PS_QMF_TIME_SLOTS
Definition: aacpsdsp.h:24
void(* stereo_interpolate[2])(float(*l)[2], float(*r)[2], float h[2][4], float h_step[2][4], int len)
Definition: aacpsdsp.h:45
void(* mul_pair_single)(float(*dst)[2], float(*src0)[2], float *src1, int n)
Definition: aacpsdsp.h:30
the mask is usually to keep the same permissions Filters should remove permissions on reference they give to output whenever necessary It can be automatically done by setting the rej_perms field on the output pad Here are a few guidelines corresponding to common then the filter should push the output frames on the output link immediately As an exception to the previous rule if the input frame is enough to produce several output frames then the filter needs output only at least one per link The additional frames can be left buffered in the filter
void(* hybrid_synthesis_deint)(float out[2][38][64], float(*in)[32][2], int i, int len)
Definition: aacpsdsp.h:37
const char * r
Definition: vf_curves.c:94
void(* decorrelate)(float(*out)[2], float(*delay)[2], float(*ap_delay)[32+5][2], const float phi_fract[2], float(*Q_fract)[2], const float *transient_gain, float g_decay_slope, int len)
Definition: aacpsdsp.h:39
#define L(x)
void(* hybrid_analysis)(float(*out)[2], float(*in)[2], const float(*filter)[8][2], int stride, int n)
Definition: aacpsdsp.h:32
void(* hybrid_analysis_ileave)(float(*out)[32][2], float L[2][38][64], int i, int len)
Definition: aacpsdsp.h:35
AVS_Value src
Definition: avisynth_c.h:523
typedef void(RENAME(mix_any_func_type))
struct PSDSPContext PSDSPContext
synthesis window for stochastic i
const uint8_t ptrdiff_t int h
Definition: hpel_template.c:97
void ff_psdsp_init_mips(PSDSPContext *s)
void(* add_squares)(float *dst, const float(*src)[2], int n)
Definition: aacpsdsp.h:29
int len