Blender V4.3
smaa.cc File Reference
#include "BLI_assert.h"
#include "IMB_colormanagement.hh"
#include "GPU_shader.hh"
#include "GPU_texture.hh"
#include "COM_context.hh"
#include "COM_result.hh"
#include "COM_utilities.hh"
#include "COM_algorithm_smaa.hh"
#include "COM_smaa_precomputed_textures.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 
namespace  blender::realtime_compositor
 

Functions

static void blender::realtime_compositor::set_shader_luminance_coefficients (GPUShader *shader, ResultType type)
 
static Result blender::realtime_compositor::detect_edges (Context &context, Result &input, float threshold, float local_contrast_adaptation_factor)
 
static Result blender::realtime_compositor::calculate_blending_weights (Context &context, Result &edges, int corner_rounding)
 
static const char * blender::realtime_compositor::get_blend_shader_name (ResultType type)
 
static void blender::realtime_compositor::blend_neighborhood (Context &context, Result &input, Result &weights, Result &output)
 
void blender::realtime_compositor::smaa (Context &context, Result &input, Result &output, float threshold=0.1f, float local_contrast_adaptation_factor=2.0f, int corner_rounding=25)