// Copyright 2015 Google Inc. All Rights Reserved. // // Use of this source code is governed by a BSD-style license // that can be found in the COPYING file in the root of the source // tree. An additional intellectual property rights grant can be found // in the file PATENTS. All contributing project authors may // be found in the AUTHORS file in the root of the source tree. // ----------------------------------------------------------------------------- // // Utilities for processing transparent channel, SSE4.1 variant. // // Author: Skal ([email protected]) #include "src/dsp/dsp.h" #if defined(WEBP_USE_SSE41) #include <smmintrin.h> //------------------------------------------------------------------------------ static int ExtractAlpha_SSE41(const uint8_t* WEBP_RESTRICT argb, int argb_stride, int width, int height, uint8_t* WEBP_RESTRICT alpha, int alpha_stride) { … } //------------------------------------------------------------------------------ // Entry point extern void WebPInitAlphaProcessingSSE41(void); WEBP_TSAN_IGNORE_FUNCTION void WebPInitAlphaProcessingSSE41(void) { … } #else // !WEBP_USE_SSE41 WEBP_DSP_INIT_STUB(WebPInitAlphaProcessingSSE41) #endif // WEBP_USE_SSE41