KiCad PCB EDA Suite
Loading...
Searching...
No Matches
image.cpp File Reference

one 8bit-channel image implementation. More...

#include "image.h"
#include "buffers_debug.h"
#include <cstring>
#include <algorithm>
#include <atomic>
#include <thread>
#include <chrono>

Go to the source code of this file.

Macros

#define CLAMP(n, min, max)   {if( n < min ) n=min; else if( n > max ) n = max;}
 

Variables

static const S_FILTER FILTERS []
 

Detailed Description

one 8bit-channel image implementation.

Definition in file image.cpp.

Macro Definition Documentation

◆ CLAMP

#define CLAMP (   n,
  min,
  max 
)    {if( n < min ) n=min; else if( n > max ) n = max;}

Definition at line 41 of file image.cpp.

Variable Documentation

◆ FILTERS

const S_FILTER FILTERS[]
static

Definition at line 334 of file image.cpp.

Referenced by IMAGE::EfxFilter(), and IMAGE::EfxFilter_SkipCenter().