FFmpeg  4.0
Macros | Functions
resample_init.c File Reference
#include "config.h"
#include "libavutil/cpu.h"
#include "libavutil/avassert.h"
#include "libavutil/aarch64/cpu.h"
#include "libswresample/resample.h"

Go to the source code of this file.

Macros

#define DECLARE_RESAMPLE_COMMON_TEMPLATE(TYPE, DELEM, FELEM, FELEM2, OUT)
 
#define OUT(d, v)   d = v
 
#define OUT(d, v)   (v) = ((v) + (1<<(14)))>>15; (d) = av_clip_int16(v)
 

Functions

av_cold void swri_resample_dsp_aarch64_init (ResampleContext *c)
 

Macro Definition Documentation

◆ DECLARE_RESAMPLE_COMMON_TEMPLATE

#define DECLARE_RESAMPLE_COMMON_TEMPLATE (   TYPE,
  DELEM,
  FELEM,
  FELEM2,
  OUT 
)

Definition at line 31 of file resample_init.c.

◆ OUT [1/2]

#define OUT (   d,
 
)    d = v

Definition at line 101 of file resample_init.c.

◆ OUT [2/2]

#define OUT (   d,
 
)    (v) = ((v) + (1<<(14)))>>15; (d) = av_clip_int16(v)

Definition at line 101 of file resample_init.c.

Function Documentation

◆ swri_resample_dsp_aarch64_init()

av_cold void swri_resample_dsp_aarch64_init ( ResampleContext c)

Definition at line 105 of file resample_init.c.

Referenced by swri_resample_dsp_init().