1. 17 May, 2019 1 commit
    • Øyvind "pippin" Kolås's avatar
      buffer: use internal floorf/ceilf implementations · f1be6fb4
      Øyvind "pippin" Kolås authored
      This avoids both function call overhead and extra checks for values that
      are outside MININT/MAXINT range, for the uses inside GeglBuffer we only
      care about coordinates that are representable as integers - thus these
      inline-able shortcut versions are good enough for us.
      The speedup seems to consistently make all samplers about 10% faster
      according to the tests in perf/
  2. 31 Oct, 2018 1 commit
    • Øyvind "pippin" Kolås's avatar
      buffer: samplers handling dynamic number of components · 365e53a5
      Øyvind "pippin" Kolås authored
      All resampling for GeglBuffers used to happen in RaGaBaA float, now
      grayscale formats end up using YaA float instead, which will improve
      performance of scaling/rotating in GIMP as well as other tools using
      GeglBuffers resampling like the sculpt tool when in grayscale mode.
      buffer: add members for interpolation bpp/components
      buffer: make linear sampler component generic
      buffer: generalize cubic sampler
      buffer: generalize lohalo innerloop
      For now, assuming that input is still a premultiplied format and treat last component
      differently, should sniff whether the interpolation format has alpha and only do
      different treatment in that case.
      buffer: generalize nohalo for components
      buffer: nohalo slight simplification
  3. 01 Oct, 2018 1 commit
  4. 27 Sep, 2018 1 commit
  5. 11 Jul, 2018 1 commit
  6. 06 Jul, 2018 1 commit
  7. 23 Oct, 2017 3 commits
  8. 11 Oct, 2017 1 commit
    • Øyvind "pippin" Kolås's avatar
      gegl/buffer: remove mipmap code from nohalo · 0b0ecbb6
      Øyvind "pippin" Kolås authored
      This does the same modification that preceding commits did to lohalo, for
      sigificant downsampling this might result in sharper/aliased results, and maybe
      the user would be better of having chosen linear or cubic resamplers which use
      a box-filter for scaling down. A similar box-filter might at a later stage be
      integrated as a replacement for the mipmap using code that were in nohalo and
      This should fix bug #763557
  9. 23 Dec, 2016 1 commit
  10. 29 Jun, 2014 1 commit
  11. 19 Jun, 2014 1 commit
  12. 17 Jun, 2014 1 commit
    • Øyvind "pippin" Kolås's avatar
      sampler: make size of cache in sampler base class adaptive · de26038e
      Øyvind "pippin" Kolås authored
      Implement an adaptive caching policy; that meets the needs of affine
      transformations. Running averages are kept of x/y deltas as well as the
      magnitudes of the deltas of coordinates leading to cache misses.
      The initial rectangle used is a small one; subsequent rectangles have extents
      up to 64 pixels wide/tall; when tracked deltas are more diagonal than axis
      aligned smaller more square regions are tracked.
  13. 04 Mar, 2014 2 commits
  14. 07 Jan, 2013 1 commit
  15. 05 Jan, 2013 3 commits
  16. 02 Jan, 2013 1 commit
  17. 01 Jan, 2013 1 commit
  18. 31 Dec, 2012 1 commit
  19. 27 Dec, 2012 2 commits
  20. 22 Dec, 2012 8 commits
  21. 21 Dec, 2012 4 commits
  22. 20 Dec, 2012 3 commits