// Copyright 2021 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. // ----------------------------------------------------------------------------- // // SSE41 variant of methods for lossless decoder #include "src/dsp/dsp.h" #if defined(WEBP_USE_SSE41) #include "src/dsp/common_sse41.h" #include "src/dsp/lossless.h" #include "src/dsp/lossless_common.h" //------------------------------------------------------------------------------ // Color-space conversion functions static void TransformColorInverse_SSE41(const VP8LMultipliers* const m, const uint32_t* const src, int num_pixels, uint32_t* dst) { … } //------------------------------------------------------------------------------ #define ARGB_TO_RGB_SSE41 … static void ConvertBGRAToRGB_SSE41(const uint32_t* src, int num_pixels, uint8_t* dst) { … } static void ConvertBGRAToBGR_SSE41(const uint32_t* src, int num_pixels, uint8_t* dst) { … } #undef ARGB_TO_RGB_SSE41 //------------------------------------------------------------------------------ // Entry point extern void VP8LDspInitSSE41(void); WEBP_TSAN_IGNORE_FUNCTION void VP8LDspInitSSE41(void) { … } #else // !WEBP_USE_SSE41 WEBP_DSP_INIT_STUB(VP8LDspInitSSE41) #endif // WEBP_USE_SSE41