I'm working with Qt and OpenCV. I use QtOpenGL Widgets and map opencv frames as textures on a glPlane, which is really fast and works great.
Now I wonder if I could improve performance even more by using QThreads. QThread has mapping and reducing features implemented. Therefore it should be possible to split opencv frames and let multiple Threads process the frames.
As Example: If my frame is 640x480 and I have 4 Threads available I would split the frame in 640x120 sized frames and pass one to each thread.
The Threads don't have shared data because every thread get it's own frame and at the end I just need to append the 4 frames or copy them into a new frame.
My Question is, do you think this will work and it will give me a boost in processing or is there a bottleneck elsewhere?