Merge "dsp/mips: add some missing TSan annotations"

This commit is contained in:
James Zern 2015-02-12 14:55:32 -08:00 committed by Gerrit Code Review
commit 3030f11525
2 changed files with 2 additions and 2 deletions

View File

@ -131,7 +131,7 @@ static void MultARGBRow(uint32_t* const ptr, int width, int inverse) {
extern void WebPInitAlphaProcessingMIPSdspR2(void); extern void WebPInitAlphaProcessingMIPSdspR2(void);
void WebPInitAlphaProcessingMIPSdspR2(void) { WEBP_TSAN_IGNORE_FUNCTION void WebPInitAlphaProcessingMIPSdspR2(void) {
#if defined(WEBP_USE_MIPS_DSP_R2) #if defined(WEBP_USE_MIPS_DSP_R2)
WebPDispatchAlpha = DispatchAlpha; WebPDispatchAlpha = DispatchAlpha;
WebPMultARGBRow = MultARGBRow; WebPMultARGBRow = MultARGBRow;

View File

@ -389,7 +389,7 @@ static void GradientUnfilter(int width, int height, int stride, int row,
extern void VP8FiltersInitMIPSdspR2(void); extern void VP8FiltersInitMIPSdspR2(void);
void VP8FiltersInitMIPSdspR2(void) { WEBP_TSAN_IGNORE_FUNCTION void VP8FiltersInitMIPSdspR2(void) {
#if defined(WEBP_USE_MIPS_DSP_R2) #if defined(WEBP_USE_MIPS_DSP_R2)
WebPFilters[WEBP_FILTER_HORIZONTAL] = HorizontalFilter; WebPFilters[WEBP_FILTER_HORIZONTAL] = HorizontalFilter;
WebPFilters[WEBP_FILTER_VERTICAL] = VerticalFilter; WebPFilters[WEBP_FILTER_VERTICAL] = VerticalFilter;