GOOD uses the BOX.BOX filter, with a filter size of 1 for all scales larger
than .75, which is identical to BILINEAR. At very small scales it clamps the
filter size to 16. Uses the BILINEAR code if both directions are bilinear
or are exactly .5 scale with integer translations.
BEST uses the IMPULS
Also made impulse filter not range check. All the other filters do
not test for x in range.
---
pixman/pixman-filter.c | 18 --
1 file changed, 8 insertions(+), 10 deletions(-)
diff --git a/pixman/pixman-filter.c b/pixman/pixman-filter.c
index dcbed11..8416550 100644
--- a/pixma
This is easy as the caller already intersected the two boxes.
---
pixman/pixman-filter.c | 25 +++--
1 file changed, 15 insertions(+), 10 deletions(-)
diff --git a/pixman/pixman-filter.c b/pixman/pixman-filter.c
index a9af72c..4ff02ec 100644
--- a/pixman/pixman-filter.c
+++
This supersedes my previous patch. Changes are:
* Fixed rebase mistake that made it not compile
* Uses bilinear for 1/2 scale and integer translate.
___
Pixman mailing list
Pixman@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pixm
This is much more accurate and less blurry. In particular the filtering does
not change as the image is rotated.
---
demos/scale.c | 43 ++-
1 file changed, 2 insertions(+), 41 deletions(-)
diff --git a/demos/scale.c b/demos/scale.c
index d00307e..71c7791
Rename kernel1/2 to reconstruct/sample and use 1/scale as the
scale argument, thus matching the names in other functions.
---
pixman/pixman-filter.c | 30 +++---
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/pixman/pixman-filter.c b/pixman/pixman-filter.
---
pixman/pixman-filter.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pixman/pixman-filter.c b/pixman/pixman-filter.c
index 035a784..4561af2 100644
--- a/pixman/pixman-filter.c
+++ b/pixman/pixman-filter.c
@@ -180,13 +180,13 @@ integral (pixman_kernel_t reconstruct,
---
pixman/pixman-filter.c | 57
1 file changed, 24 insertions(+), 33 deletions(-)
diff --git a/pixman/pixman-filter.c b/pixman/pixman-filter.c
index 4561af2..1a465ac 100644
--- a/pixman/pixman-filter.c
+++ b/pixman/pixman-filter.c
@@ -225,25 +22
Simplified the function.
Expanded size slightly (from ~4.25 to 5) to make the cutoff less noticable.
The filter is truncated at a value of .001 instead of .006, this new
value is less than 1/2 of 1/255, rather than greater than it.
---
pixman/pixman-filter.c |7 ++-
1 file changed, 2 inse
- Put error on center of odd-sized filters. This may fix other filters
some but the primary effect is to change the size=1 filters produced
by IMPULSE sampling from 0.0 to 1.0.
- Made IMPULSE.IMPULSE produce a filter of size 1, not zero.
- Reuse the above result to produce a faster BOX.IMPULSE wh
Samples are multiplied in a 1,4,2,4,2...4,1 pattern, previous version
did 1,2,6,6...6,2,1 which produced 2x the correct integrated value
(this was corrected by the normalization) and also just did simple
numeric integration and not Simpsons.
I also reduced the number of samples a lot as it is plen
This allows testing of GOOD/BEST and to do comparisons between
the basic filters and PIXMAN_FILTER_SEPARABLE_CONVOLUTION settings.
---
demos/scale.c | 14 +-
demos/scale.ui | 40 ++--
2 files changed, 43 insertions(+), 11 deletions(-)
diff --gi
On Tue, Sep 23, 2014 at 12:24 PM, Søren Sandmann
wrote:
>
>> IIRC, we have already discussed it before. Maybe we should just disable
>> MMX support for x86 and use it only for MIPS Loongson and ARM IWMMXT?
I don't really see the benefit. The bugs we've had have all been
trivially fixed.
I'm conc
On Sep 23, 2014, at 3:24 PM, Søren Sandmann wrote:
> > IIRC, we have already discussed it before. Maybe we should just disable
> > MMX support for x86 and use it only for MIPS Loongson and ARM IWMMXT?
>
> I'd be in favor of that. For a long time the only real use case for MMX/x86
> has been the
14 matches
Mail list logo