FFmpeg
Macros | Functions
math.c File Reference
#include <math.h>

Go to the source code of this file.

Macros

#define FUN(name, type, op)
 

Functions

long double fmodl (long double x, long double y)
 
long double scalbnl (long double x, int exp)
 
long double copysignl (long double x, long double y)
 

Macro Definition Documentation

◆ FUN

#define FUN (   name,
  type,
  op 
)
Value:
type name(type x, type y) \
{ \
if (fpclassify(x) == FP_NAN) return y; \
if (fpclassify(y) == FP_NAN) return x; \
return x op y ? x : y; \
}

Definition at line 21 of file math.c.

Function Documentation

◆ fmodl()

long double fmodl ( long double  x,
long double  y 
)

Definition at line 34 of file math.c.

◆ scalbnl()

long double scalbnl ( long double  x,
int  exp 
)

Definition at line 39 of file math.c.

◆ copysignl()

long double copysignl ( long double  x,
long double  y 
)

Definition at line 44 of file math.c.

name
it s the only field you need to keep assuming you have a context There is some magic you don t need to care about around this just let it vf default minimum maximum flags name is the option name
Definition: writing_filters.txt:88
type
it s the only field you need to keep assuming you have a context There is some magic you don t need to care about around this just let it vf type
Definition: writing_filters.txt:86
op
static int op(uint8_t **dst, const uint8_t *dst_end, GetByteContext *gb, int pixel, int count, int *x, int width, int linesize)
Perform decode operation.
Definition: anm.c:76