CARTA Backend
The backend component of CARTA
Loading...
Searching...
No Matches
Smoothing.h File Reference
#include <cstdint>
#include <limits>
#include <vector>
#include <x86intrin.h>
Include dependency graph for Smoothing.h:
This graph shows which files directly or indirectly include this file:

Namespaces

namespace  carta
 

Macros

#define SMOOTHING_TEMP_BUFFER_SIZE_MB   200
 
#define SIMD_WIDTH   4
 

Functions

static __m128 carta::IsInfinity (__m128 x)
 
void carta::MakeKernel (std::vector< float > &kernel, double sigma)
 
bool carta::RunKernel (const std::vector< float > &kernel, const float *src_data, float *dest_data, int64_t src_width, int64_t src_height, int64_t dest_width, int64_t dest_height, bool vertical)
 
bool carta::GaussianSmooth (const float *src_data, float *dest_data, int64_t src_width, int64_t src_height, int64_t dest_width, int64_t dest_height, int smoothing_factor)
 
bool carta::BlockSmooth (const float *src_data, float *dest_data, int64_t src_width, int64_t src_height, int64_t dest_width, int64_t dest_height, int64_t x_offset, int64_t y_offset, int smoothing_factor)
 
bool carta::BlockSmoothScalar (const float *src_data, float *dest_data, int64_t src_width, int64_t src_height, int64_t dest_width, int64_t dest_height, int64_t x_offset, int64_t y_offset, int smoothing_factor)
 
bool carta::BlockSmoothSSE (const float *src_data, float *dest_data, int64_t src_width, int64_t src_height, int64_t dest_width, int64_t dest_height, int64_t x_offset, int64_t y_offset, int smoothing_factor)
 
void carta::NearestNeighbor (const float *src_data, float *dest_data, int64_t src_width, int64_t dest_width, int64_t dest_height, int64_t x_offset, int64_t y_offset, int smoothing_factor)
 

Macro Definition Documentation

◆ SIMD_WIDTH

#define SIMD_WIDTH   4

◆ SMOOTHING_TEMP_BUFFER_SIZE_MB

#define SMOOTHING_TEMP_BUFFER_SIZE_MB   200