[Pixman] [PATCH 4/6] demos/gtk-utils.[ch]: Add pixman_image_from_file()

2012-11-23 Thread Søren Sandmann
From: Søren Sandmann Pedersen s...@redhat.com This function uses GdkPixbuf to load various common formats such as .png and .jpg into a pixman image. --- demos/gtk-utils.c | 66 + demos/gtk-utils.h |3 ++ 2 files changed, 69 insertions(+),

[Pixman] [PATCH 1/6] Add new filter PIXMAN_FILTER_SEPARABLE_CONVOLUTION

2012-11-23 Thread Søren Sandmann
From: Søren Sandmann Pedersen s...@redhat.com This filter is a new way to use a convolution matrix for filtering. In contrast to the existing CONVOLUTION filter, this new variant is different in two respects: - It is subsampled: Instead of just one convolution matrix, this filter chooses

[Pixman] [PATCH 2/6] rounding.txt: Describe how SEPARABLE_CONVOLUTION filter works

2012-11-23 Thread Søren Sandmann
From: Søren Sandmann Pedersen s...@redhat.com Add some notes on how to compute the convolution matrices to be used with the SEPARABLE_CONVOLUTION filter. --- pixman/rounding.txt | 33 + 1 files changed, 33 insertions(+), 0 deletions(-) diff --git

[Pixman] [PATCH 3/6] Add new pixman_filter_create_separable_convolution() API

2012-11-23 Thread Søren Sandmann
From: Søren Sandmann Pedersen s...@redhat.com This new API is a helper function to create filter parameters suitable for use with PIXMAN_FILTER_SEPARABLE_CONVOLUTION. For each dimension, given a scale factor, reconstruction and sample filter kernels, and a subsampling resolution, this function

[Pixman] [PATCH 5/6] demos: Add new demo program, scale

2012-11-23 Thread Søren Sandmann
From: Søren Sandmann Pedersen s...@redhat.com This program allows interactively scaling and rotating images with using various filters and repeat modes. It uses pixman_filter_create_separate_convolution() to generate the filters. --- demos/Makefile.am |6 +- demos/scale.c | 431

Re: [Pixman] Image resampling [PATCH 0/6]

2012-11-23 Thread Behdad Esfahbod
Hi Søren, This is a very well done patchset with great commentary. Great job! Cheers, behdad On 12-11-23 10:57 PM, Søren Sandmann wrote: Hi, Reviewing the supersampling patch here: http://cgit.freedesktop.org/~ajohnson/pixman/log/?h=supersampling I wasn't happy with either the