|
|
@ -21,6 +21,8 @@ |
|
|
|
#ifndef LIBAVCODEC_SBRDSP_H |
|
|
|
#ifndef LIBAVCODEC_SBRDSP_H |
|
|
|
#define LIBAVCODEC_SBRDSP_H |
|
|
|
#define LIBAVCODEC_SBRDSP_H |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include <stdint.h> |
|
|
|
|
|
|
|
|
|
|
|
typedef struct SBRDSPContext { |
|
|
|
typedef struct SBRDSPContext { |
|
|
|
void (*sum64x5)(float *z); |
|
|
|
void (*sum64x5)(float *z); |
|
|
|
float (*sum_square)(float (*x)[2], int n); |
|
|
|
float (*sum_square)(float (*x)[2], int n); |
|
|
@ -34,7 +36,7 @@ typedef struct SBRDSPContext { |
|
|
|
const float alpha0[2], const float alpha1[2], |
|
|
|
const float alpha0[2], const float alpha1[2], |
|
|
|
float bw, int start, int end); |
|
|
|
float bw, int start, int end); |
|
|
|
void (*hf_g_filt)(float (*Y)[2], const float (*X_high)[40][2], |
|
|
|
void (*hf_g_filt)(float (*Y)[2], const float (*X_high)[40][2], |
|
|
|
const float *g_filt, int m_max, int ixh); |
|
|
|
const float *g_filt, int m_max, intptr_t ixh); |
|
|
|
void (*hf_apply_noise[4])(float (*Y)[2], const float *s_m, |
|
|
|
void (*hf_apply_noise[4])(float (*Y)[2], const float *s_m, |
|
|
|
const float *q_filt, int noise, |
|
|
|
const float *q_filt, int noise, |
|
|
|
int kx, int m_max); |
|
|
|
int kx, int m_max); |
|
|
|