更新: | 2024-05-20 |
---|---|
作者: | @voluntas |
バージョン: | 2024.1 |
URL: | https://voluntas.github.io/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <math.h> | |
// otherwise C++ function names are mangled | |
extern "C" { | |
void float_multiply_array(float *data, int w, int h, int ncpp) { | |
int length = w*h; | |
int currentPixelIndex = 0; | |