Skip to content
Snippets Groups Projects
  1. Nov 03, 2022
  2. Nov 02, 2022
  3. Oct 18, 2022
  4. Oct 13, 2022
  5. Feb 19, 2022
  6. Jan 13, 2022
  7. Sep 17, 2021
  8. Apr 19, 2020
  9. Apr 07, 2020
  10. Apr 10, 2019
  11. Apr 07, 2019
  12. Feb 11, 2019
  13. Dec 07, 2018
  14. Nov 21, 2018
  15. Sep 02, 2016
    • Bill Spitzak's avatar
      pixman-image: Added enable-gnuplot config to view filters in gnuplot · d0e6c9f4
      Bill Spitzak authored and Søren Sandmann's avatar Søren Sandmann committed
      
      If enable-gnuplot is configured, then you can pipe the output of a
      pixman-using program to gnuplot and get a continuously-updated plot of
      the horizontal filter. This works well with demos/scale to test the
      filter generation.
      
      The plot is all the different subposition filters shuffled
      together. This is misleading in a few cases:
      
        IMPULSE.BOX - goes up and down as the subfilters have different
                      numbers of non-zero samples
      
        IMPULSE.TRIANGLE - somewhat crooked for the same reason
      
        1-wide filters - looks triangular, but a 1-wide box would be more
                         accurate
      
      Changes by Søren: Rewrote the pixman-filter.c part to
           - make it generate correct coordinates
           - add a comment on how coordinates are generated
           - in rounding.txt, add a ceil() variant of the first-sample
             formula
           - make the gnuplot output slightly prettier
      
      v7: First time this ability was included
      
      v8: Use config option
          Moved code to the filter generator
          Modified scale demo to not call filter generator a second time.
      
      v10: Only print if successful generation of plots
           Use #ifdef, not #if
      
      v11: small whitespace fixes
      v12: output range from -width/2 to width/2 and include y==0, to avoid misleading plots
           for subsample_bits==0 and for box filters which may have no small values.
      
      Signed-off-by: default avatarBill Spitzak <spitzak@gmail.com>
      d0e6c9f4
  16. Dec 23, 2015
  17. Dec 22, 2015
  18. Nov 18, 2015
  19. Oct 23, 2015
  20. Oct 13, 2015
  21. Sep 20, 2015
  22. Aug 01, 2015
  23. Apr 02, 2014
    • Siarhei Siamashka's avatar
      configure.ac: Check if the compiler supports GCC vector extensions · 840912b3
      Siarhei Siamashka authored
      The Intel Compiler 14.0.0 claims version GCC 4.7.3 compatibility
      via __GNUC__/__GNUC__MINOR__ macros, but does not provide the same
      level of GCC vector extensions support as the original GCC compiler:
          http://gcc.gnu.org/onlinedocs/gcc/Vector-Extensions.html
      
      Which results in the following compilation failure:
      
      In file included from ../test/utils.h(7),
                       from ../test/utils.c(3):
      ../test/utils-prng.h(138): error: expression must have integral type
            uint32x4 e = x->a - ((x->b << 27) + (x->b >> (32 - 27)));
                                  ^
      
      The problem is fixed by doing a special check in configure for
      this feature.
      840912b3
  24. Dec 26, 2013
    • Søren Sandmann's avatar
      configure.ac: Check and use -Wno-unused-local-typedefs GCC option · b29d74ef
      Søren Sandmann authored
      With GCC 4.8.2 the COMPILE_TIME_ASSERT macro produces a spurious
      warning about an unused local typedef:
      
          In file included from pixman.c:29:0:
          pixman.c: In function 'optimize_operator':
          pixman-private.h:1019:22: warning: typedef 'compile_time_assertion' locally defined but not used [-Wunused-local-typedefs]
      
      The flag -Wno-unused-local-typedefs suppresses that warning.
      b29d74ef
  25. Nov 10, 2013
  26. Nov 02, 2013
Loading