Path: blob/master/thirdparty/libwebp/sharpyuv/sharpyuv_dsp.h
9898 views
// Copyright 2022 Google Inc. All Rights Reserved.1//2// Use of this source code is governed by a BSD-style license3// that can be found in the COPYING file in the root of the source4// tree. An additional intellectual property rights grant can be found5// in the file PATENTS. All contributing project authors may6// be found in the AUTHORS file in the root of the source tree.7// -----------------------------------------------------------------------------8//9// Speed-critical functions for Sharp YUV.1011#ifndef WEBP_SHARPYUV_SHARPYUV_DSP_H_12#define WEBP_SHARPYUV_SHARPYUV_DSP_H_1314#include "sharpyuv/sharpyuv_cpu.h"15#include "src/webp/types.h"1617extern uint64_t (*SharpYuvUpdateY)(const uint16_t* src, const uint16_t* ref,18uint16_t* dst, int len, int bit_depth);19extern void (*SharpYuvUpdateRGB)(const int16_t* src, const int16_t* ref,20int16_t* dst, int len);21extern void (*SharpYuvFilterRow)(const int16_t* A, const int16_t* B, int len,22const uint16_t* best_y, uint16_t* out,23int bit_depth);2425void SharpYuvInitDsp(void);2627#endif // WEBP_SHARPYUV_SHARPYUV_DSP_H_282930