Sam Hocevar
44e39867b1
Fix approximately 80 billion compilation warnings.
pirms 8 gadiem
Sam Hocevar
7558d0664a
image: more method renaming for consistency.
pirms 8 gadiem
Sam Hocevar
03c17fcae4
base: clean up and refactor containers.
The containers no longer force the user to use the ptrdiff_t type for
size information. For convenience, size() now always returns an int,
and the size_s() method offers a way to handle arrays with more than
2 billion elements. Internally, we still use ptrdiff_t, though.
Since so much code had to be changed, I took the opportunity to get
rid of capitalised accessors for classes that are lowercase.
pirms 11 gadiem
Sam Hocevar
42813316b8
build: improve emscripten build.
pirms 11 gadiem
Sam Hocevar
cd988786b9
build: reorganise includes so that we can use precompiled headers later.
pirms 11 gadiem
Guillaume Bittoun
2511de1f90
arraynd: adding constructors and operators for vec_t<int, N> and vec_t<ptrdiff_t, N> types.
pirms 11 gadiem
Sam Hocevar
fe665f85b4
base: strip core.h from its contents and put it in public/private headers.
pirms 11 gadiem
Sam Hocevar
3862ad59dc
base: going on a lowercase rampage; today’s victim: Array.
pirms 11 gadiem
Sam Hocevar
7e9f926c43
base: switch map, hash, array2d and array3d to lowercase, like standard
C++ containers.
pirms 11 gadiem
Sam Hocevar
2719aa06dd
image: move files around.
pirms 11 gadiem
Sam Hocevar
1ad2430ba9
image: implement Image::Lock2D().
pirms 11 gadiem
Sam Hocevar
c33c45904b
image: brightness, contrast, threshold, invert, dilate, erode, sharpen.
pirms 11 gadiem
Sam Hocevar
a45e61ddbc
image: the median filter can now use a kernel for better control.
pirms 11 gadiem
Sam Hocevar
6b9f3b66c1
image: add YUV filter, median filter, and image cropping.
pirms 11 gadiem
Sam Hocevar
65eb4d005b
image: generate Gaussian kernels.
pirms 11 gadiem
Sam Hocevar
ee615af97a
image: fix typos in the image convolution code.
pirms 11 gadiem
Sam Hocevar
06d4d7a2cb
image: improve the convolution code and remove redundancy.
pirms 11 gadiem
Sam Hocevar
12d249f3fa
image: add Convolution() method, with optimisation for separable filters.
pirms 11 gadiem
Sam Hocevar
6c323663ab
image: implement AutoContrast().
pirms 11 gadiem
Sam Hocevar
ce1d39cc3a
image: import old libpipi code, hoping it can be upgraded to C++ and
merged iteratively with our current image processing code.
pirms 11 gadiem