mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-03 09:01:52 -05:00
dmix: rename mix_areas*
Rename all mix_areas* symbols so that they contain the sample width instead of some meaningless number.
This commit is contained in:
parent
de2b7a42d7
commit
79db4a6bfa
7 changed files with 159 additions and 144 deletions
|
|
@ -30,10 +30,10 @@
|
|||
/*
|
||||
* MMX optimized
|
||||
*/
|
||||
static void MIX_AREAS1(unsigned int size,
|
||||
volatile signed short *dst, signed short *src,
|
||||
volatile signed int *sum, size_t dst_step,
|
||||
size_t src_step, size_t sum_step)
|
||||
static void MIX_AREAS_16(unsigned int size,
|
||||
volatile signed short *dst, signed short *src,
|
||||
volatile signed int *sum, size_t dst_step,
|
||||
size_t src_step, size_t sum_step)
|
||||
{
|
||||
unsigned long long old_rbx;
|
||||
|
||||
|
|
@ -125,10 +125,10 @@ static void MIX_AREAS1(unsigned int size,
|
|||
/*
|
||||
* 32-bit version (24-bit resolution)
|
||||
*/
|
||||
static void MIX_AREAS2(unsigned int size,
|
||||
volatile signed int *dst, signed int *src,
|
||||
volatile signed int *sum, size_t dst_step,
|
||||
size_t src_step, size_t sum_step)
|
||||
static void MIX_AREAS_32(unsigned int size,
|
||||
volatile signed int *dst, signed int *src,
|
||||
volatile signed int *sum, size_t dst_step,
|
||||
size_t src_step, size_t sum_step)
|
||||
{
|
||||
unsigned long long old_rbx;
|
||||
|
||||
|
|
@ -240,10 +240,10 @@ static void MIX_AREAS2(unsigned int size,
|
|||
/*
|
||||
* 24-bit version
|
||||
*/
|
||||
static void MIX_AREAS3(unsigned int size,
|
||||
volatile unsigned char *dst, unsigned char *src,
|
||||
volatile signed int *sum, size_t dst_step,
|
||||
size_t src_step, size_t sum_step)
|
||||
static void MIX_AREAS_24(unsigned int size,
|
||||
volatile unsigned char *dst, unsigned char *src,
|
||||
volatile signed int *sum, size_t dst_step,
|
||||
size_t src_step, size_t sum_step)
|
||||
{
|
||||
unsigned long long old_rbx;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue