FFmpeg
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 
24 typedef 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
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:24
step
trying all byte sequences megabyte in length and selecting the best looking sequence will yield cases to try But a word about which is also called distortion Distortion can be quantified by almost any quality measurement one chooses the sum of squared differences is used but more complex methods that consider psychovisual effects can be used as well It makes no difference in this discussion First step
Definition: rate_distortion.txt:58
base
uint8_t base
Definition: vp3data.h:128
ff_aacenc_dsp_init
void ff_aacenc_dsp_init(AACEncDSPContext *s)
Definition: aacencdsp.c:75
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:26
AACEncDSPContext::abs_pow34
void(* abs_pow34)(float *out, const float *in, const int size)
Definition: aacencdsp.h:25
size
int size
Definition: twinvq_data.h:10344
s
uint8_t s
Definition: llvidencdsp.c:39
AACEncDSPContext::nmr_trellis_step
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