62 Révisions (master)

Auteur SHA1 Message Date
  sam c117c13d61 autocontrast: fix alpha handling. il y a 10 ans
  sam e88e7d9e4d Clamp Y to 16 - 235, as the MPEG standard uses. il y a 14 ans
  sam bd77b09b6e Add functions to convert from RGB to YUV and back. il y a 14 ans
  sam 5fb0f89a9d Do not touch the alpha layer in pipi_contrast(). il y a 15 ans
  sam 5d219697bf That optimisation sucked. Reverted median filter to something that works il y a 15 ans
  sam 3f6424fb1e Improve the median filter performance. il y a 15 ans
  sam 859e659c5b Implement pipi_rotate(). Currently nearest-neighbour only, supersample if il y a 15 ans
  sam b473f55d2f Do not touch alpha values when modifying brightness or contrast. il y a 15 ans
  sam e7c1b11fad Add missing M_PI definition in wave.c for Win32 compilation. il y a 16 ans
  sam 25eac661af wave.c: implement pipi_wave() in addition to pipi_sine(). The effect is il y a 16 ans
  sam 78c5fad50e wave.c: rename pipi_wave() into pipi_sine(). il y a 16 ans
  sam b7e3368c23 wave.c: change the wave arguments. The format is now eg. 150x100+10r1.3 where il y a 16 ans
  sam 37a1e5606e wave.c: better behaviour around image edges. il y a 16 ans
  sam 4936ebfa16 Fix a very old crash in the box blur filter that occurred when the image il y a 16 ans
  sam f0b30c6fa1 Properly handle alpha components in the convolution code. il y a 16 ans
  sam 2ff222affb Add a wave filter for crappy sine effects. il y a 16 ans
  sam 1ff231b9f7 Change _C pixel format suffixes into _U8 for more clarity. il y a 16 ans
  sam bb926c7a95 Rename pipi_getpixel into pipi_get_pixels. il y a 16 ans
  sam 4bfa33f1b9 Start writing Visual Studio projects. il y a 16 ans
  sam 0eb36a6225 Support C99 types on Win32 through the same hacks as in libcaca. il y a 16 ans
  sam 36438eed8f Fix headers. il y a 16 ans
  sam 37ed52dc95 * median.c: oops, fix argument types in the qsort call. il y a 16 ans
  sam 82bb59111c * median.c: use the libc's qsort to find the median value. Not really the il y a 16 ans
  sam 0cca668930 * pipi_template.h: factor the last unrolled preprocessor loop. il y a 16 ans
  sam daa741e235 * convolution.c: refactor the template functions, removing 30 lines of il y a 16 ans
  sam 729fb74fec * blur.c: support wrap around images in box blur (it's actually support for il y a 16 ans
  sam 916f579194 * blur.c: use the template system for the boxblur functions. il y a 16 ans
  sam 5a9d928338 * blur.c: fix the separate filter optimisation in the blur code by not il y a 16 ans
  sam 8ddfafa5ba * Rework the convolution template system. il y a 16 ans
  sam db9a8eae50 * convolution_template.h: clamp output values after a convolution. il y a 16 ans
  sam 36fb60cacf * transform.c: implement pipi_rotate90, pipi_rotate180 and pipi_rotate270. il y a 16 ans
  sam 2da45f954b * Implement pipi_vflip() and pipi_hflip(). il y a 16 ans
  sam 412dafd400 * median.c: oops, removed old debugging hack from pipi_median(). il y a 16 ans
  sam 0cab178432 * color.c: implement pipi_threshold(). il y a 16 ans
  sam 31fec9b526 * Add pipi_dilate() / pipi_erode() and --dilate / --erode. il y a 16 ans
  sam 114afed869 * median.c: fix the RGBA median filter. il y a 16 ans
  sam d9f3b654bc * median.c: add a median filter. Highly unoptimised for now. il y a 16 ans
  sam a1ad690056 * blur.c: proper box blur implementation that runs linearly with il y a 16 ans
  sam 8e5b11ae39 * convolution_template.h: disambiguate parentheses. il y a 16 ans
  sam 8996a532df * blur.c: improve the Gaussian kernel interpolation. il y a 16 ans
  sam e50ce5c67a * color.c: implement pipi_brightness() and pipi_contrast(). il y a 16 ans
  sam 37ab68e449 * blur.c: improve the Gaussian kernel generation by interpolating its il y a 16 ans
  sam 18e1cc4471 * Add pipi_invert() to invert an image's colours. il y a 16 ans
  sam 97930521fc * blur.c: add an argument to the gaussian convolution to specify an angle. il y a 16 ans
  sam 1e47505892 * convolution.c: move local function prototypes to convolution_template.h. il y a 16 ans
  sam 7f3e08d021 * convolution.c: support for wrap-around in convolutions. il y a 16 ans
  sam ec187df115 * convolution_template.h: split convolution routines into separate functions il y a 16 ans
  sam 1ff729fd7b * convolution.c: fix a small memory leak in the convolution filter. il y a 16 ans
  sam 77ec441434 * blur.c: implement box blur; currently runs in O(n) but we could make it il y a 16 ans
  sam b7c2d1f847 * autocontrast.c: simple autocontrast filter; does not work very well. il y a 16 ans