1. 10 May, 2011 1 commit
    • Nigel Tao's avatar
      image/jpeg: speed up decoding by inlining the clip function and · 4c1e1b81
      Nigel Tao authored
      writing the idct result directly to the image buffer instead of
      storing it in an intermediate d.blocks field.
      
      Writing to d.blocks was necessary when decoding to an image.RGBA image,
      but now that we decode to a ycbcr.YCbCr we can write each component
      directly to the image buffer.
      
      Crude "time ./6.out" scores to decode a specific 2592x1944 JPEG 20
      times show a 16% speed-up:
      
      BEFORE
      
      user	0m10.410s
      user	0m10.400s
      user	0m10.480s
      user	0m10.480s
      user	0m10.460s
      
      AFTER
      
      user	0m9.050s
      user	0m9.050s
      user	0m9.050s
      user	0m9.070s
      user	0m9.020s
      
      R=r
      CC=golang-dev
      https://golang.org/cl/4523052
      4c1e1b81
  2. 09 May, 2011 4 commits
  3. 08 May, 2011 6 commits
  4. 07 May, 2011 2 commits
  5. 06 May, 2011 5 commits
  6. 05 May, 2011 6 commits
  7. 04 May, 2011 7 commits
  8. 03 May, 2011 9 commits