Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6354056

JPEGImageReader could be optimized

    Details

    • Subcomponent:
    • Introduced In Build:
      1.4
    • Introduced In Version:
    • Resolved In Build:
      b63
    • CPU:
      generic
    • OS:
      solaris_9

      Description

      In imageioJPEG.c, we read one scanline at a time, then copy the decoded data into
      a temporary buffer before stuffing it into the destination raster. That intermediate
      copy step is currently not as efficient as possible since it copies one byte at a
      time, but in the common case (where jpeg_read_scanlines() produces 3ByteRgb data)
      the component data is already ordered, so we could simply use memcpy() instead.

        Attachments

          Activity

            People

            • Assignee:
              campbell Christopher Campbell (Inactive)
              Reporter:
              campbell Christopher Campbell (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: