D24976: Write FITS file on separate thread

Hy Murveit noreply at phabricator.kde.org
Sun Oct 27 04:11:52 GMT 2019


murveit created this revision.
murveit added a reviewer: mutlaqja.
Herald added a project: KDE Edu.
Herald added a subscriber: kde-edu.
murveit requested review of this revision.

REVISION SUMMARY
  When capturing images, previously once the capture was complete, images were written
  to disk, then read back, then displayed in the fits viewer (if enabled), and finally the
  next image could be captured. This delayed the next capture by a few seconds.
  With this change, the FITS data is displayed using (a copy of) the INDI blob
  sent to indiccd, a memory buffer, and the FITS data is written to disk on a separate thread,
  which does not block the next capture nor the display of the indi data.
  This was only implemented for FITS data. This change also involved some refactoring
  in the affected files.

REPOSITORY
  R321 KStars

BRANCH
  save-fits-in-thread (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D24976

AFFECTED FILES
  kstars/fitsviewer/fitsdata.cpp
  kstars/fitsviewer/fitsdata.h
  kstars/fitsviewer/fitstab.cpp
  kstars/fitsviewer/fitstab.h
  kstars/fitsviewer/fitsview.cpp
  kstars/fitsviewer/fitsview.h
  kstars/fitsviewer/fitsviewer.cpp
  kstars/fitsviewer/fitsviewer.h
  kstars/indi/indiccd.cpp
  kstars/indi/indiccd.h

To: murveit, mutlaqja
Cc: kde-edu, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20191027/f9c11ccc/attachment.html>


More information about the kde-edu mailing list