FFmpeg  4.3
Macros | Typedefs
aac_defines.h File Reference

Go to the source code of this file.

Macros

#define USE_FIXED   0
 
#define FFT_FLOAT   1
 
#define FFT_FIXED_32   0
 
#define AAC_RENAME(x)   x
 
#define AAC_RENAME_32(x)   x
 
#define FIXR(x)   ((float)(x))
 
#define FIXR10(x)   ((float)(x))
 
#define Q23(x)   ((float)(x))
 
#define Q30(x)   ((float)(x))
 
#define Q31(x)   ((float)(x))
 
#define RANGE15(x)   (32768.0 * (x))
 
#define GET_GAIN(x, y)   powf((x), -(y))
 
#define AAC_MUL16(x, y)   ((x) * (y))
 
#define AAC_MUL26(x, y)   ((x) * (y))
 
#define AAC_MUL30(x, y)   ((x) * (y))
 
#define AAC_MUL31(x, y)   ((x) * (y))
 
#define AAC_MADD28(x, y, a, b)   ((x) * (y) + (a) * (b))
 
#define AAC_MADD30(x, y, a, b)   ((x) * (y) + (a) * (b))
 
#define AAC_MADD30_V8(x, y, a, b, c, d, e, f)
 
#define AAC_MSUB30(x, y, a, b)   ((x) * (y) - (a) * (b))
 
#define AAC_MSUB30_V8(x, y, a, b, c, d, e, f)
 
#define AAC_MSUB31_V3(x, y, z)   ((x) - (y)) * (z)
 
#define AAC_HALF_SUM(x, y)   ((x) + (y)) * 0.5f
 
#define AAC_SRA_R(x, y)   (x)
 

Typedefs

typedef float INTFLOAT
 
typedef float UINTFLOAT
 
typedef float INT64FLOAT
 
typedef float SHORTFLOAT
 
typedef float AAC_FLOAT
 
typedef unsigned AAC_SIGNE
 

Macro Definition Documentation

◆ USE_FIXED

#define USE_FIXED   0

Definition at line 25 of file aac_defines.h.

◆ FFT_FLOAT

#define FFT_FLOAT   1

Definition at line 81 of file aac_defines.h.

◆ FFT_FIXED_32

#define FFT_FIXED_32   0

Definition at line 82 of file aac_defines.h.

◆ AAC_RENAME

#define AAC_RENAME (   x)    x

Definition at line 84 of file aac_defines.h.

◆ AAC_RENAME_32

#define AAC_RENAME_32 (   x)    x

Definition at line 85 of file aac_defines.h.

◆ FIXR

#define FIXR (   x)    ((float)(x))

Definition at line 92 of file aac_defines.h.

◆ FIXR10

#define FIXR10 (   x)    ((float)(x))

Definition at line 93 of file aac_defines.h.

◆ Q23

#define Q23 (   x)    ((float)(x))

Definition at line 94 of file aac_defines.h.

◆ Q30

#define Q30 (   x)    ((float)(x))

Definition at line 95 of file aac_defines.h.

◆ Q31

#define Q31 (   x)    ((float)(x))

Definition at line 96 of file aac_defines.h.

◆ RANGE15

#define RANGE15 (   x)    (32768.0 * (x))

Definition at line 97 of file aac_defines.h.

◆ GET_GAIN

#define GET_GAIN (   x,
 
)    powf((x), -(y))

Definition at line 98 of file aac_defines.h.

◆ AAC_MUL16

#define AAC_MUL16 (   x,
 
)    ((x) * (y))

Definition at line 99 of file aac_defines.h.

◆ AAC_MUL26

#define AAC_MUL26 (   x,
 
)    ((x) * (y))

Definition at line 100 of file aac_defines.h.

◆ AAC_MUL30

#define AAC_MUL30 (   x,
 
)    ((x) * (y))

Definition at line 101 of file aac_defines.h.

◆ AAC_MUL31

#define AAC_MUL31 (   x,
 
)    ((x) * (y))

Definition at line 102 of file aac_defines.h.

◆ AAC_MADD28

#define AAC_MADD28 (   x,
  y,
  a,
  b 
)    ((x) * (y) + (a) * (b))

Definition at line 103 of file aac_defines.h.

◆ AAC_MADD30

#define AAC_MADD30 (   x,
  y,
  a,
  b 
)    ((x) * (y) + (a) * (b))

Definition at line 104 of file aac_defines.h.

◆ AAC_MADD30_V8

#define AAC_MADD30_V8 (   x,
  y,
  a,
  b,
  c,
  d,
  e,
  f 
)
Value:
((x) * (y) + (a) * (b) + \
(c) * (d) + (e) * (f))

Definition at line 105 of file aac_defines.h.

◆ AAC_MSUB30

#define AAC_MSUB30 (   x,
  y,
  a,
  b 
)    ((x) * (y) - (a) * (b))

Definition at line 107 of file aac_defines.h.

◆ AAC_MSUB30_V8

#define AAC_MSUB30_V8 (   x,
  y,
  a,
  b,
  c,
  d,
  e,
  f 
)
Value:
((x) * (y) + (a) * (b) - \
(c) * (d) - (e) * (f))

Definition at line 108 of file aac_defines.h.

◆ AAC_MSUB31_V3

#define AAC_MSUB31_V3 (   x,
  y,
 
)    ((x) - (y)) * (z)

Definition at line 110 of file aac_defines.h.

◆ AAC_HALF_SUM

#define AAC_HALF_SUM (   x,
 
)    ((x) + (y)) * 0.5f

Definition at line 111 of file aac_defines.h.

◆ AAC_SRA_R

#define AAC_SRA_R (   x,
 
)    (x)

Definition at line 112 of file aac_defines.h.

Typedef Documentation

◆ INTFLOAT

typedef float INTFLOAT

Definition at line 86 of file aac_defines.h.

◆ UINTFLOAT

typedef float UINTFLOAT

Definition at line 87 of file aac_defines.h.

◆ INT64FLOAT

typedef float INT64FLOAT

Definition at line 88 of file aac_defines.h.

◆ SHORTFLOAT

typedef float SHORTFLOAT

Definition at line 89 of file aac_defines.h.

◆ AAC_FLOAT

typedef float AAC_FLOAT

Definition at line 90 of file aac_defines.h.

◆ AAC_SIGNE

typedef unsigned AAC_SIGNE

Definition at line 91 of file aac_defines.h.

b
#define b
Definition: input.c:41
x
FFmpeg Automated Testing Environment ************************************Introduction Using FATE from your FFmpeg source directory Submitting the results to the FFmpeg result aggregation server Uploading new samples to the fate suite FATE makefile targets and variables Makefile targets Makefile variables Examples Introduction **************FATE is an extended regression suite on the client side and a means for results aggregation and presentation on the server side The first part of this document explains how you can use FATE from your FFmpeg source directory to test your ffmpeg binary The second part describes how you can run FATE to submit the results to FFmpeg’s FATE server In any way you can have a look at the publicly viewable FATE results by visiting this as it can be seen if some test on some platform broke with their recent contribution This usually happens on the platforms the developers could not test on The second part of this document describes how you can run FATE to submit your results to FFmpeg’s FATE server If you want to submit your results be sure to check that your combination of OS and compiler is not already listed on the above mentioned website In the third part you can find a comprehensive listing of FATE makefile targets and variables Using FATE from your FFmpeg source directory **********************************************If you want to run FATE on your machine you need to have the samples in place You can get the samples via the build target fate rsync Use this command from the top level source this will cause FATE to fail NOTE To use a custom wrapper to run the pass ‘ target exec’ to ‘configure’ or set the TARGET_EXEC Make variable Submitting the results to the FFmpeg result aggregation server ****************************************************************To submit your results to the server you should run fate through the shell script ‘tests fate sh’ from the FFmpeg sources This script needs to be invoked with a configuration file as its first argument tests fate sh path to fate_config A configuration file template with comments describing the individual configuration variables can be found at ‘doc fate_config sh template’ Create a configuration that suits your based on the configuration template The ‘slot’ configuration variable can be any string that is not yet but it is suggested that you name it adhering to the following pattern ‘ARCH OS COMPILER COMPILER VERSION’ The configuration file itself will be sourced in a shell therefore all shell features may be used This enables you to setup the environment as you need it for your build For your first test runs the ‘fate_recv’ variable should be empty or commented out This will run everything as normal except that it will omit the submission of the results to the server The following files should be present in $workdir as specified in the configuration it may help to try out the ‘ssh’ command with one or more ‘ v’ options You should get detailed output concerning your SSH configuration and the authentication process The only thing left is to automate the execution of the fate sh script and the synchronisation of the samples directory Uploading new samples to the fate suite *****************************************If you need a sample uploaded send a mail to samples request This is for developers who have an account on the fate suite server If you upload new please make sure they are as small as space on each network bandwidth and so on benefit from smaller test cases Also keep in mind older checkouts use existing sample that means in practice generally do not remove or overwrite files as it likely would break older checkouts or releases Also all needed samples for a commit should be ideally before the push If you need an account for frequently uploading samples or you wish to help others by doing that send a mail to ffmpeg devel rsync vauL Duo x
Definition: fate.txt:150
f
#define f(width, name)
Definition: cbs_vp9.c:255
c
Undefined Behavior In the C some operations are like signed integer dereferencing freed accessing outside allocated Undefined Behavior must not occur in a C it is not safe even if the output of undefined operations is unused The unsafety may seem nit picking but Optimizing compilers have in fact optimized code on the assumption that no undefined Behavior occurs Optimizing code based on wrong assumptions can and has in some cases lead to effects beyond the output of computations The signed integer overflow problem in speed critical code Code which is highly optimized and works with signed integers sometimes has the problem that often the output of the computation does not c
Definition: undefined.txt:32
a
The reader does not expect b to be semantically here and if the code is changed by maybe adding a a division or other the signedness will almost certainly be mistaken To avoid this confusion a new type was SUINT is the C unsigned type but it holds a signed int to use the same example SUINT a
Definition: undefined.txt:41