23 #ifndef __CUDA_CROP_H__
24 #define __CUDA_CROP_H__
52 cudaError_t
cudaCrop( uint8_t* input, uint8_t* output,
const int4& roi,
size_t inputWidth,
size_t inputHeight );
75 cudaError_t
cudaCrop(
float* input,
float* output,
const int4& roi,
size_t inputWidth,
size_t inputHeight );
98 cudaError_t
cudaCrop( uchar3* input, uchar3* output,
const int4& roi,
size_t inputWidth,
size_t inputHeight );
121 cudaError_t
cudaCrop( uchar4* input, uchar4* output,
const int4& roi,
size_t inputWidth,
size_t inputHeight );
144 cudaError_t
cudaCrop( float3* input, float3* output,
const int4& roi,
size_t inputWidth,
size_t inputHeight );
167 cudaError_t
cudaCrop( float4* input, float4* output,
const int4& roi,
size_t inputWidth,
size_t inputHeight );
192 cudaError_t
cudaCrop(
void* input,
void* output,
const int4& roi,
size_t inputWidth,
size_t inputHeight,
imageFormat format );