Sam Hocevar
|
e064118dc1
|
image: ordered dithering is now complete.
|
11 years ago |
Sam Hocevar
|
86515f591c
|
image: some cleanup in error diffusion code.
|
11 years ago |
Sam Hocevar
|
08fb9be357
|
image: make the various image processing kernels use Array2D instead
of slightly overkill Image objects.
|
11 years ago |
Sam Hocevar
|
06d4d7a2cb
|
image: improve the convolution code and remove redundancy.
|
11 years ago |
Sam Hocevar
|
12d249f3fa
|
image: add Convolution() method, with optimisation for separable filters.
|
11 years ago |
Sam Hocevar
|
b369be3dd7
|
build: various Windows compilation fixes.
|
11 years ago |
Sam Hocevar
|
1e23be81a0
|
base: remove Array::PushFirst() because Array::Insert(..., 0) works just
as well, remove PushUniqueFirst in favour of InsertUnique(), and optimise
Array::Swap().
|
11 years ago |
Sam Hocevar
|
1dc1c0583a
|
image: port some error diffusion dithering algorithms.
|
11 years ago |
Sam Hocevar
|
6c323663ab
|
image: implement AutoContrast().
|
11 years ago |
Sam Hocevar
|
60a8a64c8f
|
image: fix two small but nasty bugs in the Image methods.
|
11 years ago |
Sam Hocevar
|
eac62b436b
|
image: start to implement some conversions between pixel spaces.
|
11 years ago |
Sam Hocevar
|
347e6a0551
|
image: port libpipi stock images, plus noise and screen rendering.
|
11 years ago |
Sam Hocevar
|
9e08928ad3
|
base: allow to retrieve the keys in Map, and use that to clean up Image.
|
11 years ago |
Sam Hocevar
|
5fc5d62849
|
image: add an optional Imlib2 codec, prepare for float32 images, make the
Lock/Unlock mechanism safer, and implement the rule of three.
|
11 years ago |
Sam Hocevar
|
227411f337
|
image: refactor codecs so that they no longer store anything in the image
objects themselves.
|
11 years ago |
Sam Hocevar
|
f455f0e2d1
|
image: start reworking the Image class to properly split the pixel handling
and the codec logic.
|
11 years ago |
Benjamin ‘Touky’ Huet
|
809600ea47
|
Fixed Thread-safe image loading
|
11 years ago |
Sam Hocevar
|
79ed58f1f0
|
Merge branch 'master' into scenegraph
|
11 years ago |
Sam Hocevar
|
d16595a0bc
|
image: some refactoring of the Image class. Not final.
|
11 years ago |
Lolbot
|
ed8afab4bb
|
fixed 58 files out of 2859:
- removed 0 CR characters
- removed 112 trailing whitespaces
- replaced 0 tabs with spaces
- fixed 58 svn:eol-style properties
|
11 years ago |
Sam Hocevar
|
ce1d39cc3a
|
image: import old libpipi code, hoping it can be upgraded to C++ and
merged iteratively with our current image processing code.
|
11 years ago |
Sam Hocevar
|
1544efa0cd
|
image: the GDI+ backend can now save images, too.
|
11 years ago |
Sam Hocevar
|
d982b67aaa
|
image: add methods to save images and a small test program.
|
11 years ago |
Lolbot
|
7f6d2054e5
|
fixed 5 files out of 2793:
- removed 2 CR characters
- removed 16 trailing whitespaces
- replaced 0 tabs with spaces
- fixed 4 svn:eol-style properties
|
11 years ago |
Benjamin ‘Touky’ Huet
|
f5e37a4337
|
AddedSprite_sorter stores parameters now.
Added palette in Scene.
|
11 years ago |
Benjamin ‘Touky’ Huet
|
d075ef8861
|
tweak
|
11 years ago |
Sam Hocevar
|
cdfb4e7abf
|
math: fix a few compilation warnings.
|
11 years ago |
Lolbot
|
bb4f3923cd
|
fixed 18 files out of 2788:
- removed 121 CR characters
- removed 0 trailing whitespaces
- replaced 1 tabs with spaces
- fixed 18 svn:eol-style properties
|
11 years ago |
Benjamin ‘Touky’ Huet
|
3d4b3d53c3
|
Added bunch of stuff on threads and images.
|
11 years ago |
Sam Hocevar
|
8ede168e62
|
color: add some vec4 constants for usual colour names.
|
11 years ago |
Sam Hocevar
|
10272731ee
|
color: fix issues in color to string conversions.
|
12 years ago |
Sam Hocevar
|
547fe6a908
|
color: utility functions to convert vec3 colors to hex strings.
|
12 years ago |
Sam Hocevar
|
92385ac1ee
|
android: more NativeActivity migration work.
|
12 years ago |
Sam Hocevar
|
5f3ad5cc15
|
math: add constant vectors vec2::zero, vec2::axis_x, etc.
|
12 years ago |
Sam Hocevar
|
98f8246323
|
build: lol-build now passes flags to configure, and configure now uses
optimisation flag -Os instead of -O3.
|
12 years ago |
Sam Hocevar
|
6faf4ee067
|
base: roll our own constants because it’s always a pain in the ass
to get M_PI from the platform headers and cast it to float.
|
12 years ago |
Sam Hocevar
|
ba58bbbdcd
|
ps3: implement Lua file loading.
|
13 years ago |
Sam Hocevar
|
c54ca8bf40
|
image: try to reuse existing images when loading them, and don't unload
tilesets yet, but make sure the architecture will allow it.
|
13 years ago |
Sam Hocevar
|
e6b0bd07bf
|
image: hide the constructor behind a factory so that we can later
return an already created object if necessary.
|
13 years ago |
Sam Hocevar
|
3106fcfd9d
|
image: fix an invalid implicit cast on Win32.
|
13 years ago |
Sam Hocevar
|
f16704ecb0
|
image: GetData returns uint8_t* instead of void*, it's a lot safer.
|
13 years ago |
Sam Hocevar
|
c46b3fbfec
|
image: remove the Image::Format enum and use PixelFormat instead.
|
13 years ago |
Sam Hocevar
|
1b07850346
|
build: a few iOS build fixes; nowhere near ready though.
|
13 years ago |
Sam Hocevar
|
3dd8f8118b
|
ps3: fix a bug and add better error reporting in the image loader.
|
13 years ago |
Sam Hocevar
|
39a8c26fb5
|
base: start removing occurrences of NULL on our long journey to nullptr.
|
13 years ago |
Sam Hocevar
|
1c3ca01ea0
|
build: fix a few compiler warnings here and there.
|
13 years ago |
Sam Hocevar
|
14447c6061
|
ps3: use System::GetPathList() to open images.
|
13 years ago |
Sam Hocevar
|
ba1824ef83
|
sys: cycle through all possible directories to load resource files.
|
13 years ago |
Sam Hocevar
|
4be5ebd8b3
|
ps3: use network fallback for image files.
|
13 years ago |
Sam Hocevar
|
bbf72e1a64
|
core: pass the project directory to the binary build and get rid of
that 2-year old "temporary Win32 hack".
|
13 years ago |