[mythtv-commits] mythtv/master commit: 9cfa8a17a by Gavin Hurlbut (Beirdo)

MythTV noreply at mythtv.org
Tue Jan 3 08:43:24 UTC 2012


      Author:  Gavin Hurlbut <ghurlbut at mythtv.org>
 Change Date:  2012-01-03T00:42:48-08:00
   Push Date:  2012/01/03 00:43:13 -0800
  Repository:  mythtv
      Branch:  master
New Revision:  9cfa8a17a2c41b0cbe24110a65e9cf63193a3b64
   Changeset:  https://github.com/MythTV/mythtv/commit/9cfa8a17a

Log:

Make RAW image thumbnails much faster

Turns out that nearly all supported RAW image formats actually have embedded
JPG thumbnails in them.  Rather than decode to RAW then reencode, just load
the thumbnail from it if it's there.  Also, rotate the image based on the
EXIF orientation in the thumbnail.

Now creating a thumbnail from a supported RAW format takes avout 200ms instead
of 10-15s.

Refs #10185

Modified:

   mythplugins/configure
   mythplugins/mythgallery/dcrawplugin/dcrawformats.cpp
   mythplugins/mythgallery/dcrawplugin/dcrawhandler.cpp
   mythplugins/mythgallery/dcrawplugin/dcrawhandler.h
   mythplugins/mythgallery/dcrawplugin/dcrawplugin.h
   mythplugins/mythgallery/dcrawplugin/dcrawplugin.pro
   mythplugins/mythgallery/mythgallery/galleryutil.cpp
   mythplugins/mythgallery/mythgallery/galleryutil.h
   mythplugins/mythgallery/mythgallery/iconview.cpp
   mythplugins/mythgallery/mythgallery/thumbgenerator.cpp



More information about the mythtv-commits mailing list