1. 06 Apr, 2011 1 commit
    • Kenneth Moreland's avatar
      When allocating a state buffer, stomp on memory in debug mode. · 150f2d30
      Kenneth Moreland authored
      There was this stupid hackish thing I was doing when grapping the image
      buffer storing the last render.  Instead of getting it by allocating
      the buffer again, store the pointer in a different state variable.  Now
      you only call allocate when you need a new buffer.
      
      With this change, you only call the state buffer allocate functions when
      you want a fresh buffer.  In debug mode, fill the values with 0xDC to
      make it more obvious when I create an error when reusing buffers.
      150f2d30
  2. 04 Apr, 2011 1 commit
  3. 02 Apr, 2011 2 commits
  4. 01 Apr, 2011 1 commit
  5. 30 Mar, 2011 2 commits
  6. 28 Mar, 2011 5 commits
  7. 24 Mar, 2011 4 commits
  8. 23 Mar, 2011 1 commit
  9. 22 Mar, 2011 2 commits
  10. 21 Mar, 2011 8 commits
  11. 14 Mar, 2011 8 commits
  12. 10 Mar, 2011 1 commit
  13. 09 Mar, 2011 3 commits
    • Kenneth Moreland's avatar
      38bd3b23
    • Kenneth Moreland's avatar
      Change run lengths from 16 bits to 32 bits. · f8f74ff1
      Kenneth Moreland authored
      I was using 16 bit run lengths to ensure that I never inflated images,
      even when pixels only took up 32 bits.  However, 16 bits limits the
      maximum size of the run lengths.  Thus, it inflated images (albiet by
      a small amount) in the average case when all pixels were averaged, and
      there is lots of code to break up the run lengths and copy pixels
      individually.
      
      This change means that some images can expand up to 50%, but only in
      cases that probably never happen.  The worst side effect of this
      change is that IceT must allocate this extra 50% in buffers just in
      case.  I could probably get around this by refusing to use run
      lengths of size 1.  However, that would again complicate code,
      especially in cases where you are copying active pixels (and hence
      have a special case of inserting background pixels).
      f8f74ff1
    • Kenneth Moreland's avatar
      Change DT_ identifiers to CCC_ in compressed-compressed composite. · 5f919a63
      Kenneth Moreland authored
      I just copied from the decompress template, so the DT abbrivation
      makes no sense.
      5f919a63
  14. 02 Mar, 2011 1 commit