[Interest] Qt and OpenCL crash course
Paul Miller
paul at fxtech.com
Wed Mar 12 21:02:40 CET 2014
On 3/12/2014 2:48 PM, Jason H wrote:
> Thanks, I worry about code that hasn't been touched in over 3 years.
> That's a lifetime on the internet.
>
> Do you have experience with it?
> Does it play nice with Qt5?
Yeah, I played around with it a couple of years ago, but I ended up
writing my own OpenCL wrapper because my code needed to run separately
from Qt.
There are some really nice ideas in there though. I expect it should
work with Qt 5, maybe with a few minor alterations to some headers. At
the very least it should have some nice examples of how to use OpenCL
with Qt objects, such as QImage.
>
> Thanks!
>
> ------------------------------------------------------------------------
> *From:* Paul Miller <stelefx at gmail.com>
> *To:* interest at qt-project.org
> *Sent:* Wednesday, March 12, 2014 3:38 PM
> *Subject:* Re: [Interest] Qt and OpenCL crash course
>
> On 3/12/2014 2:08 PM, Jason H wrote:
>
> > I need to do some elementary graphics operations on QPixmap or QImage. I
> > can do these in Qt to some extent already. But for this latest project I
> > will be processing 4k resolution images.
> > My operations are:
> > Translate off origin
> > Rotate by an acute angle (around a point sometimes not in the image)
> > Pixel value normailzation
> >
> > To what extent does Qt support these operations in a hardware
> > accelerated manner? Or how hard is it for me to use the hardware to
> > produce those functions to inter-operate with Qt?
>
>
> Take a look at QtOpenCL: http://doc.qt.digia.com/opencl-snapshot/
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org <mailto:Interest at qt-project.org>
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
>
More information about the Interest
mailing list