sam
449823bd99
Add a simple dumpmovie program to extract YUV images from a movie.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@4698 92316355-f0b4-4df1-b90c-862c8a59935f
14 lat temu
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 lat temu
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 lat temu
sam
4ef27f0ca4
Minor compilation warning fix.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@4695 92316355-f0b4-4df1-b90c-862c8a59935f
14 lat temu
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 lat temu
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 lat temu
sam
8c22661654
Look for highgui.h in addition to the opencv package.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@4692 92316355-f0b4-4df1-b90c-862c8a59935f
14 lat temu
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 lat temu
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 lat temu
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 lat temu
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 lat temu
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 lat temu
sam
091a50a4e3
Update bootstrap script (automake 1.11 and pkg-config detection).
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3644 92316355-f0b4-4df1-b90c-862c8a59935f
15 lat temu
sam
2b8697c163
Fix a 32-bit compilation issue in img2twit.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3642 92316355-f0b4-4df1-b90c-862c8a59935f
15 lat temu
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 lat temu
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 lat temu
sam
4f228c2b54
makemovie no longer depends on FFmpeg libraries.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3628 92316355-f0b4-4df1-b90c-862c8a59935f
15 lat temu
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 lat temu
sam
ba926da9dc
Add USE_FFMPEG to the list of configure macros.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3626 92316355-f0b4-4df1-b90c-862c8a59935f
15 lat temu
sam
2940aeb0a0
Do not bail out if only GDI+ is found.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3622 92316355-f0b4-4df1-b90c-862c8a59935f
15 lat temu
sam
a7486b115d
Allow makemovie to build on Win32 using our ffmpeg binaries.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3611 92316355-f0b4-4df1-b90c-862c8a59935f
15 lat temu
sam
af1992dae7
Add Win32 ffmpeg binaries for easier builds.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3610 92316355-f0b4-4df1-b90c-862c8a59935f
15 lat temu
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 lat temu
sam
d004ff0388
Fix the FFmpeg libraries detection.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3591 92316355-f0b4-4df1-b90c-862c8a59935f
15 lat temu
sam
0448bc8946
Fix build without CGAL.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3589 92316355-f0b4-4df1-b90c-862c8a59935f
15 lat temu
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 lat temu
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 lat temu
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 lat temu
sam
48e7d48522
Add a .desktop file for The Pimp.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3561 92316355-f0b4-4df1-b90c-862c8a59935f
15 lat temu
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 lat temu
sam
c89eae3ce4
Don't force MJPEG in makemovie. Other codecs work just fine.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3548 92316355-f0b4-4df1-b90c-862c8a59935f
15 lat temu
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 lat temu
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 lat temu
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 lat temu
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 lat temu
sam
7cf0980427
Look for uninstalled ffmpeg binaries before the system-wide ones.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3543 92316355-f0b4-4df1-b90c-862c8a59935f
15 lat temu
sam
d6e4f6d492
img2twit: reinstate old interpolation tuning for final picture quality.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3540 92316355-f0b4-4df1-b90c-862c8a59935f
15 lat temu
sam
51036f828a
img2twit: remove contrast enhancement.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3539 92316355-f0b4-4df1-b90c-862c8a59935f
15 lat temu
sam
e26e8598f4
Make img2twit's points-per-cell value changeable at runtime.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3538 92316355-f0b4-4df1-b90c-862c8a59935f
15 lat temu
sam
7a49a338e4
img2twit: prevent two points from having the same coordinates, since this
is forbidden by the image format; simplify operation computations by not
packing coordinates at runtime; add a version information in the file
format for future extension.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3537 92316355-f0b4-4df1-b90c-862c8a59935f
15 lat temu
sam
470a28b96b
Optimise img2twit's cell packing even more, gaining around 60 bits.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3536 92316355-f0b4-4df1-b90c-862c8a59935f
15 lat temu
sam
a81278aca8
Beginning of the optim...
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3535 92316355-f0b4-4df1-b90c-862c8a59935f
15 lat temu
sam
03f16f21bc
Add -Wextra to the list of compilation warnings. We're no longer warning-free,
but there's not much to fix.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3534 92316355-f0b4-4df1-b90c-862c8a59935f
15 lat temu
sam
14c3888d21
img2twit: change the position of the S component to help decompose points
for a forthcoming optimisation.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3533 92316355-f0b4-4df1-b90c-862c8a59935f
15 lat temu
sam
fa9efdf602
Another img2twit space optimisation: if we have remaining bits at the end
of the cell allocation, we try to use them to improve the RGB precision as
well as the inner-grid coordinates.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3532 92316355-f0b4-4df1-b90c-862c8a59935f
15 lat temu
sam
b9e07e7b00
img2twit: store w+1,h+1 instead of w,h since neither width nor height can
be zero.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3531 92316355-f0b4-4df1-b90c-862c8a59935f
15 lat temu
sam
8c39330635
Minor cleanup in img2twit.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3530 92316355-f0b4-4df1-b90c-862c8a59935f
15 lat temu
sam
ff93399050
Fix img2twit's rendering. Apparently CGAL's Delaunay triangulation module
does not work with negative indices.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3529 92316355-f0b4-4df1-b90c-862c8a59935f
15 lat temu
sam
8ff3640960
Increase img2twit's output contrast when rendering the final image.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3528 92316355-f0b4-4df1-b90c-862c8a59935f
15 lat temu
sam
efac3cf334
Autodetect message size in img2twit.
git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3527 92316355-f0b4-4df1-b90c-862c8a59935f
15 lat temu