On The Fly Framerate Super Resampler
learn_more wrote:
what do u want to do multithreaded?
So it's even faster if ya got quadcore etc.
FrooP wrote:
yeah but WHAT would be faster?
u would only gain by this if the resampling lags behind on the demoavi
I will multithread all of this :
for(i=0;id_name);
image=load_image(file_address,0);
for(y=0;yrgbGreen;
image_array[pixel_position+2]+=pixel_color->rgbBlue;
}
}
FreeImage_Unload(image);
printf(".");
}
for example, if i need to merge 20 frames, there is 20 threads
for(i=0;id_name);
image=load_image(file_address,0);
for(y=0;yrgbGreen;
image_array[pixel_position+2]+=pixel_color->rgbBlue;
}
}
FreeImage_Unload(image);
printf(".");
}
for example, if i need to merge 20 frames, there is 20 threads
ok, after some hours, multithreading works !
i converted with blur_frames = 20
without multithreading: 90 sec
with multithreading: 51 sec
i converted with blur_frames = 20
without multithreading: 90 sec
with multithreading: 51 sec
New release !
Change :
- Multithreading !!!
- Export format : bmp, png, jpg
- little "readme" file (need help for french --> english translation)
link : http://www.fuckingfrogs.fr/pierre/OTFFS ... -08-29.zip
edit : benchmark soon ...
Change :
- Multithreading !!!
- Export format : bmp, png, jpg
- little "readme" file (need help for french --> english translation)
link : http://www.fuckingfrogs.fr/pierre/OTFFS ... -08-29.zip
edit : benchmark soon ...
Little fix :
KoFFiE help me to use mutex, for multithreading.
It avoids data corruption.
link : http://www.fuckingfrogs.fr/pierre/OTFFS ... -08-30.zip
KoFFiE help me to use mutex, for multithreading.
It avoids data corruption.
link : http://www.fuckingfrogs.fr/pierre/OTFFS ... -08-30.zip
Some benchmarks :
Compare :
- No multithreading
- Multithreading 1 core
- Multithreading 2 cores
Convert 2000 jpg frames,1280x720,blur frames 20,BMP export
version 2008-08-27 (no multithreading)
average : 92 s
Version 2008-08-30 (multithreading) 1 core (affinity)
average : 89 s
Version 2008-08-30 (multithreading) 2 cores
average : 52 s
---------------------------------------------------------
Compare export to :
- bmp
- jpg
- png
Convert 2000 jpg frames,1280x720,blur frames 20
bmp
average : 49 s
size : 263 MB
jpg
average : 49 s
size : 22 MB
png
average : 63 s
size : 33 MB
little fix :
now supports space character in folder's names -_-
link : http://www.fuckingfrogs.fr/pierre/OTFFS ... -08-31.zip
now supports space character in folder's names -_-
link : http://www.fuckingfrogs.fr/pierre/OTFFS ... -08-31.zip
yeah, i was thinking about this problem
if somebody know how to do that ...
I use sprintf to create output file path
edit : found it
it's something like %08d
no time to do it currently (and test it)
if somebody know how to do that ...
I use sprintf to create output file path
edit : found it
it's something like %08d
no time to do it currently (and test it)
After Lebanese restaurant, new release !
Change :
- output filenames are now like : "00001234.jpg"
windows binaries : http://www.fuckingfrogs.fr/pierre/OTFFS ... -09-06.zip
source code : http://www.fuckingfrogs.fr/pierre/OTFFS ... source.zip
Change :
- output filenames are now like : "00001234.jpg"
windows binaries : http://www.fuckingfrogs.fr/pierre/OTFFS ... -09-06.zip
source code : http://www.fuckingfrogs.fr/pierre/OTFFS ... source.zip

