[Bug 49331] New: RFE: MJPEG compression should be optimized to compress multiple images (by using abbreviated images)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue May 1 01:21:27 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=49331

             Bug #: 49331
           Summary: RFE: MJPEG compression should be optimized to compress
                    multiple images (by using abbreviated images)
    Classification: Unclassified
           Product: Spice
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: medium
         Component: server
        AssignedTo: spice-bugs at lists.freedesktop.org
        ReportedBy: ykaul at redhat.com


See http://www.jpegcameras.com/libjpeg/libjpeg-3.html#ss3.9 for exact details:
"A JPEG compression or decompression object can be reused to process multiple
images. This saves a small amount of time per image by eliminating the "create"
and "destroy" operations, but that isn't the real purpose of the feature.
Rather, reuse of an object provides support for abbreviated JPEG datastreams.
Object reuse can also simplify processing a series of images in a single input
or output file."

This is also interesting, perhaps we can use it: 
"In some cases you might want to compress an image using tables which are not
stored in the application, but are defined in an interchange or tables-only
file readable by the application. This can be done by setting up a JPEG
decompression object to read the specification file, then copying the tables
into your compression object. See jpeg_copy_critical_parameters() for an
example of copying quantization tables."

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the spice-bugs mailing list