Namespaces
Variants
Actions
Revision as of 12:48, 21 May 2012 by galazzo (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

How to add multithread support to your Qt application

Jump to: navigation, search
Article Metadata

Tested with
Devices(s): Nokia C7-00, Nokia N8, Nokia N950

Article
Keywords: Thread, QThread, QRunnable,QThreadPool
Created: galazzo (21 May 2012)
Last edited: galazzo (21 May 2012)

Introduction

This article explains how to manage multithread into a mobile application. QHdrCamera will be used as showcase.

Showcase

QHdrCamera is a component component able to create High Dynamic Range images.
Basically to do that the component captures three photos at different exposure range mixing them using some algorithms. For further information, please referr to this article.

The capture image in sequence have to be faster than possible. Heach time the QML component will be asked to shot a frame it saves in a default path the captured image and after is ready to capture another frame.
At the end of the three image capturing process, the flow process need to load all three photo into memory for the raw image processing to produce our HDR image.
The loading process is very slow, expecially at resolution growing, due to the ( time of writing ) phone memory speed, so this has impacts the overall processing time.


Add categories below. Remove Category:Draft when the page is complete or near complete

338 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved