1. 31 Oct, 2017 1 commit
    • Kenneth Moreland's avatar
      Update the diagnostics macros · ef7bdd67
      Kenneth Moreland authored
      The new version now uses variadic template macros to allow you to do
      printf-style messages. This is how I wanted it to begin with, but as I
      recall variadic templates were not supported on all compilers at the
      time I started IceT. At this point, I think they are supported on pretty
      much any compiler in the last 10 years.
      ef7bdd67
  2. 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
  3. 24 Jan, 2011 1 commit
    • Kenneth Moreland's avatar
      Compute actual buffer size in cc-composite. · 2df6a85f
      Kenneth Moreland authored
      The compress algorithms are responsible for recording the actual number
      of bytes used in storing the image data.  Since the compressed-compressed-
      composite writes out a compressed image, it also needs to record this
      value (ICET_IMAGE_ACTUAL_BUFFER_SIZE_INDEX).  I had forgotten to do this.
      2df6a85f
  4. 21 Jan, 2011 5 commits