mirror of
https://github.com/jamriska/ebsynth.git
synced 2026-04-05 02:36:18 +02:00
add the CPU backend
This commit is contained in:
32
src/ebsynth_cuda.h
Normal file
32
src/ebsynth_cuda.h
Normal file
@@ -0,0 +1,32 @@
|
||||
// This software is in the public domain. Where that dedication is not
|
||||
// recognized, you are granted a perpetual, irrevocable license to copy
|
||||
// and modify this file as you see fit.
|
||||
|
||||
#ifndef EBSYNTH_CUDA_H_
|
||||
#define EBSYNTH_CUDA_H_
|
||||
|
||||
void ebsynthRunCuda(int numStyleChannels,
|
||||
int numGuideChannels,
|
||||
int sourceWidth,
|
||||
int sourceHeight,
|
||||
void* sourceStyleData,
|
||||
void* sourceGuideData,
|
||||
int targetWidth,
|
||||
int targetHeight,
|
||||
void* targetGuideData,
|
||||
void* targetModulationData,
|
||||
float* styleWeights,
|
||||
float* guideWeights,
|
||||
float uniformityWeight,
|
||||
int patchSize,
|
||||
int voteMode,
|
||||
int numPyramidLevels,
|
||||
int* numSearchVoteItersPerLevel,
|
||||
int* numPatchMatchItersPerLevel,
|
||||
int* stopThresholdPerLevel,
|
||||
void* outputNnfData,
|
||||
void* outputImageData);
|
||||
|
||||
int ebsynthBackendAvailableCuda();
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user