Merge "dsp: normalize WEBP_TSAN_IGNORE_FUNCTION usage"

This commit is contained in:
pascal massimino 2015-02-14 01:57:08 -08:00 committed by Gerrit Code Review
commit 3ec404c47a
28 changed files with 46 additions and 46 deletions

View File

@ -282,7 +282,7 @@ static void MultRow(uint8_t* const ptr, const uint8_t* const alpha,
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// Init function // Init function
extern WEBP_TSAN_IGNORE_FUNCTION void WebPInitAlphaProcessingSSE2(void); extern void WebPInitAlphaProcessingSSE2(void);
WEBP_TSAN_IGNORE_FUNCTION void WebPInitAlphaProcessingSSE2(void) { WEBP_TSAN_IGNORE_FUNCTION void WebPInitAlphaProcessingSSE2(void) {
#if defined(WEBP_USE_SSE2) #if defined(WEBP_USE_SSE2)

View File

@ -98,7 +98,7 @@ static void PackRGB(const uint8_t* r, const uint8_t* g, const uint8_t* b,
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// Entry point // Entry point
extern WEBP_TSAN_IGNORE_FUNCTION void VP8EncDspARGBInitMIPSdspR2(void); extern void VP8EncDspARGBInitMIPSdspR2(void);
WEBP_TSAN_IGNORE_FUNCTION void VP8EncDspARGBInitMIPSdspR2(void) { WEBP_TSAN_IGNORE_FUNCTION void VP8EncDspARGBInitMIPSdspR2(void) {
#if defined(WEBP_USE_MIPS_DSP_R2) #if defined(WEBP_USE_MIPS_DSP_R2)

View File

@ -171,9 +171,9 @@ static void SetResidualCoeffs(const int16_t* const coeffs,
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// Entry point // Entry point
extern WEBP_TSAN_IGNORE_FUNCTION void VP8EncDspCostInitMIPS32(void); extern void VP8EncDspCostInitMIPS32(void);
void WEBP_TSAN_IGNORE_FUNCTION VP8EncDspCostInitMIPS32(void) { WEBP_TSAN_IGNORE_FUNCTION void VP8EncDspCostInitMIPS32(void) {
#if defined(WEBP_USE_MIPS32) #if defined(WEBP_USE_MIPS32)
VP8GetResidualCost = GetResidualCost; VP8GetResidualCost = GetResidualCost;
VP8SetResidualCoeffs = SetResidualCoeffs; VP8SetResidualCoeffs = SetResidualCoeffs;

View File

@ -101,9 +101,9 @@ static int GetResidualCost(int ctx0, const VP8Residual* const res) {
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// Entry point // Entry point
extern WEBP_TSAN_IGNORE_FUNCTION void VP8EncDspCostInitMIPSdspR2(void); extern void VP8EncDspCostInitMIPSdspR2(void);
void WEBP_TSAN_IGNORE_FUNCTION VP8EncDspCostInitMIPSdspR2(void) { WEBP_TSAN_IGNORE_FUNCTION void VP8EncDspCostInitMIPSdspR2(void) {
#if defined(WEBP_USE_MIPS_DSP_R2) #if defined(WEBP_USE_MIPS_DSP_R2)
VP8GetResidualCost = GetResidualCost; VP8GetResidualCost = GetResidualCost;
#endif // WEBP_USE_MIPS_DSP_R2 #endif // WEBP_USE_MIPS_DSP_R2

View File

@ -560,7 +560,7 @@ static void TransformTwo(const int16_t* in, uint8_t* dst, int do_two) {
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// Entry point // Entry point
extern WEBP_TSAN_IGNORE_FUNCTION void VP8DspInitMIPS32(void); extern void VP8DspInitMIPS32(void);
WEBP_TSAN_IGNORE_FUNCTION void VP8DspInitMIPS32(void) { WEBP_TSAN_IGNORE_FUNCTION void VP8DspInitMIPS32(void) {
#if defined(WEBP_USE_MIPS32) #if defined(WEBP_USE_MIPS32)

View File

@ -486,7 +486,7 @@ static void HFilter8i(uint8_t* u, uint8_t* v, int stride,
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// Entry point // Entry point
extern WEBP_TSAN_IGNORE_FUNCTION void VP8DspInitMIPSdspR2(void); extern void VP8DspInitMIPSdspR2(void);
WEBP_TSAN_IGNORE_FUNCTION void VP8DspInitMIPSdspR2(void) { WEBP_TSAN_IGNORE_FUNCTION void VP8DspInitMIPSdspR2(void) {
#if defined(WEBP_USE_MIPS_DSP_R2) #if defined(WEBP_USE_MIPS_DSP_R2)

View File

@ -1449,7 +1449,7 @@ static void TM8uv(uint8_t* dst) { TrueMotion(dst, 8); }
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// Entry point // Entry point
extern WEBP_TSAN_IGNORE_FUNCTION void VP8DspInitNEON(void); extern void VP8DspInitNEON(void);
WEBP_TSAN_IGNORE_FUNCTION void VP8DspInitNEON(void) { WEBP_TSAN_IGNORE_FUNCTION void VP8DspInitNEON(void) {
#if defined(WEBP_USE_NEON) #if defined(WEBP_USE_NEON)

View File

@ -1234,7 +1234,7 @@ static void DC8uvNoTopLeft(uint8_t* dst) { // DC with nothing
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// Entry point // Entry point
extern WEBP_TSAN_IGNORE_FUNCTION void VP8DspInitSSE2(void); extern void VP8DspInitSSE2(void);
WEBP_TSAN_IGNORE_FUNCTION void VP8DspInitSSE2(void) { WEBP_TSAN_IGNORE_FUNCTION void VP8DspInitSSE2(void) {
#if defined(WEBP_USE_SSE2) #if defined(WEBP_USE_SSE2)

View File

@ -174,7 +174,7 @@ void VP8LSetHistogramData(const int distribution[MAX_COEFF_THRESH + 1],
VP8Histogram* const histo); VP8Histogram* const histo);
// must be called before using any of the above // must be called before using any of the above
WEBP_TSAN_IGNORE_FUNCTION void VP8EncDspInit(void); void VP8EncDspInit(void);
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// cost functions (encoding) // cost functions (encoding)
@ -195,7 +195,7 @@ typedef int (*VP8GetResidualCostFunc)(int ctx0,
extern VP8GetResidualCostFunc VP8GetResidualCost; extern VP8GetResidualCostFunc VP8GetResidualCost;
// must be called before anything using the above // must be called before anything using the above
WEBP_TSAN_IGNORE_FUNCTION void VP8EncDspCostInit(void); void VP8EncDspCostInit(void);
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// Decoding // Decoding
@ -223,7 +223,7 @@ extern const int8_t* const VP8ksclip2; // clips [-112, 112] to [-16, 15]
extern const uint8_t* const VP8kclip1; // clips [-255,511] to [0,255] extern const uint8_t* const VP8kclip1; // clips [-255,511] to [0,255]
extern const uint8_t* const VP8kabs0; // abs(x) for x in [-255,255] extern const uint8_t* const VP8kabs0; // abs(x) for x in [-255,255]
// must be called first // must be called first
WEBP_TSAN_IGNORE_FUNCTION void VP8InitClipTables(void); void VP8InitClipTables(void);
// simple filter (only for luma) // simple filter (only for luma)
typedef void (*VP8SimpleFilterFunc)(uint8_t* p, int stride, int thresh); typedef void (*VP8SimpleFilterFunc)(uint8_t* p, int stride, int thresh);
@ -250,7 +250,7 @@ extern VP8ChromaFilterFunc VP8VFilter8i; // filtering u and v altogether
extern VP8ChromaFilterFunc VP8HFilter8i; extern VP8ChromaFilterFunc VP8HFilter8i;
// must be called before anything using the above // must be called before anything using the above
WEBP_TSAN_IGNORE_FUNCTION void VP8DspInit(void); void VP8DspInit(void);
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// WebP I/O // WebP I/O
@ -299,11 +299,11 @@ extern WebPYUV444Converter WebPYUV444Converters[/* MODE_LAST */];
// Must be called before using the WebPUpsamplers[] (and for premultiplied // Must be called before using the WebPUpsamplers[] (and for premultiplied
// colorspaces like rgbA, rgbA4444, etc) // colorspaces like rgbA, rgbA4444, etc)
WEBP_TSAN_IGNORE_FUNCTION void WebPInitUpsamplers(void); void WebPInitUpsamplers(void);
// Must be called before using WebPSamplers[] // Must be called before using WebPSamplers[]
WEBP_TSAN_IGNORE_FUNCTION void WebPInitSamplers(void); void WebPInitSamplers(void);
// Must be called before using WebPYUV444Converters[] // Must be called before using WebPYUV444Converters[]
WEBP_TSAN_IGNORE_FUNCTION void WebPInitYUV444Converters(void); void WebPInitYUV444Converters(void);
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// Rescaler // Rescaler
@ -322,7 +322,7 @@ extern void (*WebPRescalerExportRow)(struct WebPRescaler* const wrk, int x_out);
extern void WebPRescalerExportRowC(struct WebPRescaler* const wrk, int x_out); extern void WebPRescalerExportRowC(struct WebPRescaler* const wrk, int x_out);
// Must be called first before using the above. // Must be called first before using the above.
WEBP_TSAN_IGNORE_FUNCTION void WebPRescalerDspInit(void); void WebPRescalerDspInit(void);
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// Utilities for processing transparent channel. // Utilities for processing transparent channel.
@ -380,7 +380,7 @@ void WebPMultRowC(uint8_t* const ptr, const uint8_t* const alpha,
void WebPMultARGBRowC(uint32_t* const ptr, int width, int inverse); void WebPMultARGBRowC(uint32_t* const ptr, int width, int inverse);
// To be called first before using the above. // To be called first before using the above.
WEBP_TSAN_IGNORE_FUNCTION void WebPInitAlphaProcessing(void); void WebPInitAlphaProcessing(void);
// ARGB packing function: a/r/g/b input is rgba or bgra order. // ARGB packing function: a/r/g/b input is rgba or bgra order.
extern void (*VP8PackARGB)(const uint8_t* a, const uint8_t* r, extern void (*VP8PackARGB)(const uint8_t* a, const uint8_t* r,
@ -392,7 +392,7 @@ extern void (*VP8PackRGB)(const uint8_t* r, const uint8_t* g, const uint8_t* b,
int len, int step, uint32_t* out); int len, int step, uint32_t* out);
// To be called first before using the above. // To be called first before using the above.
WEBP_TSAN_IGNORE_FUNCTION void VP8EncDspARGBInit(void); void VP8EncDspARGBInit(void);
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// Filter functions // Filter functions
@ -425,7 +425,7 @@ extern WebPFilterFunc WebPFilters[WEBP_FILTER_LAST];
extern WebPUnfilterFunc WebPUnfilters[WEBP_FILTER_LAST]; extern WebPUnfilterFunc WebPUnfilters[WEBP_FILTER_LAST];
// To be called first before using the above. // To be called first before using the above.
WEBP_TSAN_IGNORE_FUNCTION void VP8FiltersInit(void); void VP8FiltersInit(void);
#ifdef __cplusplus #ifdef __cplusplus
} // extern "C" } // extern "C"

View File

@ -650,7 +650,7 @@ static int SSE4x4(const uint8_t* a, const uint8_t* b) {
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// Entry point // Entry point
extern WEBP_TSAN_IGNORE_FUNCTION void VP8EncDspInitMIPS32(void); extern void VP8EncDspInitMIPS32(void);
WEBP_TSAN_IGNORE_FUNCTION void VP8EncDspInitMIPS32(void) { WEBP_TSAN_IGNORE_FUNCTION void VP8EncDspInitMIPS32(void) {
#if defined(WEBP_USE_MIPS32) #if defined(WEBP_USE_MIPS32)

View File

@ -1485,7 +1485,7 @@ static void CollectHistogram(const uint8_t* ref, const uint8_t* pred,
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// Entry point // Entry point
extern WEBP_TSAN_IGNORE_FUNCTION void VP8EncDspInitMIPSdspR2(void); extern void VP8EncDspInitMIPSdspR2(void);
WEBP_TSAN_IGNORE_FUNCTION void VP8EncDspInitMIPSdspR2(void) { WEBP_TSAN_IGNORE_FUNCTION void VP8EncDspInitMIPSdspR2(void) {
#if defined(WEBP_USE_MIPS_DSP_R2) #if defined(WEBP_USE_MIPS_DSP_R2)

View File

@ -907,7 +907,7 @@ static int Quantize2Blocks(int16_t in[32], int16_t out[32],
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// Entry point // Entry point
extern WEBP_TSAN_IGNORE_FUNCTION void VP8EncDspInitNEON(void); extern void VP8EncDspInitNEON(void);
WEBP_TSAN_IGNORE_FUNCTION void VP8EncDspInitNEON(void) { WEBP_TSAN_IGNORE_FUNCTION void VP8EncDspInitNEON(void) {
#if defined(WEBP_USE_NEON) #if defined(WEBP_USE_NEON)

View File

@ -946,7 +946,7 @@ void VP8SetResidualCoeffsSSE2(const int16_t* const coeffs,
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// Entry point // Entry point
extern WEBP_TSAN_IGNORE_FUNCTION void VP8EncDspInitSSE2(void); extern void VP8EncDspInitSSE2(void);
WEBP_TSAN_IGNORE_FUNCTION void VP8EncDspInitSSE2(void) { WEBP_TSAN_IGNORE_FUNCTION void VP8EncDspInitSSE2(void) {
#if defined(WEBP_USE_SSE2) #if defined(WEBP_USE_SSE2)

View File

@ -401,7 +401,7 @@ static void HistogramAdd(const VP8LHistogram* const a,
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// Entry point // Entry point
extern WEBP_TSAN_IGNORE_FUNCTION void VP8LDspInitMIPS32(void); extern void VP8LDspInitMIPS32(void);
WEBP_TSAN_IGNORE_FUNCTION void VP8LDspInitMIPS32(void) { WEBP_TSAN_IGNORE_FUNCTION void VP8LDspInitMIPS32(void) {
#if defined(WEBP_USE_MIPS32) #if defined(WEBP_USE_MIPS32)

View File

@ -589,7 +589,7 @@ static void TransformColorInverse(const VP8LMultipliers* const m,
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
extern WEBP_TSAN_IGNORE_FUNCTION void VP8LDspInitMIPSdspR2(void); extern void VP8LDspInitMIPSdspR2(void);
WEBP_TSAN_IGNORE_FUNCTION void VP8LDspInitMIPSdspR2(void) { WEBP_TSAN_IGNORE_FUNCTION void VP8LDspInitMIPSdspR2(void) {
#if defined(WEBP_USE_MIPS_DSP_R2) #if defined(WEBP_USE_MIPS_DSP_R2)

View File

@ -327,7 +327,7 @@ static void AddGreenToBlueAndRed(uint32_t* argb_data, int num_pixels) {
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
extern WEBP_TSAN_IGNORE_FUNCTION void VP8LDspInitNEON(void); extern void VP8LDspInitNEON(void);
WEBP_TSAN_IGNORE_FUNCTION void VP8LDspInitNEON(void) { WEBP_TSAN_IGNORE_FUNCTION void VP8LDspInitNEON(void) {
#if defined(WEBP_USE_NEON) #if defined(WEBP_USE_NEON)

View File

@ -503,7 +503,7 @@ static void HistogramAdd(const VP8LHistogram* const a,
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
extern WEBP_TSAN_IGNORE_FUNCTION void VP8LDspInitSSE2(void); extern void VP8LDspInitSSE2(void);
WEBP_TSAN_IGNORE_FUNCTION void VP8LDspInitSSE2(void) { WEBP_TSAN_IGNORE_FUNCTION void VP8LDspInitSSE2(void) {
#if defined(WEBP_USE_SSE2) #if defined(WEBP_USE_SSE2)

View File

@ -182,7 +182,7 @@ static void ExportRow(WebPRescaler* const wrk, int x_out) {
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// Entry point // Entry point
extern WEBP_TSAN_IGNORE_FUNCTION void WebPRescalerDspInitMIPS32(void); extern void WebPRescalerDspInitMIPS32(void);
WEBP_TSAN_IGNORE_FUNCTION void WebPRescalerDspInitMIPS32(void) { WEBP_TSAN_IGNORE_FUNCTION void WebPRescalerDspInitMIPS32(void) {
#if defined(WEBP_USE_MIPS32) #if defined(WEBP_USE_MIPS32)

View File

@ -200,7 +200,7 @@ static void ExportRow(WebPRescaler* const wrk, int x_out) {
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// Entry point // Entry point
extern WEBP_TSAN_IGNORE_FUNCTION void WebPRescalerDspInitMIPSdspR2(void); extern void WebPRescalerDspInitMIPSdspR2(void);
WEBP_TSAN_IGNORE_FUNCTION void WebPRescalerDspInitMIPSdspR2(void) { WEBP_TSAN_IGNORE_FUNCTION void WebPRescalerDspInitMIPSdspR2(void) {
#if defined(WEBP_USE_MIPS_DSP_R2) #if defined(WEBP_USE_MIPS_DSP_R2)

View File

@ -171,7 +171,7 @@ YUV444_FUNC(Yuv444ToRgb565, VP8YuvToRgb565, 2)
WebPYUV444Converter WebPYUV444Converters[MODE_LAST]; WebPYUV444Converter WebPYUV444Converters[MODE_LAST];
extern WEBP_TSAN_IGNORE_FUNCTION void WebPInitYUV444ConvertersMIPSdspR2(void); extern void WebPInitYUV444ConvertersMIPSdspR2(void);
static volatile VP8CPUInfo upsampling_last_cpuinfo_used1 = static volatile VP8CPUInfo upsampling_last_cpuinfo_used1 =
(VP8CPUInfo)&upsampling_last_cpuinfo_used1; (VP8CPUInfo)&upsampling_last_cpuinfo_used1;
@ -204,9 +204,9 @@ WEBP_TSAN_IGNORE_FUNCTION void WebPInitYUV444Converters(void) {
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// Main calls // Main calls
extern WEBP_TSAN_IGNORE_FUNCTION void WebPInitUpsamplersSSE2(void); extern void WebPInitUpsamplersSSE2(void);
extern WEBP_TSAN_IGNORE_FUNCTION void WebPInitUpsamplersNEON(void); extern void WebPInitUpsamplersNEON(void);
extern WEBP_TSAN_IGNORE_FUNCTION void WebPInitUpsamplersMIPSdspR2(void); extern void WebPInitUpsamplersMIPSdspR2(void);
static volatile VP8CPUInfo upsampling_last_cpuinfo_used2 = static volatile VP8CPUInfo upsampling_last_cpuinfo_used2 =
(VP8CPUInfo)&upsampling_last_cpuinfo_used2; (VP8CPUInfo)&upsampling_last_cpuinfo_used2;

View File

@ -215,7 +215,7 @@ UPSAMPLE_FUNC(UpsampleRgb565LinePair, YuvToRgb565, 2)
#endif // WEBP_USE_MIPS_DSP_R2 #endif // WEBP_USE_MIPS_DSP_R2
extern WEBP_TSAN_IGNORE_FUNCTION void WebPInitUpsamplersMIPSdspR2(void); extern void WebPInitUpsamplersMIPSdspR2(void);
WEBP_TSAN_IGNORE_FUNCTION void WebPInitUpsamplersMIPSdspR2(void) { WEBP_TSAN_IGNORE_FUNCTION void WebPInitUpsamplersMIPSdspR2(void) {
#if defined(WEBP_USE_MIPS_DSP_R2) #if defined(WEBP_USE_MIPS_DSP_R2)
@ -259,7 +259,7 @@ YUV444_FUNC(Yuv444ToRgb565, YuvToRgb565, 2)
#endif // WEBP_USE_MIPS_DSP_R2 #endif // WEBP_USE_MIPS_DSP_R2
extern WEBP_TSAN_IGNORE_FUNCTION void WebPInitYUV444ConvertersMIPSdspR2(void); extern void WebPInitYUV444ConvertersMIPSdspR2(void);
WEBP_TSAN_IGNORE_FUNCTION void WebPInitYUV444ConvertersMIPSdspR2(void) { WEBP_TSAN_IGNORE_FUNCTION void WebPInitYUV444ConvertersMIPSdspR2(void) {
#if defined(WEBP_USE_MIPS_DSP_R2) #if defined(WEBP_USE_MIPS_DSP_R2)

View File

@ -242,7 +242,7 @@ NEON_UPSAMPLE_FUNC(UpsampleBgraLinePair, Bgra, 4)
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
extern WEBP_TSAN_IGNORE_FUNCTION void WebPInitUpsamplersNEON(void); extern void WebPInitUpsamplersNEON(void);
#ifdef FANCY_UPSAMPLING #ifdef FANCY_UPSAMPLING

View File

@ -188,7 +188,7 @@ SSE2_UPSAMPLE_FUNC(UpsampleBgraLinePair, VP8YuvToBgra, 4)
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
extern WEBP_TSAN_IGNORE_FUNCTION void WebPInitUpsamplersSSE2(void); extern void WebPInitUpsamplersSSE2(void);
#ifdef FANCY_UPSAMPLING #ifdef FANCY_UPSAMPLING

View File

@ -120,9 +120,9 @@ void WebPSamplerProcessPlane(const uint8_t* y, int y_stride,
WebPSamplerRowFunc WebPSamplers[MODE_LAST]; WebPSamplerRowFunc WebPSamplers[MODE_LAST];
extern WEBP_TSAN_IGNORE_FUNCTION void WebPInitSamplersSSE2(void); extern void WebPInitSamplersSSE2(void);
extern WEBP_TSAN_IGNORE_FUNCTION void WebPInitSamplersMIPS32(void); extern void WebPInitSamplersMIPS32(void);
extern WEBP_TSAN_IGNORE_FUNCTION void WebPInitSamplersMIPSdspR2(void); extern void WebPInitSamplersMIPSdspR2(void);
static volatile VP8CPUInfo yuv_last_cpuinfo_used = static volatile VP8CPUInfo yuv_last_cpuinfo_used =
(VP8CPUInfo)&yuv_last_cpuinfo_used; (VP8CPUInfo)&yuv_last_cpuinfo_used;

View File

@ -238,7 +238,7 @@ static WEBP_INLINE void VP8YuvToRgba(uint8_t y, uint8_t u, uint8_t v,
} }
// Must be called before everything, to initialize the tables. // Must be called before everything, to initialize the tables.
WEBP_TSAN_IGNORE_FUNCTION void VP8YUVInit(void); void VP8YUVInit(void);
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// SSE2 extra functions (mostly for upsampling_sse2.c) // SSE2 extra functions (mostly for upsampling_sse2.c)

View File

@ -88,7 +88,7 @@ ROW_FUNC(YuvToBgraRow, 4, 2, 1, 0, 3)
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
extern WEBP_TSAN_IGNORE_FUNCTION void WebPInitSamplersMIPS32(void); extern void WebPInitSamplersMIPS32(void);
WEBP_TSAN_IGNORE_FUNCTION void WebPInitSamplersMIPS32(void) { WEBP_TSAN_IGNORE_FUNCTION void WebPInitSamplersMIPS32(void) {
#if defined(WEBP_USE_MIPS32) #if defined(WEBP_USE_MIPS32)

View File

@ -119,7 +119,7 @@ ROW_FUNC(YuvToBgraRow, 4, 2, 1, 0, 3)
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
extern WEBP_TSAN_IGNORE_FUNCTION void WebPInitSamplersMIPSdspR2(void); extern void WebPInitSamplersMIPSdspR2(void);
WEBP_TSAN_IGNORE_FUNCTION void WebPInitSamplersMIPSdspR2(void) { WEBP_TSAN_IGNORE_FUNCTION void WebPInitSamplersMIPSdspR2(void) {
#if defined(WEBP_USE_MIPS_DSP_R2) #if defined(WEBP_USE_MIPS_DSP_R2)

View File

@ -309,7 +309,7 @@ static void YuvToBgrRowSSE2(const uint8_t* y,
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// Entry point // Entry point
extern WEBP_TSAN_IGNORE_FUNCTION void WebPInitSamplersSSE2(void); extern void WebPInitSamplersSSE2(void);
WEBP_TSAN_IGNORE_FUNCTION void WebPInitSamplersSSE2(void) { WEBP_TSAN_IGNORE_FUNCTION void WebPInitSamplersSSE2(void) {
#if defined(WEBP_USE_SSE2) #if defined(WEBP_USE_SSE2)