Skip to content

Commit

Permalink
Move the auxiliary libraries to a separate directory
Browse files Browse the repository at this point in the history
This is necessary in order to avoid clogging the system
directory. It will also be easier to put these libraries
in a separate distribution package.
  • Loading branch information
rautyrauty authored and jaromil committed Jul 17, 2024
1 parent d04d3c3 commit cc52fd6
Show file tree
Hide file tree
Showing 79 changed files with 83 additions and 83 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions include/frei0r_cairo.h → include/frei0r/cairo.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* frei0r_cairo.h
* frei0r/cairo.h
* Copyright 2012 Janne Liljeblad
*
* This file is part of Frei0r.
Expand All @@ -22,7 +22,7 @@

#include <cairo.h>
#include <string.h>
#include "frei0r_math.h"
#include "frei0r/math.h"

/**
* String identifiers for gradient types available using Cairo.
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions include/frei0r_colorspace.h → include/frei0r/colorspace.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* frei0r_colorspace.h
/* frei0r/colorspace.h
* Copyright (C) 2004 Mathieu Guindon, Julien Keable, Jean-Sebastien Senecal
* This file is part of Frei0r.
*
Expand All @@ -20,7 +20,7 @@
#ifndef INCLUDED_FREI0R_COLORSPACE_H
#define INCLUDED_FREI0R_COLORSPACE_H

#include "frei0r_math.h"
#include "frei0r/math.h"
#include <stdlib.h>
#include <math.h>

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/filter/aech0r/aech0r.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
*
*/
#include "frei0r.hpp"
#include "frei0r_math.h"
#include "frei0r/math.h"

#include <string.h>
#include <climits>
Expand Down
2 changes: 1 addition & 1 deletion src/filter/alpha0ps/alpha0ps_alphaspot.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Copyright (C) 2010 Marko Cebokli http://lea.hamradio.si/~s57uuu

//#include <stdio.h>
#include <frei0r.h>
#include <frei0r_math.h>
#include <frei0r/math.h>
#include <stdlib.h>
#include <math.h>
#include <assert.h>
Expand Down
2 changes: 1 addition & 1 deletion src/filter/balanc0r/balanc0r.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#include <stdio.h>

#include "frei0r.h"
#include "frei0r_math.h"
#include "frei0r/math.h"

static const float bbWB[][3] =
{
Expand Down
2 changes: 1 addition & 1 deletion src/filter/blur/fibe.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ and therefore time consuming "walks" through memory.

#include <sys/types.h>
#include <string.h>
#include "frei0r_math.h"
#include "frei0r/math.h"

//---------------------------------------------------------
//koeficienti za biquad lowpass iz f in q
Expand Down
2 changes: 1 addition & 1 deletion src/filter/brightness/brightness.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <assert.h>

#include "frei0r.h"
#include "frei0r_math.h"
#include "frei0r/math.h"

typedef struct brightness_instance
{
Expand Down
2 changes: 1 addition & 1 deletion src/filter/c0rners/c0rners.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#include <frei0r.h>
#include <string.h>
#include <math.h>
#include "frei0r_math.h"
#include "frei0r/math.h"
#include "interp.h"

//----------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/filter/cairogradient/cairogradient.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include <math.h>

#include "frei0r.h"
#include "frei0r_cairo.h"
#include "frei0r/cairo.h"

typedef struct cairo_gradient_instance
{
Expand Down
2 changes: 1 addition & 1 deletion src/filter/cairoimagegrid/cairoimagegrid.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include <cairo.h>

#include "frei0r.h"
#include "frei0r_cairo.h"
#include "frei0r/cairo.h"

#define MAX_ROWS 20
#define MAX_COLUMNS 20
Expand Down
2 changes: 1 addition & 1 deletion src/filter/cluster/cluster.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include <stdio.h>

#include "frei0r.h"
#include "frei0r_math.h"
#include "frei0r/math.h"

#define MAXNUM 40

Expand Down
2 changes: 1 addition & 1 deletion src/filter/colgate/colgate.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
#endif

#include "frei0r.h"
#include "frei0r_math.h"
#include "frei0r/math.h"

enum ParamIndex {
NEUTRAL_COLOR,
Expand Down
2 changes: 1 addition & 1 deletion src/filter/colordistance/colordistance.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include <stdio.h>

#include "frei0r.h"
#include "frei0r_math.h"
#include "frei0r/math.h"

typedef struct colordistance_instance
{
Expand Down
2 changes: 1 addition & 1 deletion src/filter/colorhalftone/colorhalftone.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include <stdio.h>
#include <math.h>
#include "frei0r.h"
#include "frei0r_math.h"
#include "frei0r/math.h"

double PI=3.14159265358979;

Expand Down
2 changes: 1 addition & 1 deletion src/filter/colorize/colorize.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#include <assert.h>

#include "frei0r.h"
#include "frei0r_math.h"
#include "frei0r/math.h"

#define GIMP_RGB_LUMINANCE_RED (0.2126)
#define GIMP_RGB_LUMINANCE_GREEN (0.7152)
Expand Down
2 changes: 1 addition & 1 deletion src/filter/contrast0r/contrast0r.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include <stdio.h>

#include "frei0r.h"
#include "frei0r_math.h"
#include "frei0r/math.h"

typedef struct contrast0r_instance
{
Expand Down
2 changes: 1 addition & 1 deletion src/filter/curves/curves.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#include <stdio.h>

#include "frei0r.h"
#include "frei0r_math.h"
#include "frei0r/math.h"

#define MAX3(a, b, c) ( ( a > b && a > c) ? a : (b > c ? b : c) )
#define MIN3(a, b, c) ( ( a < b && a < c) ? a : (b < c ? b : c) )
Expand Down
2 changes: 1 addition & 1 deletion src/filter/dither/dither.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include <math.h>

#include "frei0r.h"
#include "frei0r_math.h"
#include "frei0r/math.h"

int ditherMagic2x2Matrix[] = {
0, 2,
Expand Down
2 changes: 1 addition & 1 deletion src/filter/edgeglow/edgeglow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

#include "frei0r.hpp"
#include "frei0r_math.h"
#include "frei0r/math.h"
#include <stdlib.h>

class edgeglow : public frei0r::filter
Expand Down
2 changes: 1 addition & 1 deletion src/filter/emboss/emboss.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include <math.h>

#include "frei0r.h"
#include "frei0r_math.h"
#include "frei0r/math.h"

double PI = 3.14159;
double pixelScale = 255.9;
Expand Down
2 changes: 1 addition & 1 deletion src/filter/equaliz0r/equaliz0r.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

#include "frei0r.hpp"
#include "frei0r_math.h"
#include "frei0r/math.h"
#include <string.h>

#include <cstring>
Expand Down
2 changes: 1 addition & 1 deletion src/filter/facebl0r/facebl0r.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include <string.h>
#include <opencv2/opencv.hpp>
#include "frei0r.hpp"
#include "frei0r_math.h"
#include "frei0r/math.h"

class TrackedObj {
public:
Expand Down
2 changes: 1 addition & 1 deletion src/filter/facedetect/facedetect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include <string.h>
#include <opencv2/opencv.hpp>
#include "frei0r.hpp"
#include "frei0r_math.h"
#include "frei0r/math.h"

#define USE_ROI
#define PAD (40)
Expand Down
2 changes: 1 addition & 1 deletion src/filter/gamma/gamma.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include <assert.h>

#include "frei0r.h"
#include "frei0r_math.h"
#include "frei0r/math.h"

#define MAX_GAMMA 4.0

Expand Down
2 changes: 1 addition & 1 deletion src/filter/glitch0r/glitch0r.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include <time.h>

#include "frei0r.h"
#include "frei0r_math.h"
#include "frei0r/math.h"

/* cheap & fast randomizer (by Fukuchi Kentarou) */
static uint32_t randval;
Expand Down
2 changes: 1 addition & 1 deletion src/filter/glow/glow.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include <math.h>
#include "frei0r.h"
#include <stdlib.h>
#include "blur.h"
#include "frei0r/blur.h"

typedef struct glow_instance {
double blur;
Expand Down
2 changes: 1 addition & 1 deletion src/filter/hueshift0r/matrix.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* Paul Haeberli - 1993
*/
#include "frei0r_math.h"
#include "frei0r/math.h"
#include <math.h>
#include <stdio.h>

Expand Down
2 changes: 1 addition & 1 deletion src/filter/lenscorrection/lenscorrection.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include <assert.h>

#include "frei0r.h"
#include "frei0r_math.h"
#include "frei0r/math.h"

typedef struct lenscorrection_instance
{
Expand Down
2 changes: 1 addition & 1 deletion src/filter/levels/levels.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include <stdio.h>

#include "frei0r.h"
#include "frei0r_math.h"
#include "frei0r/math.h"

enum ChannelChoice
{
Expand Down
2 changes: 1 addition & 1 deletion src/filter/luminance/luminance.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include <assert.h>

#include "frei0r.h"
#include "frei0r_math.h"
#include "frei0r/math.h"

#define MAX_SATURATION 8.0

Expand Down
2 changes: 1 addition & 1 deletion src/filter/mask0mate/mask0mate.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include <math.h>
#include "frei0r.h"
#include <stdlib.h>
#include "blur.h"
#include "frei0r/blur.h"

typedef struct mask0mate_instance {
double left, top, right, bottom;
Expand Down
2 changes: 1 addition & 1 deletion src/filter/ndvi/ndvi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include <cairo.h>
#endif
#include "frei0r.hpp"
#include "frei0r_math.h"
#include "frei0r/math.h"
#include "gradientlut.hpp"
#include <string>
#include <stdlib.h>
Expand Down
2 changes: 1 addition & 1 deletion src/filter/normaliz0r/normaliz0r.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
#include <stdio.h>

#include "frei0r.h"
#include "frei0r_math.h"
#include "frei0r/math.h"

#define MAX_HISTORY_LEN 128

Expand Down
2 changes: 1 addition & 1 deletion src/filter/pixeliz0r/pixeliz0r.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "frei0r.h"
#include "frei0r_math.h"
#include "frei0r/math.h"
#include <stdlib.h>
#include <string.h>
#include <assert.h>
Expand Down
2 changes: 1 addition & 1 deletion src/filter/posterize/posterize.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include <assert.h>

#include "frei0r.h"
#include "frei0r_math.h"
#include "frei0r/math.h"

typedef struct posterize_instance
{
Expand Down
2 changes: 1 addition & 1 deletion src/filter/premultiply/premultiply.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/

#include "frei0r.hpp"
#include "frei0r_math.h"
#include "frei0r/math.h"

class Premultiply : public frei0r::filter
{
Expand Down
2 changes: 1 addition & 1 deletion src/filter/rgbnoise/rgbnoise.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include <assert.h>
#include <math.h>
#include "frei0r.h"
#include "frei0r_math.h"
#include "frei0r/math.h"

static int MY_MAX_RAND = 32767;// I assume RAND_MAX to be at least this big.
static double gaussian_lookup[32767];
Expand Down
2 changes: 1 addition & 1 deletion src/filter/saturat0r/saturat0r.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <assert.h>

#include "frei0r.h"
#include "frei0r_math.h"
#include "frei0r/math.h"

#define MAX_SATURATION 8.0

Expand Down
2 changes: 1 addition & 1 deletion src/filter/sigmoidaltransfer/sigmoidaltransfer.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include <stdio.h>
#include <math.h>
#include "frei0r.h"
#include "frei0r_math.h"
#include "frei0r/math.h"

#define SIGMOIDAL_BASE 2
#define SIGMOIDAL_RANGE 20
Expand Down
2 changes: 1 addition & 1 deletion src/filter/sobel/sobel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

#include "frei0r.hpp"
#include "frei0r_math.h"
#include "frei0r/math.h"
#include <stdlib.h>

class sobel : public frei0r::filter
Expand Down
4 changes: 2 additions & 2 deletions src/filter/softglow/softglow.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
#include <assert.h>
#include <math.h>
#include "frei0r.h"
#include "blur.h"
#include "frei0r_math.h"
#include "frei0r/blur.h"
#include "frei0r/math.h"

#define SIGMOIDAL_BASE 2
#define SIGMOIDAL_RANGE 20
Expand Down
2 changes: 1 addition & 1 deletion src/filter/sopsat/sopsat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include <math.h>
#include <stdlib.h>
#include "frei0r.hpp"
#include "frei0r_math.h"
#include "frei0r/math.h"

/**
This filter implements a standard way of color correction proposed by
Expand Down
2 changes: 1 addition & 1 deletion src/filter/squareblur/squareblur.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include <string.h>

#include "frei0r.h"
#include "blur.h"
#include "frei0r/blur.h"

int f0r_init()
{
Expand Down
Loading

0 comments on commit cc52fd6

Please sign in to comment.