mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
remove some inlining directives
This commit is contained in:
@@ -54,7 +54,7 @@ typedef struct {
|
||||
FLAC__int32 random;
|
||||
} dither_state;
|
||||
|
||||
static FLaC__INLINE FLAC__int32 linear_dither(unsigned source_bps, unsigned target_bps, FLAC__int32 sample, dither_state *dither, const FLAC__int32 MIN, const FLAC__int32 MAX)
|
||||
static FLAC__int32 linear_dither(unsigned source_bps, unsigned target_bps, FLAC__int32 sample, dither_state *dither, const FLAC__int32 MIN, const FLAC__int32 MAX)
|
||||
{
|
||||
unsigned scalebits;
|
||||
FLAC__int32 output, mask, random;
|
||||
|
||||
@@ -48,7 +48,7 @@ static FLaC__INLINE size_t local__wide_strlen(const FLAC__uint16 *s)
|
||||
* and a more clear explanation at the end of this section:
|
||||
* http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
|
||||
*/
|
||||
static FLaC__INLINE size_t local__utf8len(const FLAC__byte *utf8)
|
||||
static size_t local__utf8len(const FLAC__byte *utf8)
|
||||
{
|
||||
FLAC__ASSERT(0 != utf8);
|
||||
if ((utf8[0] & 0x80) == 0) {
|
||||
@@ -90,7 +90,7 @@ static FLaC__INLINE size_t local__utf8len(const FLAC__byte *utf8)
|
||||
}
|
||||
|
||||
|
||||
static FLaC__INLINE size_t local__utf8_to_ucs2(const FLAC__byte *utf8, FLAC__uint16 *ucs2)
|
||||
static size_t local__utf8_to_ucs2(const FLAC__byte *utf8, FLAC__uint16 *ucs2)
|
||||
{
|
||||
const size_t len = local__utf8len(utf8);
|
||||
|
||||
@@ -155,7 +155,7 @@ static FLaC__INLINE size_t local__ucs2len(FLAC__uint16 ucs2)
|
||||
return 3;
|
||||
}
|
||||
|
||||
static FLaC__INLINE size_t local__ucs2_to_utf8(FLAC__uint16 ucs2, FLAC__byte *utf8)
|
||||
static size_t local__ucs2_to_utf8(FLAC__uint16 ucs2, FLAC__byte *utf8)
|
||||
{
|
||||
if (ucs2 < 0x080) {
|
||||
utf8[0] = (FLAC__byte)ucs2;
|
||||
|
||||
Reference in New Issue
Block a user