sam
c117c13d61
autocontrast: fix alpha handling.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@4879 92316355-f0b4-4df1-b90c-862c8a59935f
10 years ago
sam
027ac83862
Allow to choose between RGB and YUV in pipi_open_sequence().
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@4765 92316355-f0b4-4df1-b90c-862c8a59935f
14 years ago
sam
d047d4bde1
Reactivate pipi_dither_24to16, it's wrong but useful.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@4737 92316355-f0b4-4df1-b90c-862c8a59935f
14 years ago
sam
af83f814e8
YUV support in dumpmovie and makemovie.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@4704 92316355-f0b4-4df1-b90c-862c8a59935f
14 years ago
sam
01fc592e54
Import x264 presets into sequence.c. Doesn't work properly yet.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@4700 92316355-f0b4-4df1-b90c-862c8a59935f
14 years ago
sam
e88e7d9e4d
Clamp Y to 16 - 235, as the MPEG standard uses.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@4699 92316355-f0b4-4df1-b90c-862c8a59935f
14 years ago
sam
bd77b09b6e
Add functions to convert from RGB to YUV and back.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@4697 92316355-f0b4-4df1-b90c-862c8a59935f
14 years ago
sam
3f31901de2
Implement bicubic resampling. Lacks some blurring in the pre-pass, maybe.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@4696 92316355-f0b4-4df1-b90c-862c8a59935f
14 years ago
sam
2297613cd7
Make the movie generation methods and program more versatile.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@4694 92316355-f0b4-4df1-b90c-862c8a59935f
14 years ago
sam
926f50d94a
Update opencv codec to more recent cvSaveImage prototype.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@4693 92316355-f0b4-4df1-b90c-862c8a59935f
14 years ago
sam
231d51f8e3
Avoid floating-point divisions in the Bresenham resize.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@4691 92316355-f0b4-4df1-b90c-862c8a59935f
14 years ago
sam
b72179aad9
Move resize.c to an algorithm-specific file so that we can implement
other resizing methods.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@4690 92316355-f0b4-4df1-b90c-862c8a59935f
14 years ago
sam
adb764b51c
On Win32, define 32-bit C99 types as ints instead of longs, because
a lot of software (wrongly) assumes that int32_t is the same as int.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@4397 92316355-f0b4-4df1-b90c-862c8a59935f
14 years ago
jylam
9967e7c963
* Fixed Mac OSX compilation and Xcode project file
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@4081 92316355-f0b4-4df1-b90c-862c8a59935f
15 years ago
sam
f7d85c9da5
Add missing exec_prefix entry in pipi.pc.in.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3645 92316355-f0b4-4df1-b90c-862c8a59935f
15 years ago
sam
6d12c28052
Mark pipi_open_sequence's first argument as const.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3630 92316355-f0b4-4df1-b90c-862c8a59935f
15 years ago
sam
567200693a
Update the Linux build, following the makemovie code merge.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3629 92316355-f0b4-4df1-b90c-862c8a59935f
15 years ago
sam
23901ebc24
Move the whole makemovie logic to libpipi. It's really hackish
for now, but it seems to work.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3627 92316355-f0b4-4df1-b90c-862c8a59935f
15 years ago
sam
5fb0f89a9d
Do not touch the alpha layer in pipi_contrast().
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3597 92316355-f0b4-4df1-b90c-862c8a59935f
15 years ago
sam
5d219697bf
That optimisation sucked. Reverted median filter to something that works
both on Linux and Windows.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3564 92316355-f0b4-4df1-b90c-862c8a59935f
15 years ago
sam
3f6424fb1e
Improve the median filter performance.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3563 92316355-f0b4-4df1-b90c-862c8a59935f
15 years ago
sam
db1fd94310
Update the Win32 solution for Visual Studio 2008.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3562 92316355-f0b4-4df1-b90c-862c8a59935f
15 years ago
sam
699614f692
Add missing blit.c to repository.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3560 92316355-f0b4-4df1-b90c-862c8a59935f
15 years ago
sam
fb7d1905d2
Implement pipi_blit().
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3547 92316355-f0b4-4df1-b90c-862c8a59935f
15 years ago
sam
859e659c5b
Implement pipi_rotate(). Currently nearest-neighbour only, supersample if
you need more precision.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3546 92316355-f0b4-4df1-b90c-862c8a59935f
15 years ago
sam
f0b0a8ba0a
Fix the pipi_merge() semantics so that it matches Gimp’s, and don’t ignore
the image’s alpha layers.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3545 92316355-f0b4-4df1-b90c-862c8a59935f
15 years ago
sam
b473f55d2f
Do not touch alpha values when modifying brightness or contrast.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3544 92316355-f0b4-4df1-b90c-862c8a59935f
15 years ago
sam
dbd1afd99e
pipi_measure_msd(): fix this function so that it works with colour images, too.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3517 92316355-f0b4-4df1-b90c-862c8a59935f
15 years ago
sam
c7ad1f601c
Synchronise Visual Studio projects with the current code.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3421 92316355-f0b4-4df1-b90c-862c8a59935f
15 years ago
sam
e7c1b11fad
Add missing M_PI definition in wave.c for Win32 compilation.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3420 92316355-f0b4-4df1-b90c-862c8a59935f
15 years ago
sam
4c9c6fb75c
Make sure that the gdiplus codec initialises GdiPlus before any library
calls are made.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3419 92316355-f0b4-4df1-b90c-862c8a59935f
15 years ago
sam
25eac661af
wave.c: implement pipi_wave() in addition to pipi_sine(). The effect is
not yet satisfying.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3418 92316355-f0b4-4df1-b90c-862c8a59935f
15 years ago
sam
44eca2e75e
context.c: factor some code to gain 180 lines of code.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3417 92316355-f0b4-4df1-b90c-862c8a59935f
15 years ago
sam
78c5fad50e
wave.c: rename pipi_wave() into pipi_sine().
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3416 92316355-f0b4-4df1-b90c-862c8a59935f
15 years ago
sam
3b38443852
resize.c: add pipi_crop() and the --crop flag.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3415 92316355-f0b4-4df1-b90c-862c8a59935f
15 years ago
sam
f025663d4a
jpeg.c: fix a huge resource leak in the error codepath of the JPEG codec.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3414 92316355-f0b4-4df1-b90c-862c8a59935f
15 years ago
sam
80bfef8e57
mean.c: rename this file into merge.c and implement pipi_merge() for trivial
image merging.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3411 92316355-f0b4-4df1-b90c-862c8a59935f
15 years ago
sam
b7e3368c23
wave.c: change the wave arguments. The format is now eg. 150x100+10r1.3 where
150 is the wave period, 100 is the amplitude, 10 is the phase, and 1.3 is
the angle of the wave direction.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3410 92316355-f0b4-4df1-b90c-862c8a59935f
15 years ago
sam
9e9d93dab2
histogram.c: fix a shadowing declaration.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3409 92316355-f0b4-4df1-b90c-862c8a59935f
15 years ago
sam
37a1e5606e
wave.c: better behaviour around image edges.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3403 92316355-f0b4-4df1-b90c-862c8a59935f
15 years ago
sam
4936ebfa16
Fix a very old crash in the box blur filter that occurred when the image
was broader than tall.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3402 92316355-f0b4-4df1-b90c-862c8a59935f
15 years ago
sam
05c7be55fc
Fix a crash in the JPEG loader when meeting with ENOENT.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3401 92316355-f0b4-4df1-b90c-862c8a59935f
15 years ago
sam
f0b30c6fa1
Properly handle alpha components in the convolution code.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3399 92316355-f0b4-4df1-b90c-862c8a59935f
15 years ago
sam
1b42147e18
Properly handle alpha components in the resize code.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3398 92316355-f0b4-4df1-b90c-862c8a59935f
15 years ago
sam
2ff222affb
Add a wave filter for crappy sine effects.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3397 92316355-f0b4-4df1-b90c-862c8a59935f
15 years ago
sam
78cc659e07
imlib.c: fix support for alpha channel when saving using Imlib2.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3350 92316355-f0b4-4df1-b90c-862c8a59935f
16 years ago
sam
bc4b740e20
Minor reorg in the JPEG codec.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3344 92316355-f0b4-4df1-b90c-862c8a59935f
16 years ago
sam
0a241eb088
Got rid of the modular codec stuff. All codecs should work the same way.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3343 92316355-f0b4-4df1-b90c-862c8a59935f
16 years ago
sam
1ff231b9f7
Change _C pixel format suffixes into _U8 for more clarity.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3342 92316355-f0b4-4df1-b90c-862c8a59935f
16 years ago
sam
0494eff2ef
Add pipi_release_pixels and pipi_set_colorspace in prevision of
pipi_get_pixels using the tiles system. These functions should
disappear one day, because they're going to leak like crazy.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3341 92316355-f0b4-4df1-b90c-862c8a59935f
16 years ago