Browse Source

memops: Remove not used conversion macros

Signed-off-by: Timo Wischer <twischer@de.adit-jv.com>
tags/v1.9.13
Timo Wischer Filipe Coelho <falktx@falktx.com> 6 years ago
parent
commit
a82f3f2fb4
1 changed files with 0 additions and 23 deletions
  1. +0
    -23
      common/memops.c

+ 0
- 23
common/memops.c View File

@@ -137,17 +137,6 @@
(d) = f_round ((s) * SAMPLE_24BIT_SCALING);\
}

/* call this when "s" has already been scaled (e.g. when dithering)
*/

#define float_24u32_scaled(s, d)\
if ((s) <= SAMPLE_24BIT_MIN_F) {\
(d) = SAMPLE_24BIT_MIN << 8;\
} else if ((s) >= SAMPLE_24BIT_MAX_F) { \
(d) = SAMPLE_24BIT_MAX << 8; \
} else {\
(d) = f_round ((s)) << 8; \
}

#define float_24(s, d) \
if ((s) <= NORMALIZED_FLOAT_MIN) {\
@@ -158,18 +147,6 @@
(d) = f_round ((s) * SAMPLE_24BIT_SCALING);\
}

/* call this when "s" has already been scaled (e.g. when dithering)
*/

#define float_24_scaled(s, d)\
if ((s) <= SAMPLE_24BIT_MIN_F) {\
(d) = SAMPLE_24BIT_MIN;\
} else if ((s) >= SAMPLE_24BIT_MAX_F) { \
(d) = SAMPLE_24BIT_MAX; \
} else {\
(d) = f_round ((s)); \
}


#if defined (__SSE2__) && !defined (__sun__)



Loading…
Cancel
Save