webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Functions
vector_scaling_operations.c File Reference
#include "webrtc/common_audio/signal_processing/include/signal_processing_library.h"

Functions

void WebRtcSpl_VectorBitShiftW16 (int16_t *res, size_t length, const int16_t *in, int16_t right_shifts)
 
void WebRtcSpl_VectorBitShiftW32 (int32_t *out_vector, size_t vector_length, const int32_t *in_vector, int16_t right_shifts)
 
void WebRtcSpl_VectorBitShiftW32ToW16 (int16_t *out, size_t length, const int32_t *in, int right_shifts)
 
void WebRtcSpl_ScaleVector (const int16_t *in_vector, int16_t *out_vector, int16_t gain, size_t in_vector_length, int16_t right_shifts)
 
void WebRtcSpl_ScaleVectorWithSat (const int16_t *in_vector, int16_t *out_vector, int16_t gain, size_t in_vector_length, int16_t right_shifts)
 
void WebRtcSpl_ScaleAndAddVectors (const int16_t *in1, int16_t gain1, int shift1, const int16_t *in2, int16_t gain2, int shift2, int16_t *out, size_t vector_length)
 
int WebRtcSpl_ScaleAndAddVectorsWithRoundC (const int16_t *in_vector1, int16_t in_vector1_scale, const int16_t *in_vector2, int16_t in_vector2_scale, int right_shifts, int16_t *out_vector, size_t length)
 

Function Documentation

◆ WebRtcSpl_ScaleAndAddVectors()

void WebRtcSpl_ScaleAndAddVectors ( const int16_t in1,
int16_t  gain1,
int  shift1,
const int16_t in2,
int16_t  gain2,
int  shift2,
int16_t out,
size_t  vector_length 
)

◆ WebRtcSpl_ScaleAndAddVectorsWithRoundC()

int WebRtcSpl_ScaleAndAddVectorsWithRoundC ( const int16_t in_vector1,
int16_t  in_vector1_scale,
const int16_t in_vector2,
int16_t  in_vector2_scale,
int  right_shifts,
int16_t out_vector,
size_t  length 
)

◆ WebRtcSpl_ScaleVector()

void WebRtcSpl_ScaleVector ( const int16_t in_vector,
int16_t out_vector,
int16_t  gain,
size_t  in_vector_length,
int16_t  right_shifts 
)

◆ WebRtcSpl_ScaleVectorWithSat()

void WebRtcSpl_ScaleVectorWithSat ( const int16_t in_vector,
int16_t out_vector,
int16_t  gain,
size_t  in_vector_length,
int16_t  right_shifts 
)

◆ WebRtcSpl_VectorBitShiftW16()

void WebRtcSpl_VectorBitShiftW16 ( int16_t res,
size_t  length,
const int16_t in,
int16_t  right_shifts 
)

◆ WebRtcSpl_VectorBitShiftW32()

void WebRtcSpl_VectorBitShiftW32 ( int32_t out_vector,
size_t  vector_length,
const int32_t in_vector,
int16_t  right_shifts 
)

◆ WebRtcSpl_VectorBitShiftW32ToW16()

void WebRtcSpl_VectorBitShiftW32ToW16 ( int16_t out,
size_t  length,
const int32_t in,
int  right_shifts 
)