chromium/third_party/libaom/source/libaom/aom_dsp/x86/convolve_sse2.h

/*
 * Copyright (c) 2018, Alliance for Open Media. All rights reserved.
 *
 * This source code is subject to the terms of the BSD 2 Clause License and
 * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
 * was not distributed with this source code in the LICENSE file, you can
 * obtain it at www.aomedia.org/license/software. If the Alliance for Open
 * Media Patent License 1.0 was not distributed with this source code in the
 * PATENTS file, you can obtain it at www.aomedia.org/license/patent.
 */

#ifndef AOM_AOM_DSP_X86_CONVOLVE_SSE2_H_
#define AOM_AOM_DSP_X86_CONVOLVE_SSE2_H_

#include "config/aom_scale_rtcd.h"

// Note:
//  This header file should be put below any x86 intrinsics head file
static inline void prepare_coeffs(const InterpFilterParams *const filter_params,
                                  const int subpel_q4,
                                  __m128i *const coeffs /* [4] */) {}

static inline __m128i convolve(const __m128i *const s,
                               const __m128i *const coeffs) {}

static inline __m128i convolve_lo_x(const __m128i *const s,
                                    const __m128i *const coeffs) {}

static inline __m128i convolve_lo_y(const __m128i *const s,
                                    const __m128i *const coeffs) {}

static inline __m128i convolve_hi_y(const __m128i *const s,
                                    const __m128i *const coeffs) {}

static inline __m128i comp_avg(const __m128i *const data_ref_0,
                               const __m128i *const res_unsigned,
                               const __m128i *const wt,
                               const int use_dist_wtd_avg) {}

static inline __m128i convolve_rounding(const __m128i *const res_unsigned,
                                        const __m128i *const offset_const,
                                        const __m128i *const round_const,
                                        const int round_shift) {}

static inline __m128i highbd_convolve_rounding_sse2(
    const __m128i *const res_unsigned, const __m128i *const offset_const,
    const __m128i *const round_const, const int round_shift) {}

#endif  // AOM_AOM_DSP_X86_CONVOLVE_SSE2_H_