[FFmpeg-devel] [PATCH] hack/proof of concept for openmp acceleration of yadif

Clément Bœsch ubitux at gmail.com
Tue Jan 24 10:52:04 CET 2012


On Sat, Jan 21, 2012 at 12:56:52PM +0100, Joakim Plate wrote:
> Just though i'd put it somewhere public. It's a very simple patch to
> parallelize yadif deinterlacing. Preferably it should be done using
> normal pthreads, but the threading code in ffmpeg seem geared to
> decoding and not filtering + this ended up so silly simple.
> 
> Had weird issues with openmp to start with, 100% usage on first
> decode, but then every following tries nicely distributed between
> cores.
> 

Pretty simple and neat; do you mind doing some benchmarks with -threads
auto? I suspect a potential slowdown if all the cpu are already in use.

[...]

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120124/ae954229/attachment.asc>


More information about the ffmpeg-devel mailing list