ESP-IDF Firmware
Firmware architecture and call graph
Loading...
Searching...
No Matches
dspm_mulc.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7
8#ifndef _dspm_mulc_H_
9#define _dspm_mulc_H_
10#include "dsp_err.h"
11
12#include "dspm_mulc_platform.h"
13
14#ifdef __cplusplus
15extern "C"
16{
17#endif
18
41esp_err_t dspm_mulc_f32_ansi(const float *input, float *output, float C, int rows, int cols, int padd_in, int padd_out, int step_in, int step_out);
42esp_err_t dspm_mulc_f32_ae32(const float *input, float *output, float C, int rows, int cols, int padd_in, int padd_out, int step_in, int step_out);
44
45#ifdef __cplusplus
46}
47#endif
48
49#if CONFIG_DSP_OPTIMIZED
50#if (dspm_mulc_f32_ae32_enabled == 1)
51#define dspm_mulc_f32 dspm_mulc_f32_ae32
52#else //
53#define dspm_mulc_f32 dspm_mulc_f32_ansi
54#endif
55
56#else
57#define dspm_mulc_f32 dspm_mulc_f32_ansi
58#endif
59
60
61#endif // _dspm_mulc_H_
esp_err_t dspm_mulc_f32_ae32(const float *input, float *output, float C, int rows, int cols, int padd_in, int padd_out, int step_in, int step_out)
esp_err_t dspm_mulc_f32_ansi(const float *input, float *output, float C, int rows, int cols, int padd_in, int padd_out, int step_in, int step_out)
multiply a constant and an array with padding
int esp_err_t
Definition esp_err.h:21
float C[4][16]
Definition test_mmult.c:22