mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-13 06:24:27 +02:00
make use of 'extern' consistent in function declarations
Change-Id: I18e050db3111e52acfe97da09cdf1860f3e15936
This commit is contained in:
@ -89,8 +89,8 @@ static WEBP_INLINE uint32_t VP8LSubSampleSize(uint32_t size,
|
||||
#define LOG_LOOKUP_IDX_MAX 256
|
||||
extern const float kLog2Table[LOG_LOOKUP_IDX_MAX];
|
||||
extern const float kSLog2Table[LOG_LOOKUP_IDX_MAX];
|
||||
extern float VP8LFastLog2Slow(int v);
|
||||
extern float VP8LFastSLog2Slow(int v);
|
||||
float VP8LFastLog2Slow(int v);
|
||||
float VP8LFastSLog2Slow(int v);
|
||||
static WEBP_INLINE float VP8LFastLog2(int v) {
|
||||
return (v < LOG_LOOKUP_IDX_MAX) ? kLog2Table[v] : VP8LFastLog2Slow(v);
|
||||
}
|
||||
|
@ -245,20 +245,20 @@ void VP8YUVInit(void);
|
||||
|
||||
#if defined(WEBP_USE_SSE2)
|
||||
|
||||
#ifdef FANCY_UPSAMPLING
|
||||
#if defined(FANCY_UPSAMPLING)
|
||||
// Process 32 pixels and store the result (24b or 32b per pixel) in *dst.
|
||||
extern void VP8YuvToRgba32(const uint8_t* y, const uint8_t* u, const uint8_t* v,
|
||||
uint8_t* dst);
|
||||
extern void VP8YuvToRgb32(const uint8_t* y, const uint8_t* u, const uint8_t* v,
|
||||
uint8_t* dst);
|
||||
extern void VP8YuvToBgra32(const uint8_t* y, const uint8_t* u, const uint8_t* v,
|
||||
uint8_t* dst);
|
||||
extern void VP8YuvToBgr32(const uint8_t* y, const uint8_t* u, const uint8_t* v,
|
||||
uint8_t* dst);
|
||||
void VP8YuvToRgba32(const uint8_t* y, const uint8_t* u, const uint8_t* v,
|
||||
uint8_t* dst);
|
||||
void VP8YuvToRgb32(const uint8_t* y, const uint8_t* u, const uint8_t* v,
|
||||
uint8_t* dst);
|
||||
void VP8YuvToBgra32(const uint8_t* y, const uint8_t* u, const uint8_t* v,
|
||||
uint8_t* dst);
|
||||
void VP8YuvToBgr32(const uint8_t* y, const uint8_t* u, const uint8_t* v,
|
||||
uint8_t* dst);
|
||||
#endif // FANCY_UPSAMPLING
|
||||
|
||||
// Must be called to initialize tables before using the functions.
|
||||
extern void VP8YUVInitSSE2(void);
|
||||
void VP8YUVInitSSE2(void);
|
||||
|
||||
#endif // WEBP_USE_SSE2
|
||||
|
||||
|
Reference in New Issue
Block a user