Hi Eloi,
Can you try to add also to disable tiling on clip:
dstClip->setSupportsTiles(false);
as it's done here:
https://github.com/tuttleofx/TuttleOFX/blob/develop/plugins/image/io/AudioVideo/src/reader/AVReaderPluginFactory.cpp#L96
À: "arnaud marcantoine" <
arnaud.ma...@free.fr>
Envoyé: Mardi 22 Août 2017 23:59:38
Objet: Re: [tuttleofx-dev] [OfxHost] tiling + thread disabling
Hi Arnaud,
Unfortunately, the proposed solution is not helping,
Here is a bit more log (my image size is 1931x1900):
Running 1 test case...
[2017-08-22 16:52:52.959746] [0x00005b50] [trace] [OFX to Gil] Row distance fr
om image 30896 bytes
[2017-08-22 16:52:52.960746] [0x00005b50] [trace] [OFX to Gil] Tile view, row
size = 30896
[2017-08-22 16:52:52.960746] [0x00005b50] [trace] [OFX to Gil] Tile is equal t
o the full view
[2017-08-22 16:52:52.962746] [0x00005b50] [trace] [OFX to Gil] Full view, row
size = 30896
[2017-08-22 16:52:52.967747] [0x00005b50] [trace] [OFX to Gil] Image orientati
on independant
[2017-08-22 16:52:52.968747] [0x00005b50] [trace] [OFX to Gil] Row distance fr
om image 30896 bytes
[2017-08-22 16:52:52.970748] [0x00005b50] [trace] [OFX to Gil] Tile view, row
size = 30896
[2017-08-22 16:52:52.971748] [0x00005b50] [trace] [OFX to Gil] Tile is equal t
o the full view
[2017-08-22 16:52:52.973748] [0x00005b50] [trace] [OFX to Gil] Full view, row
size = 30896
[2017-08-22 16:52:52.976749] [0x00005b50] [trace] [OFX to Gil] Image orientati
on independant
I put a std::cout of the procWindowRoW in my multiThreadProcessImages function, I am expecting only 4 lines, but it seems that there is a tiling + multithreading active:
procWindowRoW.x1: 0
procWindowRoW.x1: 0
procWindowRoW.x2: 1931
procWindowRoW.y1: 95
procWindowRoW.x1: 0
procWindowRoW.x2: 1931
procWindowRoW.y1: 570
procWindowRoW.y2: 665
procWindowRoW.x1: 0
procWindowRoW.x2: 1931
procWindowRoW.y1: 190
procWindowRoW.y2: 285
procWindowRoW.x1: 0
procWindowRoW.x2: 1931
procWindowRoW.y1: 1615procWindowRoW.x1: 0
procWindowRoW.x2: 1931
procWindowRoW.y1: 1425
procWindowRoW.y2: 1520
procWindowRoW.x1: 0
procWindowRoW.x2: 1931
procWindowRoW.y1: 1520
procWindowRoW.y2: 1615
Tell me if you want a code example reproducing the problem,
2017-08-22 16:21 GMT-05:00 <
arnaud.ma...@free.fr > :