MNN/source/backend/cpu/compute/ResizeFunction.h

33 lines
1.2 KiB
C
Raw Normal View History

2019-04-17 10:49:11 +08:00
//
// ResizeFunction.h
// MNN
//
// Created by MNN on 2018/07/23.
// Copyright © 2018, Alibaba Group Holding Limited
//
#ifndef ResizeFunction_h
#define ResizeFunction_h
#include <stdint.h>
#include <stdio.h>
2019-04-17 10:49:11 +08:00
#ifdef __cplusplus
extern "C" {
#endif
void MNNCubicSampleC4(const float* src, float* dst, int32_t* position, const float* factor, size_t number);
void MNNCubicLineC4(float* dst, const float* A, const float* B, const float* C, const float* D, float* t,
size_t number);
2023-06-16 09:42:45 +08:00
void CPUBilinearSampleC4(const float* src, float* dst, const int32_t* position, const float* factor, size_t number);
void CPUBilinearLineC4(float* dst, const float* A, const float* B, const float* t, size_t number);
void MNNCubicSampleC16(const int8_t* src, float* dst, int32_t* position, const float* factor, size_t number);
void MNNCubicLineC16(int8_t* dst, const float* A, const float* B, const float* C, const float* D, float* t,
size_t number);
void MNNBilinearSampleC8(const int8_t* src, int16_t* dst, const int32_t* position, const float* factor, size_t number);
void MNNBilinearLineC8(int8_t* dst, const int16_t* A, const int16_t* B, const float* t, size_t number);
2019-04-17 10:49:11 +08:00
#ifdef __cplusplus
}
#endif
#endif /* ResizeFunction_hpp */