JD2022-TU1/main/extern/libvpx/custom/vp8/common/optimisation_vecops.h

43 lines
1.3 KiB
C

/*
* Copyright (c) 2010 The WebM project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE 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.
*/
#pragma once
#ifndef _OPTIMISATION_VECOPS_H_
#define _OPTIMISATION_VECOPS_H_
#include "vpx_config.h"
//#define VECOPS_FORCE_USE_REFERENCE 0
// #if VECOPS_FORCE_USE_REFERENCE
// # define VECOPS_ENABLED
// # include "vp8/common/generic/optimisation_vecops_reference.h"
// using namespace VecOpsReference;
// #else
# if defined(DURANGO)
# define VECOPS_ENABLED
# include "vp8/common/durango/optimisation_vecops_durango.h"
# elif defined (_GAMING_XBOX_SCARLETT)
# define VECOPS_ENABLED
# include "vp8/common/scarlett/optimisation_vecops_scarlett.h"
# elif ARCH_XB360
# define VECOPS_ENABLED
# include "vp8/common/xb360/optimisation_vecops_xb360.h"
# elif defined(__SPU__)
# define VECOPS_ENABLED
# include "vp8/common/ps3/spu/optimisation_vecops_spu.h"
# elif defined(PS3) && !defined(__SPU__)
# define VECOPS_ENABLED
# include "vp8/common/ps3/ppu/optimisation_vecops_ppu.h"
# endif
// #endif
#endif // _OPTIMISATION_VECOPS_H_