FFmpeg
Loading...
Searching...
No Matches
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#include <stdint.h>
23
24typedef struct AACEncDSPContext {
25 void (*abs_pow34)(float *out, const float *in, const int size);
26 void (*quant_bands)(int *out, const float *in, const float *scaled,
27 int size, int is_signed, int maxval, const float Q34,
28 const float rounding);
29
30 void (*nmr_trellis_step)(float *dp, uint8_t *bp, const float *dpp,
31 const float *node, const float *lamsf,
32 int n_cur, int n_prev, int base, int step, int mdiff);
34
39
40#endif
void ff_aacenc_dsp_init(AACEncDSPContext *s)
Definition aacencdsp.c:75
void ff_aacenc_dsp_init_aarch64(AACEncDSPContext *s)
void ff_aacenc_dsp_init_riscv(AACEncDSPContext *s)
void ff_aacenc_dsp_init_x86(AACEncDSPContext *s)
#define s(width, name)
Definition cbs_vp9.c:198
void(* nmr_trellis_step)(float *dp, uint8_t *bp, const float *dpp, const float *node, const float *lamsf, int n_cur, int n_prev, int base, int step, int mdiff)
Definition aacencdsp.h:30
void(* abs_pow34)(float *out, const float *in, const int size)
Definition aacencdsp.h:25
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:26
static FILE * out
Definition movenc.c:55
int size
uint8_t base
Definition vp3data.h:128