FFmpeg
libavcodec
aacencdsp.h
Go to the documentation of this file.
1
/*
2
* This file is part of FFmpeg.
3
*
4
* FFmpeg is free software; you can redistribute it and/or
5
* modify it under the terms of the GNU Lesser General Public
6
* License as published by the Free Software Foundation; either
7
* version 2.1 of the License, or (at your option) any later version.
8
*
9
* FFmpeg is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
* Lesser General Public License for more details.
13
*
14
* You should have received a copy of the GNU Lesser General Public
15
* License along with FFmpeg; if not, write to the Free Software
16
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17
*/
18
19
#ifndef AVCODEC_AACENCDSP_H
20
#define AVCODEC_AACENCDSP_H
21
22
typedef
struct
AACEncDSPContext
{
23
void (*
abs_pow34
)(
float
*
out
,
const
float
*in,
const
int
size
);
24
void (*
quant_bands
)(
int
*
out
,
const
float
*in,
const
float
*scaled,
25
int
size
,
int
is_signed,
int
maxval,
const
float
Q34,
26
const
float
rounding);
27
}
AACEncDSPContext
;
28
29
void
ff_aacenc_dsp_init
(
AACEncDSPContext
*
s
);
30
void
ff_aacenc_dsp_init_riscv
(
AACEncDSPContext
*
s
);
31
void
ff_aacenc_dsp_init_x86
(
AACEncDSPContext
*
s
);
32
void
ff_aacenc_dsp_init_aarch64
(
AACEncDSPContext
*
s
);
33
34
#endif
ff_aacenc_dsp_init_riscv
void ff_aacenc_dsp_init_riscv(AACEncDSPContext *s)
Definition:
aacencdsp_init.c:32
out
static FILE * out
Definition:
movenc.c:55
AACEncDSPContext
Definition:
aacencdsp.h:22
ff_aacenc_dsp_init
void ff_aacenc_dsp_init(AACEncDSPContext *s)
Definition:
aacencdsp.c:48
s
#define s(width, name)
Definition:
cbs_vp9.c:198
ff_aacenc_dsp_init_x86
void ff_aacenc_dsp_init_x86(AACEncDSPContext *s)
Definition:
aacencdsp_init.c:37
ff_aacenc_dsp_init_aarch64
void ff_aacenc_dsp_init_aarch64(AACEncDSPContext *s)
Definition:
aacencdsp_init.c:31
AACEncDSPContext::quant_bands
void(* quant_bands)(int *out, const float *in, const float *scaled, int size, int is_signed, int maxval, const float Q34, const float rounding)
Definition:
aacencdsp.h:24
AACEncDSPContext::abs_pow34
void(* abs_pow34)(float *out, const float *in, const int size)
Definition:
aacencdsp.h:23
size
int size
Definition:
twinvq_data.h:10344
Generated on Thu May 28 2026 19:22:07 for FFmpeg by
1.8.17